Hi,
we recently upgraded our nagios-plugins from version 1.5 to version 2.2.1 and we noticed some difference on check_ping plugin when host is down
on version 1.5
check_ping -H 'ipaddress' -w 3000.0,80% -c 5000.0,100% -p 5 -t 10
PING CRITICAL - Packet loss = 100%|rta=5000.000000ms;3000.000000;5000.000000;0.000000 pl=100%;80;100;0
on version 2.2,1
check_ping -H 'ipaddress' -w 3000.0,80% -c 5000.0,100% -p 5 -t 10
CRITICAL - Plugin timed out
Any comments on this issue?
Thanks!
check_ping version 2.2.1 Plugin Timeout
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: check_ping version 2.2.1 Plugin Timeout
This actually is fixing an issue with the previous version.
If you are sending 5 packets and waiting several seconds for each packet, a timeout of 10 should exit BEFORE it can continue to check all 5 times, which is what it is doing.
If you are sending 5 packets and waiting several seconds for each packet, a timeout of 10 should exit BEFORE it can continue to check all 5 times, which is what it is doing.