Module: check_mk
Branch: master
Commit: 4dd0ed635a2181078a046f2c1afe7310344bac91
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4dd0ed635a2181…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Sat Nov 6 11:16:48 2010 +0100
initialize bulkwalk_hosts with []
---
ChangeLog | 2 ++
modules/check_mk.py | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 34c5822..9a6f04f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,8 @@
instead (see docu)
* snmp_communites is now initialized with [], not with {}. It cannot
be a dict any longer.
+ * bulkwalk_hosts is now initizlized with []. You can do += here just
+ is with all other rule variables.
Core, Setup, etc.:
* Improve error handling: if hosts are monitored with SNMP *and* TCP,
diff --git a/modules/check_mk.py b/modules/check_mk.py
index cf8ebc2..8da1029 100755
--- a/modules/check_mk.py
+++ b/modules/check_mk.py
@@ -246,7 +246,7 @@ check_parameters = []
legacy_checks = []
all_hosts = []
snmp_hosts = [ (['snmp'], ALL_HOSTS) ]
-bulkwalk_hosts = None
+bulkwalk_hosts = []
usewalk_hosts = []
ignored_checktypes = [] # exclude from inventory
ignored_services = [] # exclude from inventory