Problem with executing commands...
Marc Powell
marc at ena.com
Fri Dec 12 17:26:24 CET 2003
-----Original Message-----
From: Patrick Ouellet [mailto:pouellet at microtecsecurite.com]
Sent: Fri 12/12/2003 9:58 AM
To: nagios-users at lists.sourceforge.net
Cc:
Subject: [Nagios-users] Problem with executing commands...
[snip]
Here is the logfile ...
[2003-12-12 11:05:43] Warning: Return code of 127 for check of service
'Ping DNS' on host 'dns' was out of bounds. Make sure the plugin you're
trying to run actually exists.
Can someone help me understand this error message??
<marc> -- This indicates that the plugin could not be found.
[snip]
# 'check-host-alive' command definition
define command{
command_name check-host-alive
command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80%
-c 5000.0,100% -p 1
}
Can someone also tell me what $USER1$ is ?
<marc> -- It is a macro that is found in resource.cfg. It should point to the location of your nagios plugins (libexec directory) --
# Sets $USER1$ to be the path to the plugins
$USER1$=/usr/local/nagios/libexec
--
Marc (sorry for the html email. OWA doesn't give me a choice).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20031212/7b06ace9/attachment.html>
More information about the Users
mailing list