[Nagiosplug-checkins] CVS: nagiosplug/plugins check_snmp.c,1.21,1.22
Subhendu Ghosh
sghosh at users.sourceforge.net
Thu Jan 16 21:38:02 CET 2003
Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv28623
Modified Files:
check_snmp.c
Log Message:
Counter32 tag parsing added
Index: check_snmp.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_snmp.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -r1.21 -r1.22
*** check_snmp.c 13 Jan 2003 12:15:16 -0000 1.21
--- check_snmp.c 17 Jan 2003 05:37:22 -0000 1.22
***************
*** 298,301 ****
--- 298,303 ----
else if (strstr (response, "Gauge32: "))
show = strstr (response, "Gauge32: ") + 9;
+ else if (strstr (response, "Counter32: "))
+ show = strstr (response, "Counter32: ") + 11;
else if (strstr (response, "INTEGER: "))
show = strstr (response, "INTEGER: ") + 9;
More information about the Commits
mailing list