Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-4712

Add the possibility to modify eventparms (as text) from Vacuumd

    XMLWordPrintable

    Details

      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.

        Attachments

          Activity

            People

            • Assignee:
              agalue Alejandro Galue
              Reporter:
              agalue Alejandro Galue
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: