Module: check_mk
Branch: master
Commit: 2fd3d927737af7078294d270d9e0ac8e85e63ec0
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2fd3d927737af7…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Oct 3 11:00:45 2013 +0200
FIX: check_mkevents now uses case insensitive host name matching
---
ChangeLog | 1 +
mkeventd/lib/check_mkevents | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 1e62fb4..c1f5e02 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -444,6 +444,7 @@
Event Console:
* FIX: apply rewriting of application/hostname also when cancelling events
+ * FIX: check_mkevents now uses case insensitive host name matching
1.2.2p2:
Core:
diff --git a/mkeventd/lib/check_mkevents b/mkeventd/lib/check_mkevents
index 7bf0ee4..0863273 100755
--- a/mkeventd/lib/check_mkevents
+++ b/mkeventd/lib/check_mkevents
@@ -71,7 +71,7 @@ except:
sys.exit(3)
q = "GET events\n" \
- "Filter: event_host = %s\n" % host_name
+ "Filter: event_host =~ %s\n" % host_name
if application:
q += "Filter: event_application ~~ %s\n" % application