[monitoring-plugins] check_snmp: fix push request 1173 for SNMP ...
Sven Nierlein <[email protected]> Tue, 8 Nov 2016 00:20:11 +0100 (CET)
| Newsgroups | gmane.network.nagios.cvs |
|---|---|
| Message-ID | <20161107232011.D00AF2008474__31488.1705948666$1478560843$gmane$org@orwell.monitoring-plugins.org> |
Module: monitoring-plugins
Branch: master
Commit: 3178c8c0ff18822a04fe01c749f3564887473eed
Author: Thomas Kurschel <[email protected]>
Committer: Sven Nierlein <[email protected]>
Date: Wed Aug 26 14:21:03 2015 +0200
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=3178c8c
check_snmp: fix push request 1173 for SNMP responses without datatype indicator
---
plugins/check_snmp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c
index da9638c..51cdc78 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;