Module: check_mk
Branch: master
Commit: c188dee5291570799e0eee5d2339aa9bd9c420af
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c188dee5291570…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Feb 7 08:49:34 2013 +0100
Added host filter for "last host state change" and "last host check"
---
.bugs/910 | 7 +++++--
ChangeLog | 1 +
web/plugins/views/filters.py | 3 +++
3 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/.bugs/910 b/.bugs/910
index 000777f..f1f4e79 100644
--- a/.bugs/910
+++ b/.bugs/910
@@ -1,9 +1,12 @@
Title: Distributed WATO - activate changes bad dialog handling
Component: wato
-State: open
+Class: bug
+State: done
Date: 2013-02-04 10:03:33
Targetversion: 1.2.2
-Class: bug
When having a change pending, clicking "sync & restart", the sync is done,
but no
restart is triggered. The restart has to be done again by clicking "restart".
+
+2013-02-07 08:38:52: changed state open -> done
+Just fixed this.
diff --git a/ChangeLog b/ChangeLog
index 968a874..c1d76f5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -39,6 +39,7 @@
* Added comment painter to notification related views
* Added compatibility code to use hashlib.md5() instead of md5.md5(), which
is deprecated in python > 2.5 to prevent warning messages in apache error log
+ * Added host filter for "last host state change" and "last host
check"
* FIX: Preventing autocomplete in password fields of "edit profile" dialog
BI:
diff --git a/web/plugins/views/filters.py b/web/plugins/views/filters.py
index 77be9ea..559cd43 100644
--- a/web/plugins/views/filters.py
+++ b/web/plugins/views/filters.py
@@ -460,6 +460,9 @@ class FilterTime(Filter):
declare_filter(250, FilterTime("service", "svc_last_state_change",
_("Last service state change"), "service_last_state_change"))
declare_filter(251, FilterTime("service", "svc_last_check",
_("Last service check"), "service_last_check"))
+declare_filter(250, FilterTime("host", "host_last_state_change",
_("Last host state change"), "host_last_state_change"))
+declare_filter(251, FilterTime("host", "host_last_check",
_("Last host check"), "host_last_check"))
+
# _
# | | ___ __ _
# | | / _ \ / _` |