Module: check_mk
Branch: master
Commit: bd1959f7cce33b880bb4467449464e1faed88de9
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=bd1959f7cce33b…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Wed Feb 17 09:08:03 2016 +0100
#3187 notification view: new filter for log command via regex
---
.werks/3187 | 9 +++++++++
ChangeLog | 1 +
web/plugins/visuals/filters.py | 1 +
3 files changed, 11 insertions(+)
diff --git a/.werks/3187 b/.werks/3187
new file mode 100644
index 0000000..b56c68a
--- /dev/null
+++ b/.werks/3187
@@ -0,0 +1,9 @@
+Title: notification view: new filter for log command via regex
+Level: 1
+Component: multisite
+Compatible: compat
+Version: 1.2.9i1
+Date: 1455696400
+Class: feature
+
+
diff --git a/ChangeLog b/ChangeLog
index 388e42d..6a3ec05 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -28,6 +28,7 @@
NOTE: Please refer to the migration notes!
Multisite:
+ * 3187 notification view: new filter for log command via regex
* 3059 FIX: Fixed highlighting of availability timeline time slices
* 3175 FIX: Fix timeranges of graphs that are embedded in a dashboard...
* 3076 FIX: fixed broken views in check_mk raw edition
diff --git a/web/plugins/visuals/filters.py b/web/plugins/visuals/filters.py
index d6dfdfa..8d6b34a 100644
--- a/web/plugins/visuals/filters.py
+++ b/web/plugins/visuals/filters.py
@@ -875,6 +875,7 @@ declare_filter(204, FilterText("log_state_type",
_("Log: state type"), "log"
declare_filter(260, FilterText("log_contact_name", _("Log: contact name
(exact match)"), "log", "log_contact_name",
"log_contact_name", "="),
_("Exact match, used for linking"))
declare_filter(261, FilterText("log_contact_name_regex", _("Log: contact
name"), "log", "log_contact_name",
"log_contact_name_regex", "~~", negateable=True))
+declare_filter(262, FilterText("log_command_name_regex", _("Log:
command"), "log", "log_command_name",
"log_command_name_regex", "~~", negateable=True))
class FilterLogState(Filter):
def __init__(self):