check_multi

Apply plugin to multihomed host

Usage

check_multi -H host[,host[,host...]] -C reach|best|worst -p base plugin -o base plugin options

e.g. check_multi -H 10.10.1.23,10.10.2.23 -C best -p /opt/nagios/libexec/check_ping -o "-w 3000.0,80% -c 5000.0,100% -p 5" runs the check_ping plugin against 10.10.1.23 and 10.10.2.23; report the "best" result.


download code