Hi,
I am new in linux. Two days back I have installed Nagios on my linux (redhat) system and its working fine with other services but problem is only that i m getting following message on my mail and nagios web interface .
Host Status: DOWN (for 2d 17h 38m 2s)
Status Information: /bin/ping -n -U -w 10 -c 1 192.16.11.1
CRITICAL - Could not interpret output from ping command
My cgi.cfg file configuration -->
ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$
ANd My commands.cfg configuration —>
‘check_ping’ command definition
define command{
command_name check_ping
command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5
command_line $USER1$/check_ping -H $ARG1$ -w $ARG2$ -c $ARG3$ -p 5
command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1
}
Can anyone solve my problem and also let me know how can i change monitoring http service instead of ping and where i have to done changes.
Thanks in advance…
MAP 007