Module: monitoring-plugins
    Branch: master
    Commit: 3178c8c0ff18822a04fe01c749f3564887473eed
    Author: Thomas Kurschel <t.kursc...@asphericon.com>
 Committer: Sven Nierlein <s...@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;
 

Reply via email to