4
0
Эх сурвалжийг харах

OID type prefix patch [Patches-679403]

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@335 f882894a-f735-0410-b71e-b25c423dba1c
Subhendu Ghosh 23 жил өмнө
parent
commit
193533b9e3
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  1. 2 0
      plugins/check_snmp.c

+ 2 - 0
plugins/check_snmp.c

@@ -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;