Module: check_mk
Branch: master
Commit: a8cf313facf1520c9d2d991071b65c24ebbaaa8b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a8cf313facf152…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri May 13 08:22:48 2016 +0200
3472 Service list of a host: Move section of vanished services to top of the page
The vanished services usually indicate a problem or invalid service configuration and
should be shown rather on the top of the page then after the long list of services.
---
.werks/3472 | 11 +++++++++++
ChangeLog | 1 +
web/htdocs/wato.py | 4 ++--
3 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/.werks/3472 b/.werks/3472
new file mode 100644
index 0000000..5e7f55e
--- /dev/null
+++ b/.werks/3472
@@ -0,0 +1,11 @@
+Title: Service list of a host: Move section of vanished services to top of the page
+Level: 2
+Component: wato
+Class: feature
+Compatible: compat
+State: unknown
+Version: 1.2.9i1
+Date: 1463120501
+
+The vanished services usually indicate a problem or invalid service configuration and
+should be shown rather on the top of the page then after the long list of services.
diff --git a/ChangeLog b/ChangeLog
index 50dde81..0f1cbcf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -298,6 +298,7 @@
* 3116 Timerange buttons for downtimes can now be configured...
* 3469 Show type of rule match of a rule (first, per-parameter, all) in WATO...
* 3130 periodic service discovery can now be configured to not activate specific
service changes...
+ * 3472 Service list of a host: Move section of vanished services to top of the
page...
* 3060 FIX: Folder properties: Fixed exception when a user has no alias set...
* 3062 FIX: Git integration: Fixed not adding files in WATO folders to git control
* 3203 FIX: Distributed WATO: Fixed exception in remote host service discovery...
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 881fd35..4e7518c 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -2771,10 +2771,10 @@ def show_service_table(host, firsttime):
divid = 0
for state_name, check_source, checkbox in [
( _("Available (missing) services"), "new", firsttime ),
- ( _("Already configured services"), "old", True, ),
( _("Obsolete services (being checked, but should be ignored)"),
"obsolete", True ), # Cannot happen anymore
- ( _("Disabled services (configured away by admin)"),
"ignored", None),
( _("Vanished services (checked, but no longer exist)"),
"vanished", True ),
+ ( _("Already configured services"), "old", True, ),
+ ( _("Disabled services (configured away by admin)"),
"ignored", None),
( _("Active checks"), "active", None ),
( _("Manual services (defined in main.mk)"), "manual", None
),
( _("Legacy services (defined in main.mk)"), "legacy", None
),