Module: check_mk
Branch: master
Commit: 893c84923610559944bf1661ab02bbdb130fdb2d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=893c8492361055…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Mar 31 10:34:41 2015 +0200
Added inline comment in mkevented
---
mkeventd/bin/mkeventd | 2 ++
1 file changed, 2 insertions(+)
diff --git a/mkeventd/bin/mkeventd b/mkeventd/bin/mkeventd
index ec65cea..8846616 100755
--- a/mkeventd/bin/mkeventd
+++ b/mkeventd/bin/mkeventd
@@ -2933,6 +2933,8 @@ class EventStatus():
event["priority"] = new_event["priority"]
log_event_history(event, "CANCELLED")
actions = rule.get("cancel_actions", [])
+ # TODO: Execute the cancelling actions only, if the event
+ # was open. Do not do this e.g. on delayed or counting.
do_event_actions(actions, event, is_cancelling = True)
to_delete.append(nr)