aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Thomas Kurschel <t.kurschel@asphericon.com> 2015-08-26 14:21:03 +0200
committerGravatar Sven Nierlein <sven@nierlein.de> 2016-11-08 00:11:04 +0100
commit3178c8c0ff18822a04fe01c749f3564887473eed (patch)
treedc00eea86136e5327238c59ebc1957ed44e979b3
parent0dc65376126e65392cc8127cee819669c1966dbe (diff)
downloadmonitoring-plugins-3178c8c0ff18822a04fe01c749f3564887473eed.tar.gz
check_snmp: fix push request 1173 for SNMP responses without datatype indicator
-rw-r--r--plugins/check_snmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c
index da9638c4..51cdc781 100644
--- a/plugins/check_snmp.c
+++ b/plugins/check_snmp.c
@@ -461,7 +461,7 @@ main (int argc, char **argv)
show = strstr (response, "Timeticks: ");
}
else
- show = response + 3;
+ show = response;
iresult = STATE_DEPENDENT;