Avoid creating tickets for cleared alarms

Description

It is possible that an alarm gets cleared/resolved between the time a "createTicket" event was triggered, and the time that the actual ticket gets created. This can lead to scenarios where tickets are created for cleared alarms.

We should provide an option (that works irrespective or the ticketer plugin used) that allows us to avoid creating tickets in these cases.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Jesse White November 18, 2016 at 9:18 AM

Here's a second PR that flips the default values, targeted for 19.0.0: https://github.com/OpenNMS/opennms/pull/1146

Jesse White November 16, 2016 at 3:48 PM
Edited

Once this makes it's way into develop I'll flip the default value to true.

David Hustace November 15, 2016 at 12:35 PM

I would definitely make the default = true.

Benjamin Reed November 15, 2016 at 11:48 AM

The patch looks pretty straightforward to me. Question for after the merge, does it make sense to make the default true in 19? (I suppose doing so would require a documentation "breaking change" addition...)

Jesse White November 14, 2016 at 9:31 AM

PR: https://github.com/OpenNMS/opennms/pull/1131

Both of these cases can now be addressed by setting the 'opennms.ticketer.skipCreateWhenCleared' and/or 'opennms.ticketer.skipCloseWhenNotCleared' system properties. These default to false.

Fixed

Details

Assignee

Reporter

Components

Sprint

Fix versions

Priority

PagerDuty

Created November 3, 2016 at 12:01 PM
Updated November 22, 2016 at 4:45 PM
Resolved November 22, 2016 at 7:30 AM