Closed GanimanSwift closed 3 years ago
If a nodeRegainedService
is generated and the original nodeLostService
has already been cleared/deleted, then a new alarm will be created with type=2
and severity=NORMAL
.
We should also consider the alarm type when settings the PD event type: https://github.com/OpenNMS/opennms-pagerduty-plugin/blob/v0.1.2/plugin/src/main/java/org/opennms/integrations/pagerduty/PagerDutyForwarder.java#L201
However we'll need to guard against null values: https://issues.opennms.org/browse/NMS-12923
Fixed with https://github.com/OpenNMS/opennms-pagerduty-plugin/commit/454ab5c5c2a3dc61ecca6b91625cc29e87de6b1b
Needs to be running against system with patch for NMS-12923 to function properly.
We began testing the Pager Duty plugin and noticed the event_type seems incorrect when a nodeRegainedService event happens: