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?