Module: check_mk
Branch: master
Commit: 23100edfa43290b706e6b4f67e51651d58061797
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=23100edfa43290…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Sep 26 23:25:30 2016 +0200
3737 FIX Fixed slow activation of changes due to loss of IP address cache
In some situations Check_MK would loose the cached IP addresses
in <tt>var/check_mk/ipaddresses.cache</tt>. The results in the
next activation of changes being very slow - depending on your
DNS. The problem seems to happen (especially) if you have activated
periodic service discovery with automatic activation of changes.
This has been fixed.
---
.werks/3737 | 16 ++++++++++++++++
ChangeLog | 1 +
modules/check_mk.py | 1 -
3 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/.werks/3737 b/.werks/3737
new file mode 100644
index 0000000..1eb7161
--- /dev/null
+++ b/.werks/3737
@@ -0,0 +1,16 @@
+Title: Fixed slow activation of changes due to loss of IP address cache
+Level: 2
+Component: core
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.4.0i1
+Date: 1474925029
+
+In some situations Check_MK would loose the cached IP addresses
+in <tt>var/check_mk/ipaddresses.cache</tt>. The results in the
+next activation of changes being very slow - depending on your
+DNS. The problem seems to happen (especially) if you have activated
+periodic service discovery with automatic activation of changes.
+
+This has been fixed.
diff --git a/ChangeLog b/ChangeLog
index 4e24b70..1d5a1ea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -30,6 +30,7 @@
* 3843 FIX: Fixed reporting of crashes when using Nagios core
* 3846 FIX: Nagios: define_contactgroups = False is handled correctly again
* 3852 FIX: Host related files are now deleted during host deletion...
+ * 3737 FIX: Fixed slow activation of changes due to loss of IP address cache...
Checks & Agents:
* 3183 aruba_wlc_aps: new check which monitors the provisioned accesspoints of an
Aruba Network WLAN Controller
diff --git a/modules/check_mk.py b/modules/check_mk.py
index f7d8e53..f98a60f 100755
--- a/modules/check_mk.py
+++ b/modules/check_mk.py
@@ -2307,7 +2307,6 @@ def lookup_ip_address(hostname, family=None):
return cached_dns_lookup(hostname, family)
-g_global_caches.append('g_ip_lookup_cache')
def init_ip_lookup_cache():
global g_ip_lookup_cache
if g_ip_lookup_cache is None: