Преглед изворни кода

Counter32 tag parsing added

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@250 f882894a-f735-0410-b71e-b25c423dba1c
Subhendu Ghosh пре 23 година
родитељ
комит
1c359fe16f
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      plugins/check_snmp.c

+ 2 - 0
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