How to correctly use the plugin check_snmp?
zxp19821005
zxp19821005 at qq.com
Fri Sep 23 11:46:19 CEST 2016
Hello
I has read the article The check_snmp Plugin(https://www.monitoring-plugins.org/doc/man/check_snmp.html)for several times,but I have problems where using it.
When I used the plugin "check_snmp" to check a device,if the resault is "No Module",I want it send a critical。
The full command like this:
./check_snmp -H 10.10.10.10 -o .1.3.6.1.4.1.12345.17.1.3.1.0 --invert-search "No Module"
./check_snmp -H 10.10.10.10 -o .1.3.6.1.4.1.12345.17.1.3.1.0 --invert-search -s "No Module"
./check_snmp -H 10.10.10.10 -o .1.3.6.1.4.1.12345.17.1.3.1.0 -s --invert-search "No Module"
The resault is always like this:
SNMP OK - "No Module" |
So I wander to konw how to correctly use the plugin check_snmp?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20160923/c69517a1/attachment.html>
More information about the Devel
mailing list