Event configuration should be able to match event parameters by key & value

Description

Using the event configuration it is currently possible to associate events with the corresponding configuration based on the event parameter index, and the event parameter values. This is useful for matching SNMP traps which send an ordered list of varbinds.

There are cases however where we would like to be able to match a named event parameter, as opposed to using the index.

For example, let's assume an event is sent with uei=linkStatus and the following parameters {'status': 'up', 'ifDescr': 'eth0'}. Using the event configuration we should be able to associate this event with a definition that has severity=Cleared iff status=up, and severity=Minor otherwise.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

David Smith December 19, 2018 at 2:43 PM

David Smith December 18, 2018 at 7:51 PM

While it is technically possible to have multiple values for params, multiple values cannot be matched by the event definition. Only the first instance of a param will be used for matching.

Fixed

Details

Assignee

Reporter

Labels

Components

Sprint

Fix versions

Priority

PagerDuty

Created November 21, 2018 at 2:16 PM
Updated December 21, 2018 at 1:01 AM
Resolved December 21, 2018 at 1:01 AM