Module: check_mk
Branch: master
Commit: d6c497c6697d4c3d8e362a8ef9a39104655ed571
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d6c497c6697d4c…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Thu Nov 16 11:25:13 2017 +0100
5254 Event console: Introduced syslog application placeholder which can be used in
rewriting events
When rewriting text, hostname or application for an event you can now use the new
placeholders
Message text regex match groups
<ul>
<li>MATCH_GROUPS_MESSAGE_1</li>
<li>MATCH_GROUPS_MESSAGE_2</li>
<li>MATCH_GROUPS_MESSAGE_n</li>
</ul>
Syslog application regex match groups
<ul>
<li>MATCH_GROUPS_SYSLOG_APPLICATION_1</li>
<li>MATCH_GROUPS_SYSLOG_APPLICATION_2</li>
<li>MATCH_GROUPS_SYSLOG_APPLICATION_n</li>
</ul>
Note:
The syslog application match groups are now also considered when canceling events.
The previous version did only check for identical create/canceling match groups in the
event message text.
Change-Id: Iad038310001363f7dff0e88fa46c5db559da1340
---
.werks/5254 | 32 +++++
bin/mkeventd | 332 ++++++++++++++++++++++++++++++++-----------
web/plugins/wato/mkeventd.py | 12 +-
3 files changed, 291 insertions(+), 85 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=d6c497c669…