Module: check_mk
Branch: master
Commit: 888fb413a68f60ad5a9b5e58b443272f26e42f4a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=888fb413a68f60…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Feb 13 18:01:57 2013 +0100
mkeventd: Fixed replacing of contact information for events
---
mkeventd/bin/mkeventd | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/mkeventd/bin/mkeventd b/mkeventd/bin/mkeventd
index 1caae3c..6d4f314 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 and "contact" not in event:
+ if "set_contact" in rule:
event["contact"] = replace_groups(rule["set_contact"],
event.get("contact", ""), groups)
def parse_monitoring_info(self, line):