Module: check_mk
Branch: master
Commit: 8eeb7d1172d09aa6fb4997932026a880470c8c12
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8eeb7d1172d09a…
Author: Marcel Schulte <ms(a)mathias-kettner.de>
Date: Mon Nov 7 08:28:54 2016 +0100
3938 FIX tactical overview: fixed wrong display of number of service problems when stale
services are available
When stale services where available number of "service problems" and
"service problems unhandled" where the same as stale services in tactical
overview snapin.
This has been fixed now.
---
.werks/3938 | 11 +++++++++++
ChangeLog | 1 +
web/plugins/sidebar/shipped.py | 2 +-
3 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/.werks/3938 b/.werks/3938
new file mode 100644
index 0000000..036e74d
--- /dev/null
+++ b/.werks/3938
@@ -0,0 +1,11 @@
+Title: tactical overview: fixed wrong display of number of service problems when stale
services are available
+Level: 1
+Component: multisite
+Compatible: compat
+Version: 1.4.0i2
+Date: 1478503370
+Class: fix
+
+When stale services where available number of "service problems" and
"service problems unhandled" where the same as stale services in tactical
overview snapin.
+This has been fixed now.
+
diff --git a/ChangeLog b/ChangeLog
index 9815b8b..b407499 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -62,6 +62,7 @@
* 3974 FIX: Sorting comments in hover menu of comments icon by time now
* 4040 FIX: Fix error in view about "No WATO folder ..." in case of host
imported via cmcdump...
* 4046 FIX: Repaired html rendering....
+ * 3938 FIX: tactical overview: fixed wrong display of number of service problems when
stale services are available...
WATO:
* 3915 User access times: New icon when never logged in; New column "last
seen"
diff --git a/web/plugins/sidebar/shipped.py b/web/plugins/sidebar/shipped.py
index 3230753..e93c2fa 100644
--- a/web/plugins/sidebar/shipped.py
+++ b/web/plugins/sidebar/shipped.py
@@ -729,7 +729,7 @@ def render_tactical_overview(extra_filter_headers="",
extra_url_variables=None):
for value, ty in [ (problems, "handled"), (unhandled_problems,
"unhandled") ]:
url = html.makeuri_contextless(row["views"][ty] +
extra_url_variables, filename="view.py")
html.open_td(class_=[td_class, "states prob" if value != 0 else
None])
- link(str(stales), url)
+ link(str(value), url)
html.close_td()
if td_class == 'col4':