Hi Matthias,
Thanks a lot, so good ;))
/usr/lib/nagios/plugins/check_multi -f pix.cmd -r 5 -t 20
CRITICAL - 3 plugins checked, 1 critical (pix2), 2 ok [please don't run
plugins as root!]
[ 1] pix1 OK - 1.2.3.4: rta 75,127ms, lost 0%
[ 2] pix2 CRITICAL - 1.2.3.5: rta nan, lost 100%
[ 3] pix3 O
Hi Stanislas,
the RC UNKNOWN and the message '[timeout encountered after 10s]' is not
from check_icmp, but from the check_multi child check timeout, which
also encountered after 10s. :)
To get sure which timeout actually is working, either specify another
timeout for check_icmp, or for check_mul
Hi,
I created a file with command and state : pix.cmd
command [ pix1 ] = check_icmp -H 1.2.3.4 -w 3000.0,80% -c 5000.0,100% -p 1
command [ pix2 ] = check_icmp -H 1.2.3.5 -w 3000.0,80% -c 5000.0,100% -p 1
command [ pix3 ] = check_icmp -H 1.2.3.6 -w 3000.0,80% -c 5000.0,100% -p 1
state [ OK ] = p