Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1


Remember Me
Don't miss your chance to attend the 2014 Nagios World conference!

Don't miss your chance to attend the 2014 Nagios World Conference, Oct 13-16th. Informative Sessions, Networking, Food and Cocktails! Visit for more information or to register.

Bookmark and Share

Current Version
Last Release Date
FileDescription vs 0.2.1
TEST_check-multipath.plCheck output against expected results vs. 0.2.1
Monitor number of available connection paths per LUN and failed paths for multipath devices on Linux.
-m, --min-paths Low mark, less paths per LUN are CRITICAL [2]
-o, --ok-paths High mark, less paths per LUN raise WARNING [4]
-n, --no-multipath Exitcode for no LUNs or no multipath driver [warning]

-r, --reload force devmap reload if status is WARNING or CRITICAL
(multipath -r)
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
e.g. "iscsi_lun,2,2:dummyLun,0,1:paranoid_lun,8,16:"
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
-v, --verbose

-d, --di Run testcase instead of real check [0]
-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 '' 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 []
- Gunther Schlegel []
- Matija Nalis []

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.