Module: check_mk
Branch: master
Commit: 49782c6d531f15a1693738adb41f9113d0f78cfa
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=49782c6d531f15…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Mar 17 11:38:19 2017 +0100
4505 FIX Fixed broken links of logwatch and OMD * status services on services page
Change-Id: I8b4ddde73e996a797308b73645c345385f26d478
---
.werks/4505 | 10 ++++++++++
checks/omd_status | 1 -
web/htdocs/wato.py | 4 +++-
3 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/.werks/4505 b/.werks/4505
new file mode 100644
index 0000000..c80aa45
--- /dev/null
+++ b/.werks/4505
@@ -0,0 +1,10 @@
+Title: Fixed broken links of logwatch and OMD * status services on services page
+Level: 1
+Component: wato
+Compatible: compat
+Edition: cre
+Version: 1.5.0i1
+Date: 1489747076
+Class: fix
+
+
diff --git a/checks/omd_status b/checks/omd_status
index de163b8..1da1172 100644
--- a/checks/omd_status
+++ b/checks/omd_status
@@ -121,6 +121,5 @@ check_info["omd_status"] = {
'inventory_function' : inventory_omd_status,
'parse_function' : parse_omd_status,
'service_description' : 'OMD %s status',
- 'group' : 'omd_status',
'node_info' : True,
}
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 5b887d8..29073ad 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -3291,7 +3291,9 @@ class ModeDiscovery(WatoMode):
def _get_ruleset_name(self, check_source, check_type, checkgroup):
- if checkgroup:
+ if checkgroup == "logwatch":
+ return "logwatch_rules"
+ elif checkgroup:
return "checkgroup_parameters:" + checkgroup
elif check_source == "active":
return "active_checks:" + check_type