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

Fix example configuration for Scriptd

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: Meridian-2020.1.6, 27.1.1
    • Fix Version/s: 28.1.1
    • Component/s: None
    • Security Level: Default (Default Security Scheme)
    • Labels:
    • HB Backlog Status:
      NB

      Description

      Due to the introduction of immutable events, users have to refactor their Scriptd code as they now receive org.opennms.netmgt.events.api.model.IEvent instead of org.opennms.netmgt.xml.event.Event.

      For this reason, the sample code in the /opt/opennms/etc/examples directory for Scriptd is broken and should be fixed.

      I'm attaching the fixed version of the configuration files (tested in 27.1.1).

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                HB Grooming Date:

                  Git Integration