Module: check_mk
Branch: master
Commit: 0e69b0ec7d4bf51c24de9de36932a3e947eb9c7d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0e69b0ec7d4bf5…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Jun 5 15:28:22 2014 +0200
keepalive debugging: added more vars to change whitelist
---
modules/check_mk.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/modules/check_mk.py b/modules/check_mk.py
index 54d2b99..1a2129b 100755
--- a/modules/check_mk.py
+++ b/modules/check_mk.py
@@ -5395,7 +5395,10 @@ def copy_globals():
global_saved = {}
for varname, value in globals().items():
# Some global caches are allowed to change.
- if varname not in [ "g_service_description",
"g_multihost_checks", "g_check_table_cache",
"g_singlehost_checks", "total_check_outout" ] \
+ if varname not in [ "g_service_description",
"g_multihost_checks",
+ "g_check_table_cache",
"g_singlehost_checks",
+ "total_check_outout", "g_nodesof_cache",
+ "g_initial_times" ] \
and type(value).__name__ not in [ "function", "module",
"SRE_Pattern" ]:
global_saved[varname] = copy.copy(value)
return global_saved