check_ping: Ignore ping(1)'s exit status
commit991054fa6e3d8b3288679ebfe6d84bcfe3ca5d20
authorHolger Weiss <holger@zedat.fu-berlin.de>
Sun, 24 Jun 2012 13:51:56 +0000 (24 15:51 +0200)
committerHolger Weiss <holger@zedat.fu-berlin.de>
Sun, 24 Jun 2012 13:51:56 +0000 (24 15:51 +0200)
tree3747a14f1f4af6f21afaa4a15dde02d676d7b3b3
parentd61a3056c598bf030e699a094671727f841eca8c
check_ping: Ignore ping(1)'s exit status

Don't return a WARNING state if the number of lost packets is greater
than zero but below the specified warning threshold.  This happened
because the check_ping plugin used the exit status of the ping(1)
utility.  (#3535140 - Tobias Brox)
THANKS.in
plugins/check_ping.c