diff options
| author | Subhendu Ghosh <sghosh@users.sourceforge.net> | 2003-02-18 04:04:09 +0000 |
|---|---|---|
| committer | Subhendu Ghosh <sghosh@users.sourceforge.net> | 2003-02-18 04:04:09 +0000 |
| commit | 193533b9e33a03a9ce4692062fa787d25ae5a45b (patch) | |
| tree | b02bef49d2d26395720654f15d3ddeeb6de802e8 | |
| parent | 773af31b84dda4732b1271ec87774479c384cf35 (diff) | |
| download | monitoring-plugins-193533b9e33a03a9ce4692062fa787d25ae5a45b.tar.gz | |
OID type prefix patch [Patches-679403]
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@335 f882894a-f735-0410-b71e-b25c423dba1c
| -rw-r--r-- | plugins/check_snmp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c index a4be11bc..327ef818 100644 --- a/plugins/check_snmp.c +++ b/plugins/check_snmp.c | |||
| @@ -301,6 +301,8 @@ main (int argc, char **argv) | |||
| 301 | show = strstr (response, "Counter32: ") + 11; | 301 | show = strstr (response, "Counter32: ") + 11; |
| 302 | else if (strstr (response, "INTEGER: ")) | 302 | else if (strstr (response, "INTEGER: ")) |
| 303 | show = strstr (response, "INTEGER: ") + 9; | 303 | show = strstr (response, "INTEGER: ") + 9; |
| 304 | else if (strstr (response, "STRING: ")) | ||
| 305 | show = strstr (response, "STRING: ") + 8; | ||
| 304 | else | 306 | else |
| 305 | show = response; | 307 | show = response; |
| 306 | p2 = show; | 308 | p2 = show; |
