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

Sven Nierlein <[email protected]> Tue, 8 Nov 2016 00:30:13 +0100 (CET)
Newsgroups gmane.network.nagios.cvs
Message-ID <20161107233013.2CB7B2008475__44579.8044129789$1478561451$gmane$org@orwell.monitoring-plugins.org>
 Module: monitoring-plugins
 Branch: master
 Commit: d9999194e6a801f9b8fecc7f5faa109f59b10648
 Author: Sven Nierlein <[email protected]>
   Date: Tue Nov  8 00:23:28 2016 +0100
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=d999919

Revert "check_snmp: fix push request 1173 for SNMP responses without datatype indicator"

This reverts commit 3178c8c0ff18822a04fe01c749f3564887473eed.

---

 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 51cdc78..da9638c 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;
+			show = response + 3;
 
 		iresult = STATE_DEPENDENT;