Module: check_mk
Branch: master
Commit: 344d23fdb57876904332fe896d03fb1105a2b18d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=344d23fdb57876…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Apr 21 11:01:26 2015 +0200
#2180 FIX cmk -D showed always "bulkwalk: no" for SNMPv3 hosts (which is wrong)
When using SNMPv3 to query hosts Check_MK is always using bulkwalks, cmk -D [hostname]
did not show display this behaviour correctly. It only showed "yes" when the
host
was configured as "bulkwalk host".
---
.werks/2180 | 11 +++++++++++
ChangeLog | 1 +
modules/check_mk.py | 2 +-
3 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/.werks/2180 b/.werks/2180
new file mode 100644
index 0000000..1261272
--- /dev/null
+++ b/.werks/2180
@@ -0,0 +1,11 @@
+Title: cmk -D showed always "bulkwalk: no" for SNMPv3 hosts (which is wrong)
+Level: 1
+Component: core
+Compatible: compat
+Version: 1.2.7i1
+Date: 1429606780
+Class: fix
+
+When using SNMPv3 to query hosts Check_MK is always using bulkwalks, cmk -D [hostname]
+did not show display this behaviour correctly. It only showed "yes" when the
host
+was configured as "bulkwalk host".
diff --git a/ChangeLog b/ChangeLog
index 79cb1f5..10eceb9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -23,6 +23,7 @@
* 2093 FIX: Fixed handling of check_mk commandline parameter "-c"
* 2187 FIX: Avoid CLOSE_WAIT sockets for agent connection in case of timeouts...
* 2194 FIX: Avoid new discovered checks from being used without config reload
+ * 2180 FIX: cmk -D showed always "bulkwalk: no" for SNMPv3 hosts (which is
wrong)...
Checks & Agents:
* 1665 agent_netapp: New special agent for NetApp monitoring via Web-API...
diff --git a/modules/check_mk.py b/modules/check_mk.py
index 7035a17..7171263 100755
--- a/modules/check_mk.py
+++ b/modules/check_mk.py
@@ -4317,7 +4317,7 @@ def dump_host(hostname):
else:
cred = "credentials: '%s'" % ",
".join(credentials)
- if is_bulkwalk_host(hostname):
+ if is_snmpv3_host(hostname) or is_bulkwalk_host(hostname):
bulk = "yes"
else:
bulk = "no"