No way to know the alarm type (as type 1, 2 or 3) from web UI

Description

If alarms pop up in OpenNMS you don't have any chance to see, if there is a possible resolution event.
But we have this information in the event definitions.

Take uei.opennms.org/nodes/nodeDown alert as an example. There is no information that the event uei.opennms.org/nodes/nodeUp could resolve this alarm.

Don't be curious, my nodeDown is a little bit modified to show more information that we need, but doesn't matter for this topic.

This is the default nodeDown event definition:
https://github.com/OpenNMS/opennms/blob/develop/opennms-base-assembly/src/main/filtered/etc/events/opennms.pollerd.events.xml#L353-L368

The counterpart to resolve/clear nodeDown is nodeUp:
https://github.com/OpenNMS/opennms/blob/develop/opennms-base-assembly/src/main/filtered/etc/events/opennms.pollerd.events.xml#L467-L480

With the information we have in nodeUp's event clear-key and alarm type we can perfectly find our that we have a possible resolution. See here: https://github.com/OpenNMS/opennms/blob/develop/opennms-base-assembly/src/main/filtered/etc/events/opennms.pollerd.events.xml#L479

The alarm page just have to show this information.

We could have a field like this which tells that there is an event that could resolve it (in this example uei.opennms.org/nodes/nodeUp) or if there is clear event.

Acceptance / Success Criteria

None

Attachments

2

Activity

Show:

Christian Pape January 24, 2023 at 9:29 AM

Merged.

Christian Pape January 18, 2023 at 12:58 PM

Please review:
* PR:

Fixed

Details

Assignee

Reporter

Labels

HB Grooming Date

HB Backlog Status

Components

Sprint

Fix versions

Affects versions

Priority

PagerDuty

Created July 29, 2022 at 6:59 AM
Updated January 24, 2023 at 9:29 AM
Resolved January 24, 2023 at 9:29 AM