Search All Sites
Nagios Live WebinarsLet our experts show you how Nagios can help your organization.
Don't miss your chance to attend the 2014 Nagios World Conference, Oct 13-16th. Informative Sessions, Networking, Food and Cocktails! Visit go.nagios.com/conference/ for more information or to register.
-m, --min-paths Low mark, less paths per LUN are CRITICAL 
-o, --ok-paths High mark, less paths per LUN raise WARNING 
-n, --no-multipath Exitcode for no LUNs or no multipath driver [warning]
-r, --reload force devmap reload if status is WARNING or CRITICAL
Can help to pick up LUNs coming back to life.
-e, --extraconfig Specify different low/high thresholds for LUNs:
"[LUN],[LOW],[HIGH]:" for each LUN with deviant thresholds
Use option -v to see LUN names used by this plugin.
The state WARNING is raised if there was no data found for LUN/s in --extraconfig.
-l, --linebreak define end-of-line string:
REG regular UNIX-Newline
HTML br-Tag (HTML-Linebreak)
-other- use specified string as linebreak symbol, e.g. ', ' (all in one line, comma seperated)
-s, --state Prefix alerts with alert state
-S, --short-state Prefix alerts with alert state abbreviated
-h, --help Display this help text
-V, --version Display version info
-d, --di Run testcase instead of real check 
-t, --test Do not display testcase input, just result
System configuration for 'sudo' must allow the Nagios user to call the command 'multipath -l' (and also 'multipath -r' if you intend to use the --reload option) without password, unless you use NRPE.
Several testcases to are included in the script. They can be called by using the parameter --di with numerical values other than zero.
The additional Script 'TEST_check-multipath.pl' can be used for regression tests if you feel like editing the plugin.
This plugin was written by Hinnerk Rümenapf and is based on work by:
- Trond H. Amundsen [email@example.com]
- Gunther Schlegel [firstname.lastname@example.org]
- Matija Nalis [email@example.com]
Thanks to Bernd Zeimetz, Sven Anders, Kai Groshert, Ernest Beinrohr, Sébastien Maury, Benjamin von Mossner, Michal Svamberg and Ben Evans for testing and contributions and to Matthew Castanien and Ricardo Guijt for their comments.
SOFTWARE IS PROVIDED AS-IS, WITHOUT ANY WARRANTY