We use cookies to ensure that we give you the best experience on our website.  Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

Werk #1148: Allow execution of actions when cancelling events

ComponentEvent Console
TitleAllow execution of actions when cancelling events
Date2014-08-28 14:31:27
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version1.2.5i6
LevelProminent Change
ClassNew Feature
CompatibilityCompatible - no manual interaction needed

The Event Console now allows to attach actions to the cancelling of events. This can for example be helpful if you have an action that opens a trouble ticket in an external system. When a cancelling event arrives you can have executed an action that also cancels the according trouble ticket.

When events are cancelled then several data fields of the event are being replaced with data from the new event before the action is being executed. That way relevant data from the new event is available in the action script. Also the event phase is being set to closed and the state is set to 0 OK. That way your action script can distinguish between a normal and a cancelling situation.

The following fields are taken from the new (i.e. cancelling) event:

  • The text
  • The time
  • The time of the last occurance
  • The syslog priority

All other fields are unchanged - including the original ID of the cancelled event.