[Nagiosplug-help] check_snmp not processing -w, -c options

CHui chui at lbl.gov
Wed Dec 15 18:29:49 CET 2010


Since upgrade from plugins 1.4.13 to 1.4.15, check_snmp no longer check the
–w –c ranges. If the snmp agent was responding, check_snmp simply return
‘snmp OK’.  


Output from the older version 1.4.13:

/OLD/usr/local/libexec/nagios/check_snmp -V 
check_snmp v2021 (nagios-plugins 1.4.13) 

/OLD/usr/local/libexec/nagios/check_snmp -w :4294847296 -c 14476150: -C xxxx
-H 131.243.x.y -o 1.3.6.1.2.1.1.3.0 
SNMP CRITICAL - *1499089* | iso.3.6.1.2.1.1.3.0=1499089  


Output from v1.4.15:

/usr/local/libexec/nagios/check_snmp -V
check_snmp v (nagios-plugins 1.4.15)

/usr/local/libexec/nagios/check_snmp -w 1:10000  -C xxxx  -H 131.243.x.y -o
1.3.6.1.2.1.1.3.0
SNMP OK - Timeticks: (9379239) 1 day, 2:03:12.39 | 

/usr/local/libexec/nagios/check_snmp -w 10001:10000000  -C xxxx  -H
131.243.x.y -o 1.3.6.1.2.1.1.3.0 
SNMP OK - Timeticks: (9381125) 1 day, 2:03:31.25 | 

/usr/local/libexec/nagios/check_snmp -w 10000001:20000000  -C xxxx  -H
131.243.x.y -o 1.3.6.1.2.1.1.3.0 
SNMP OK - Timeticks: (9383505) 1 day, 2:03:55.05 |









More information about the Help mailing list