Răsfoiți Sursa

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 ani în urmă
părinte
comite
1c359fe16f
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  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