Search Exchange
Search All Sites
Login
check-multipath.pl
Current Version
0.1.9
Last Release Date
2013-03-06
Compatible With
- Nagios 3.x
Owner
E-mail
License
GPL
Hits
55612
Files:
| File | Description |
|---|---|
| check-multipath.pl | check-multipath.pl vs. 0.1.9 |
| TEST_check-multipath.pl | Check testcases against expected output vs. 0.1.9 |
Options:
-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
-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]
-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. ' ' (blank, all in one line)
-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:"
"oddLun,3,5:"
Use option -v to see LUN names used by this plugin.
-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' without password.
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 [t.h.amundsen@usit.uio.no]
- Gunther Schlegel [schlegel@riege.com]
- Matija Nalis [mnalis+debian@carnet.hr]
Thanks to Bernd Zeimetz, Sven Anders, Kai Groshert, Ernest Beinrohr and Sébastien Maury for testing and contributions and to Matthew Castanien and Ricardo Guijt for their comments.
SOFTWARE IS PROVIDED AS-IS, WITHOUT ANY WARRANTY
-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
-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]
-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. ' ' (blank, all in one line)
-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:"
"oddLun,3,5:"
Use option -v to see LUN names used by this plugin.
-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' without password.
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 [t.h.amundsen@usit.uio.no]
- Gunther Schlegel [schlegel@riege.com]
- Matija Nalis [mnalis+debian@carnet.hr]
Thanks to Bernd Zeimetz, Sven Anders, Kai Groshert, Ernest Beinrohr and Sébastien Maury for testing and contributions and to Matthew Castanien and Ricardo Guijt for their comments.
SOFTWARE IS PROVIDED AS-IS, WITHOUT ANY WARRANTY
Reviews (0)
Be the first to review this listing!


New Listings


