From: Subhendu Ghosh Date: Fri, 17 Jan 2003 05:37:22 +0000 (+0000) Subject: Counter32 tag parsing added X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1c359fe16f08025253871c3616dfc76ea96b906b;p=nagiosplug.git Counter32 tag parsing added git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@250 f882894a-f735-0410-b71e-b25c423dba1c --- diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c index b005984..83083a8 100644 --- a/plugins/check_snmp.c +++ b/plugins/check_snmp.c @@ -297,6 +297,8 @@ main (int argc, char **argv) show = strstr (response, "Gauge: ") + 7; 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; else