Module: check_mk
Branch: master
Commit: 4c220a703ac50729f639febf972cd20ab3a15e25
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4c220a703ac507…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Mar 25 08:18:21 2011 +0100
Call snmpgetnext with option -Cf
---
ChangeLog | 1 +
modules/check_mk.py | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 73c7ab3..b5ee877 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,7 @@
check result files instead of using Nagios command pipe (safes
CPU ressources)
* Agent simulation mode (for internal use and check development)
+ * Call snmpgetnext with the option -Cf (fixes some client errors)
Multisite:
* FIX: custom_style_sheet now also honored by sidebar
diff --git a/modules/check_mk.py b/modules/check_mk.py
index cec600a..d80b9c9 100755
--- a/modules/check_mk.py
+++ b/modules/check_mk.py
@@ -539,7 +539,7 @@ def snmp_base_command(what, hostname):
if what == 'get':
command = 'snmpget'
elif what == 'getnext':
- command = 'snmpgetnext'
+ command = 'snmpgetnext -Cf'
else:
command = 'snmpbulkwalk'