Module: monitoring-plugins
 Branch: master
 Commit: d9999194e6a801f9b8fecc7f5faa109f59b10648
 Author: Sven Nierlein <s...@nierlein.de>
   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;
 

Reply via email to