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@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@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,