Check_Host_Alive timed out [FIXED]
Posted: Thu Jul 03, 2014 6:41 am
Hi all,
I experience some problems with the check_host_alive command on a few machines.
I'm running Nagios Core 3.5.1 on a CentOS 6.5
# '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 5
}
Unfortunately I have 3 machines which are always "down" and in "Host Check Timed Out" Status. But when I run the command manually as Nagios-User it works fine, also a normal Ping is working
[nagios@kwapp001 ~]$ /usr/lib64/nagios/plugins/check_ping -H vmware001 -w 3000.0,80% -c 5000.0,100% -p 5 -4
PING OK - Packet loss = 0%, RTA = 0.40 ms|rta=0.400000ms;3000.000000;5000.000000;0.000000 pl=0%;80;100;0
[nagios@kwapp001 ~]$ /usr/lib64/nagios/plugins/check_ping -H vmware002 -w 3000.0,80% -c 5000.0,100% -p 5 -4
PING OK - Packet loss = 0%, RTA = 0.60 ms|rta=0.595000ms;3000.000000;5000.000000;0.000000 pl=0%;80;100;0
[nagios@kwapp001 ~]$ /usr/lib64/nagios/plugins/check_ping -H vcenter -w 3000.0,80% -c 5000.0,100% -p 5 -4
PING OK - Packet loss = 0%, RTA = 0.53 ms|rta=0.527000ms;3000.000000;5000.000000;0.000000 pl=0%;80;100;0
[nagios@kwapp001 ~]$ ping vmware001
PING vmware001 (192.168.34.176) 56(84) bytes of data.
64 bytes from vmware001 (192.168.34.176): icmp_seq=1 ttl=64 time=0.201 ms
64 bytes from vmware001 (192.168.34.176): icmp_seq=2 ttl=64 time=0.369 ms
64 bytes from vmware001 (192.168.34.176): icmp_seq=3 ttl=64 time=0.372 ms
I've already tried set the -t Parameter in my command.cfg but nothing changed.
Any ideas on this problem?
Thanks in advance
I experience some problems with the check_host_alive command on a few machines.
I'm running Nagios Core 3.5.1 on a CentOS 6.5
# '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 5
}
Unfortunately I have 3 machines which are always "down" and in "Host Check Timed Out" Status. But when I run the command manually as Nagios-User it works fine, also a normal Ping is working
[nagios@kwapp001 ~]$ /usr/lib64/nagios/plugins/check_ping -H vmware001 -w 3000.0,80% -c 5000.0,100% -p 5 -4
PING OK - Packet loss = 0%, RTA = 0.40 ms|rta=0.400000ms;3000.000000;5000.000000;0.000000 pl=0%;80;100;0
[nagios@kwapp001 ~]$ /usr/lib64/nagios/plugins/check_ping -H vmware002 -w 3000.0,80% -c 5000.0,100% -p 5 -4
PING OK - Packet loss = 0%, RTA = 0.60 ms|rta=0.595000ms;3000.000000;5000.000000;0.000000 pl=0%;80;100;0
[nagios@kwapp001 ~]$ /usr/lib64/nagios/plugins/check_ping -H vcenter -w 3000.0,80% -c 5000.0,100% -p 5 -4
PING OK - Packet loss = 0%, RTA = 0.53 ms|rta=0.527000ms;3000.000000;5000.000000;0.000000 pl=0%;80;100;0
[nagios@kwapp001 ~]$ ping vmware001
PING vmware001 (192.168.34.176) 56(84) bytes of data.
64 bytes from vmware001 (192.168.34.176): icmp_seq=1 ttl=64 time=0.201 ms
64 bytes from vmware001 (192.168.34.176): icmp_seq=2 ttl=64 time=0.369 ms
64 bytes from vmware001 (192.168.34.176): icmp_seq=3 ttl=64 time=0.372 ms
I've already tried set the -t Parameter in my command.cfg but nothing changed.
Any ideas on this problem?
Thanks in advance