[monitoring-plugins] check_snmp: fix push request 1173 for SNMP ...

Sven Nierlein git at monitoring-plugins.org
Tue Nov 8 00:20:11 CET 2016


    Module: monitoring-plugins
    Branch: master
    Commit: 3178c8c0ff18822a04fe01c749f3564887473eed
    Author: Thomas Kurschel <t.kurschel at asphericon.com>
 Committer: Sven Nierlein <sven at nierlein.de>
      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;
 



More information about the Commits mailing list