hirose31 / nagios-check_snmp-regexwarn
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
README.markdown | Wed May 27 19:55:42 -0700 2009 | |
| |
check_snmp.c | Tue Oct 13 02:05:14 -0700 2009 | |
| |
t/ | Mon May 25 21:48:56 -0700 2009 |
README.markdown
nagios-check_snmp-regexwarn
This is extended check_snmp plugin to return WARNING state if regular expression matches.
usage
provides -g (-G) option just like -r (-R) option.
example:
check_command check_snmp -P 1 -C public -H $HOSTADDRESS$ -o extOutput.1 -r OK -g VERYFY
return OK state if output string of extOutput.1 matches "OK". return WARNING state if output matches "VERIFY". return CRITICAL state if output does not match neither "OK" nor "VERIRY".
