summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 773af31)
raw | patch | inline | side by side (parent: 773af31)
author | Subhendu Ghosh <sghosh@users.sourceforge.net> | |
Tue, 18 Feb 2003 04:04:09 +0000 (04:04 +0000) | ||
committer | Subhendu 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 | patch | blob | history |
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c
index a4be11bc64c648b3e7baeeed326155eb000117f2..327ef8181ca710a1d12053b6dee9da8583568602 100644 (file)
--- a/plugins/check_snmp.c
+++ b/plugins/check_snmp.c
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;