Problem with executing commands...
Patrick Ouellet
pouellet at microtecsecurite.com
Fri Dec 12 16:58:52 CET 2003
I just finished setting up everything...
I have configured two hosts to check and one service
for each of them.
1st: DNS Server which I ping
2nd: Cisco router which I ping
Now Nagios report that my Router
is Down and that my DNS in unreachable.
( which is false since i can ping them manualy from my Nagios host )
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??
Here is the config for the DNS and all related files...
define host{
use tmpl_hosts
host_name dns
alias hostmaster
address hostmaster
parents gate-sta
check_command check-host-alive
}
# '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 ?
Thanx to everyone !
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Patrick Ouellet - pouellet at microtecsecurite.com
Administrateur des serveurs reseaux
Informatique - Poste 130
Microtec Technologies inc.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"First they ignore you. Then they laugh at you.
Then they fight you. Then you win."
-Mahatma Gandhi
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list