Module: check_mk
Branch: master
Commit: 58db0d7123458f04fb51fa27887989f59354fb2c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=58db0d7123458f…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Fri May 18 11:44:51 2018 +0200
Stylize pseudo-class a bit more.
Change-Id: I47fbf26ab34422ac3b221b2b2cad7ba529bea9e7
---
cmk/ec/history.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/cmk/ec/history.py b/cmk/ec/history.py
index 316cad6..17a8dbd 100644
--- a/cmk/ec/history.py
+++ b/cmk/ec/history.py
@@ -72,7 +72,7 @@ class History(object):
def housekeeping(self):
if self._config['archive_mode'] == 'mongodb':
- pass
+ _housekeeping_mongodb(self)
else:
_housekeeping_files(self)
@@ -114,6 +114,10 @@ def _reload_configuration_mongodb(history, config):
_update_mongodb_history_lifetime(history._settings, history._config,
history._mongodb)
+def _housekeeping_mongodb(history):
+ pass
+
+
def _connect_mongodb(settings, mongodb):
if Connection is None:
raise Exception('Could not initialize MongoDB (Python-Modules are
missing)')