Check_Host_Alive timed out [FIXED]
Re: Check_Host_Alive timed out
The funny thing is that i can monitor the virtual machines on the host but not the host itself...
Re: Check_Host_Alive timed out
Has the host ever been able to be monitored and this problem just started, or has it never been able to be monitored?
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Re: Check_Host_Alive timed out
It worked for some days and suddenly during the day (without any restart or config-change) the host has gone "offline" and never came back up.
Re: Check_Host_Alive timed out
You've stumped me. I got nothing. I'm going to think about this as I burn some hamburgers and drink some micro brews.
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Check_Host_Alive timed out
Have you tried rebooting the Nagios server? I always like a fresh boot when troubleshooting odd problems.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Check_Host_Alive timed out
Hi,
I got your difference between the nagios check and your manual check.
maybe there is an error in your host-config file?
I got your difference between the nagios check and your manual check.
--> you use the IP-Address here# '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
}
--> you use the hostname here[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
--> hostname too[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
maybe there is an error in your host-config file?
There are 10 kinds of people on world,
those who understand binary and those who don't.
those who understand binary and those who don't.
Re: Check_Host_Alive timed out
@Box293
Do you mean restarting the nagios deamon or the complete server? I did a restart on the nagios deamon which didn't work. Unfortunately I can't restart the machine because it hosts a lot more services than the nagios so I have to try this sometime
@V3xX
Manual test works fine with Hostname and IP
[nagios@kwapp001 ~]$ /usr/lib64/nagios/plugins/check_ping -H 192.168.34.176 -w 3000.0,80% -c 5000.0,100% -p 5
PING OK - Packet loss = 0%, RTA = 0.41 ms|rta=0.415000ms;3000.000000;5000.000000;0.000000 pl=0%;80;100;0
[nagios@kwapp001 ~]$ /usr/lib64/nagios/plugins/check_ping -H vmware001 -w 3000.0,80% -c 5000.0,100% -p 5
PING OK - Packet loss = 0%, RTA = 0.36 ms|rta=0.357000ms;3000.000000;5000.000000;0.000000 pl=0%;80;100;0
the config also contains the IP
define host{
use generic-hosts
host_name vmware001
alias VMWARE001
address 192.198.34.176
}
Do you mean restarting the nagios deamon or the complete server? I did a restart on the nagios deamon which didn't work. Unfortunately I can't restart the machine because it hosts a lot more services than the nagios so I have to try this sometime
@V3xX
Manual test works fine with Hostname and IP
[nagios@kwapp001 ~]$ /usr/lib64/nagios/plugins/check_ping -H 192.168.34.176 -w 3000.0,80% -c 5000.0,100% -p 5
PING OK - Packet loss = 0%, RTA = 0.41 ms|rta=0.415000ms;3000.000000;5000.000000;0.000000 pl=0%;80;100;0
[nagios@kwapp001 ~]$ /usr/lib64/nagios/plugins/check_ping -H vmware001 -w 3000.0,80% -c 5000.0,100% -p 5
PING OK - Packet loss = 0%, RTA = 0.36 ms|rta=0.357000ms;3000.000000;5000.000000;0.000000 pl=0%;80;100;0
the config also contains the IP
define host{
use generic-hosts
host_name vmware001
alias VMWARE001
address 192.198.34.176
}
Re: Check_Host_Alive timed out
hi,
if this was copy and paste from host config, i found your error:
if this was copy and paste from host config, i found your error:
define host{
use generic-hosts
host_name vmware001
alias VMWARE001
address 192.198.34.176
}
There are 10 kinds of people on world,
those who understand binary and those who don't.
those who understand binary and those who don't.
Re: Check_Host_Alive timed out
Nice job. Funny how you miss the simple stuff.if this was copy and paste from host config, i found your error:
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Re: Check_Host_Alive timed out
Realy!?! Just a typo?!?!?
Thank you all for your help.
Thank you all for your help.