Module: check_mk
Branch: master
Commit: b90b48e38fb22dc5ed540f702120299ede14a033
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b90b48e38fb22d…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Nov 4 13:43:33 2011 +0100
Dashboard: fix link to downtime services
---
web/htdocs/dashboard.py | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/web/htdocs/dashboard.py b/web/htdocs/dashboard.py
index a1e0c20..a4ad616 100644
--- a/web/htdocs/dashboard.py
+++ b/web/htdocs/dashboard.py
@@ -447,7 +447,8 @@ def dashlet_servicestats():
"Stats: scheduled_downtime_depth = 0\n" \
"Stats: host_scheduled_downtime_depth = 0\n" \
"Stats: host_state = 0\n" \
- "StatsAnd: 4\n"),
+ "Stats: host_has_been_checked = 1\n" \
+ "StatsAnd: 5\n"),
( _("warning"), "#ff0",
"searchsvc&hst0=on&st1=on&is_in_downtime=0",
@@ -455,7 +456,8 @@ def dashlet_servicestats():
"Stats: scheduled_downtime_depth = 0\n" \
"Stats: host_scheduled_downtime_depth = 0\n" \
"Stats: host_state = 0\n" \
- "StatsAnd: 4\n"),
+ "Stats: host_has_been_checked = 1\n" \
+ "StatsAnd: 5\n"),
( _("unknown"), "#f80",
"searchsvc&hst0=on&st3=on&is_in_downtime=0",
@@ -463,7 +465,8 @@ def dashlet_servicestats():
"Stats: scheduled_downtime_depth = 0\n" \
"Stats: host_scheduled_downtime_depth = 0\n" \
"Stats: host_state = 0\n" \
- "StatsAnd: 4\n"),
+ "Stats: host_has_been_checked = 1\n" \
+ "StatsAnd: 5\n"),
( _("critical"), "#f00",
"searchsvc&hst0=on&st2=on&is_in_downtime=0",
@@ -471,10 +474,11 @@ def dashlet_servicestats():
"Stats: scheduled_downtime_depth = 0\n" \
"Stats: host_scheduled_downtime_depth = 0\n" \
"Stats: host_state = 0\n" \
- "StatsAnd: 4\n"),
+ "Stats: host_has_been_checked = 1\n" \
+ "StatsAnd: 5\n"),
( _("in downtime"), "#0af",
- "searchsvc&hst0=on&is_in_downtime=0",
+ "searchsvc&hst0=on&is_in_downtime=1",
"Stats: scheduled_downtime_depth > 0\n" \
"Stats: host_scheduled_downtime_depth > 0\n" \
"StatsOr: 2\n"),