Module: check_mk
Branch: master
Commit: 55dce37b26fd73877c8eacac19875dd6f72a2479
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=55dce37b26fd73…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Mar 25 08:22:20 2011 +0100
Call snmp(bulk)walk always with the option -Cc
---
ChangeLog | 2 ++
modules/check_mk.py | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index b5ee877..ed30b95 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,8 @@
CPU ressources)
* Agent simulation mode (for internal use and check development)
* Call snmpgetnext with the option -Cf (fixes some client errors)
+ * Call snmp(bulk)walk always with the option -Cc (fixes problems in some
+ cases where OIDs are missing)
Multisite:
* FIX: custom_style_sheet now also honored by sidebar
diff --git a/modules/check_mk.py b/modules/check_mk.py
index d80b9c9..ad6aaa0 100755
--- a/modules/check_mk.py
+++ b/modules/check_mk.py
@@ -519,7 +519,7 @@ def aggregated_service_name(hostname, servicedesc):
# options for authentication. This handles communities and
# authentication for SNMP V3. Also bulkwalk hosts
def snmp_walk_command(hostname):
- return snmp_base_command('walk', hostname)
+ return snmp_base_command('walk', hostname) + " -Cc"
# Constructs the basic snmp commands for a host with all important information
# like the commandname, SNMP version and credentials.