Module: check_mk
Branch: master
Commit: 7afc637cb8195f7091f6560110a3f965615683fa
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7afc637cb8195f…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Dec 16 14:56:46 2011 +0100
FIX: add notifications to host/service event view
---
ChangeLog | 1 +
web/plugins/views/datasources.py | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index c99cd86..0a66111 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -108,6 +108,7 @@
* FIX: single dataset layout honors column header settings
* FIX: quote '#' in PNP links (when # is contained in services)
* FIX: quote '#' in PNP image links also
+ * FIX: add notifications to host/service event view
Checks & Agents:
* FIX: lnx_if: assume interfaces as up if ethtool is missing or
diff --git a/web/plugins/views/datasources.py b/web/plugins/views/datasources.py
index 7ff4547..fc6eae2 100644
--- a/web/plugins/views/datasources.py
+++ b/web/plugins/views/datasources.py
@@ -139,7 +139,7 @@ multisite_datasources["log"] = {
multisite_datasources["log_events"] = {
"title" : _("Host and Service Events"),
"table" : "log",
- "add_headers" : "Filter: class = 1\n",
+ "add_headers" : "Filter: class = 1\nFilter: class = 3\nOr: 2\n",
"infos" : [ "log", "host", "service"
],
"keys" : [],
"idkeys" : [ "log_lineno" ],
@@ -148,7 +148,7 @@ multisite_datasources["log_events"] = {
multisite_datasources["log_host_events"] = {
"title" : _("Host Events"),
"table" : "log",
- "add_headers" : "Filter: class = 1\nFilter: service_description =
\n",
+ "add_headers" : "Filter: class = 1\nFilter: class = 3\nOr: 2\nFilter:
service_description = \n",
"infos" : [ "log", "host" ],
"keys" : [],
"idkeys" : [ "log_lineno" ],