Module: check_mk
Branch: master
Commit: 6eeb0c1255e7f51368893287139a06b320e36303
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6eeb0c1255e7f5…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Mon May 18 17:41:10 2015 +0200
#2273 New multisite filter: Start of downtime
The existing filter "Time when downtime was created" did not show the
time when the downtime should actually start, but its creation time.
---
.werks/2273 | 10 ++++++++++
ChangeLog | 1 +
web/plugins/visuals/filters.py | 2 ++
3 files changed, 13 insertions(+)
diff --git a/.werks/2273 b/.werks/2273
new file mode 100644
index 0000000..5e707fd
--- /dev/null
+++ b/.werks/2273
@@ -0,0 +1,10 @@
+Title: New multisite filter: Start of downtime
+Level: 1
+Component: multisite
+Compatible: compat
+Version: 1.2.7i1
+Date: 1431963542
+Class: feature
+
+The existing filter "Time when downtime was created" did not show the
+time when the downtime should actually start, but its creation time.
diff --git a/ChangeLog b/ChangeLog
index fa42469..6d1ccd4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -387,6 +387,7 @@
* 2181 Admins can now delete views/dashboards/reports created by other users
* 2249 Builtin icon visibility can now be configured...
* 2228 New matrix views for displaying performance data of service in a matrix
table...
+ * 2273 New multisite filter: Start of downtime...
* 1781 FIX: Fix broken grouping by host/service group in availability
* 1783 FIX: Finish the view "History of Scheduled Downtimes"...
* 1206 FIX: Hostname not longer shown as column in host views
diff --git a/web/plugins/visuals/filters.py b/web/plugins/visuals/filters.py
index 1dc2404..a6bc303 100644
--- a/web/plugins/visuals/filters.py
+++ b/web/plugins/visuals/filters.py
@@ -691,6 +691,8 @@ declare_filter(251, FilterTime("host",
"host_last_check", _("Last host check"),
declare_filter(253, FilterTime("comment", "comment_entry_time",
_("Time of comment"), "comment_entry_time" ))
declare_filter(253, FilterTime("downtime", "downtime_entry_time",
_("Time when downtime was created"), "downtime_entry_time" ))
declare_filter(254, FilterText("downtime_comment", _("Downtime
comment"), "downtime", "downtime_comment",
"downtime_comment", "~"))
+declare_filter(255, FilterTime("downtime", "downtime_start_time",
_("Start of downtime"), "downtime_start_time" ))
+
# _
# | | ___ __ _
# | | / _ \ / _` |