Code

Counter32 tag parsing added
authorSubhendu Ghosh <sghosh@users.sourceforge.net>
Fri, 17 Jan 2003 05:37:22 +0000 (05:37 +0000)
committerSubhendu Ghosh <sghosh@users.sourceforge.net>
Fri, 17 Jan 2003 05:37:22 +0000 (05:37 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@250 f882894a-f735-0410-b71e-b25c423dba1c

plugins/check_snmp.c

index b0059845358cbd19755a208462e16828759aadf9..83083a850f93c909ac1b3b52a8904a4b3235f354 100644 (file)
@@ -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