Code

OID type prefix patch [Patches-679403]
authorSubhendu Ghosh <sghosh@users.sourceforge.net>
Tue, 18 Feb 2003 04:04:09 +0000 (04:04 +0000)
committerSubhendu Ghosh <sghosh@users.sourceforge.net>
Tue, 18 Feb 2003 04:04:09 +0000 (04:04 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@335 f882894a-f735-0410-b71e-b25c423dba1c

plugins/check_snmp.c

index a4be11bc64c648b3e7baeeed326155eb000117f2..327ef8181ca710a1d12053b6dee9da8583568602 100644 (file)
@@ -301,6 +301,8 @@ main (int argc, char **argv)
                        show = strstr (response, "Counter32: ") + 11;
                else if (strstr (response, "INTEGER: "))
                        show = strstr (response, "INTEGER: ") + 9;
+               else if (strstr (response, "STRING: "))
+                       show = strstr (response, "STRING: ") + 8;
                else
                        show = response;
                p2 = show;