I’ve almost completed my upgrade from 1.2 to 1.3, its been a nightmare the only problem I now have is with the reporting back from a host ping or service ping.
When a host is online I get:
Ping
OK 01-20-2006 09:37:37 0d 0h 6m 33s 1/3 PING OK - Packet loss = 0%, RTA = 27.15 ms
Which is fine. But when a host is offline rather than getting a Ping warning with Packet loss=100% i get this below:
Ping
CRITICAL 01-20-2006 09:33:08 0d 17h 0m 22s 1/3 CRITICAL - Plugin timed out after 10 seconds
Is there anything in the configs that I need to change so that I get the right results not just something saying its timed out?
It’s at 1/3 perhaps due to being scheduled again for it’s normal check interval. If again it fails 3/3 it will remain in the HARD down state and continue to add time to the number showing how long it has been in that state. i.e. 17hours. That’s my take on it.
This is the output I get when a host will not ping.
CRITICAL - Host Unreachable (xxx.xxx.xxx.xx:evil:
I am using check_ping (nagios-plugins 1.4) 1.42
So perhaps, you need to download the latest CSV of the plugin, recompile it, and replace the one you are using now. Edited Thu Jan 19 2006, 11:33PM ]
Mine is the same, except -p is 2 and -t is left at default of 10. with your settings, you checks will take longer to perform, since you have 3 packets, but yours will be faster than default since that was set to -p 5. So I would only suggest to change your timeout back to default if you wanna conserve on time. If you get to many false positives, then change it back.