Module: check_mk
Branch: master
Commit: 0d953421e3ae4deb4f479ec0d87e0f686757f263
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0d953421e3ae4d…
Author: Sebastian Herbord <sh(a)mathias-kettner.de>
Date: Tue Sep 29 10:03:31 2015 +0200
clarified how the ec handles cancel texts with fewer match groups than the initial
message
---
mkeventd/web/plugins/wato/mkeventd.py | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/mkeventd/web/plugins/wato/mkeventd.py
b/mkeventd/web/plugins/wato/mkeventd.py
index 1a94b35..aa710cd 100644
--- a/mkeventd/web/plugins/wato/mkeventd.py
+++ b/mkeventd/web/plugins/wato/mkeventd.py
@@ -640,9 +640,12 @@ vs_mkeventd_rule = Dictionary(
),
( "match_ok",
RegExpUnicode(
- title = _("Text to cancel event"),
- help = _("If a matching message appears with this text, then an event
created "
- "by this rule will automatically be cancelled (if host,
application and match groups match). "),
+ title = _("Text to cancel event(s)"),
+ help = _("If a matching message appears with this text, then events
created "
+ "by this rule will automatically be cancelled if host,
application and match groups match. "
+ "If this expression has fewer match groups than \"Text to
match\", "
+ "it will cancel all events where the specified groups match the
same number "
+ "of groups in the initial text, starting from the
left."),
size = 64,
)
),