diff options
author | Subhendu Ghosh <sghosh@users.sourceforge.net> | 2003-01-17 05:37:22 +0000 |
---|---|---|
committer | Subhendu Ghosh <sghosh@users.sourceforge.net> | 2003-01-17 05:37:22 +0000 |
commit | 1c359fe16f08025253871c3616dfc76ea96b906b (patch) | |
tree | 8e0dee81e5e47b8e13cdfa47adc0deb82ef33c5b /plugins/check_snmp.c | |
parent | 3a04e399fd7aeeeb8c537fd83c52e32aa8670b4d (diff) | |
download | monitoring-plugins-1c359fe16f08025253871c3616dfc76ea96b906b.tar.gz |
Counter32 tag parsing added
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@250 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_snmp.c')
-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 b0059845..83083a85 100644 --- a/plugins/check_snmp.c +++ b/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 |