Module: check_mk
Branch: master
Commit: f325acedac47631f82975cd5198c800baaa53cc8
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f325acedac4763…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Nov 15 15:50:26 2011 +0100
FIX: Fix links to downtime service in dashboard
---
ChangeLog | 1 +
web/htdocs/dashboard.py | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 55ac658..00e3515 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -73,6 +73,7 @@
* FIX: Remove WATO Folder filter if WATO is disabled
* FIX: Snapin 'Performance': fix text align for numbers
* FIX: Disallow settings downtimes that end in the past
+ * FIX: Fix links to downtime services in dashboard
1.1.12p1:
Core, Setup, etc.:
diff --git a/web/htdocs/dashboard.py b/web/htdocs/dashboard.py
index 2739242..9763f24 100644
--- a/web/htdocs/dashboard.py
+++ b/web/htdocs/dashboard.py
@@ -478,13 +478,13 @@ def dashlet_servicestats():
"StatsAnd: 5\n"),
( _("in downtime"), "#0af",
- "searchsvc&hst0=on&is_in_downtime=1",
+ "searchsvc&is_in_downtime=1",
"Stats: scheduled_downtime_depth > 0\n" \
"Stats: host_scheduled_downtime_depth > 0\n" \
"StatsOr: 2\n"),
( _("on down host"), "#048",
- "searchsvc&hst1=on&hst2=on&hstp=on",
+ "searchsvc&hst1=on&hst2=on&hstp=on&is_in_downtime=0",
"Stats: scheduled_downtime_depth = 0\n" \
"Stats: host_scheduled_downtime_depth = 0\n" \
"Stats: host_state != 0\n" \