Module: check_mk
Branch: master
Commit: e7e204c18be5689fffc5a1b66baccf4d8ab24814
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e7e204c18be568…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Nov 22 09:01:38 2017 +0100
Fixed NameError after moving code
Change-Id: I5e1a1b0af4aa32e9014726e7b7b7809c9b8535a6
---
web/plugins/wato/bp_tests.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/web/plugins/wato/bp_tests.py b/web/plugins/wato/bp_tests.py
index 6455529..e8d00e3 100644
--- a/web/plugins/wato/bp_tests.py
+++ b/web/plugins/wato/bp_tests.py
@@ -74,6 +74,7 @@ class ACTestPersistentConnections(ACTest):
yield ACResultOK(_("Is not using persistent connections."))
+
class ACTestLiveproxyd(ACTest):
def category(self):
return "performance"
@@ -96,10 +97,10 @@ class ACTestLiveproxyd(ACTest):
def execute(self):
site_id = config.omd_site()
- if site_is_using_livestatus_proxy(site_id):
+ if watolib.site_is_using_livestatus_proxy(site_id):
yield ACResultOK(_("Site is using the Livestatus Proxy Daemon"))
- elif not is_wato_slave_site():
+ elif not watolib.is_wato_slave_site():
yield ACResultWARN(_("The Livestatus Proxy is not only good for slave
sites, "
"enable it for your master site"))