Module: check_mk
Branch: master
Commit: a6e4114960561d4463fb700381b406f6e35d10f6
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a6e4114960561d…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Feb 14 11:43:01 2013 +0100
Revert "mkeventd: Fixed replacing of contact information for events"
This reverts commit 888fb413a68f60ad5a9b5e58b443272f26e42f4a.
---
mkeventd/bin/mkeventd | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/mkeventd/bin/mkeventd b/mkeventd/bin/mkeventd
index ff872ac..7deaf5e 100755
--- a/mkeventd/bin/mkeventd
+++ b/mkeventd/bin/mkeventd
@@ -1396,7 +1396,7 @@ class EventServer:
event["comment"] = replace_groups(rule["set_comment"],
event.get("comment", ""), groups)
if "set_application" in rule:
event["application"] =
replace_groups(rule["set_application"], event["application"], groups)
- if "set_contact" in rule:
+ if "set_contact" in rule and "contact" not in event:
event["contact"] = replace_groups(rule["set_contact"],
event.get("contact", ""), groups)
def parse_monitoring_info(self, line):