Details
-
Type:
Enhancement
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.8.12, 1.9.8
-
Component/s: Alarms / Automations / Vacuumd, Thresholding
-
Security Level: Default (Default Security Scheme)
-
Labels:
Description
I've been working on a way to stop Notifd when it sends notifications for already triggered thresholds when someone restart OpenNMS.
I can solve it by adding an automation. But right now, it throws a BeansException exception related to EventBuilder.
The problem is that the Event Parameters are represented as text when using the event's table from the database, but are objects when using the Event class through EventBuilder.
The idea is to avoid BeansException when using the method setField from EventBuilder. So, if the field is "eventparms", the value will be properly parsed and every parameter will be added using the method addParam.