Question regarding the function of check-snmp plugin

Sam Shabani saam.shabani at yahoo.ca
Mon Nov 16 21:30:11 CET 2015


Hi Dear,
If the result of snmpget command was string , Could you please tell me how the check-snmp plugin works? It sounds that  the string convert to interger but  how does it find the integer parts of string ? 
The following is the output : [root at localhost tmp]# /usr/lib64/nagios/plugins/check_snmp -H IP_ADDRESS -o .1.3.6.1.4.1.2.3.51.2.2.3.1.0 -C public SNMP OK - "    56% of maximum" | [root at localhost tmp]# /usr/lib64/nagios/plugins/check_snmp -H IP_ADDRESS -o .1.3.6.1.4.1.2.3.51.2.2.3.1.0 -C public -w 50SNMP WARNING - *56* | iso.3.6.1.4.1.2.3.51.2.2.3.1.0=56;50;;


Thanks a lot ,sam, 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20151116/2ad37806/attachment.html>


More information about the Help mailing list