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

nodeDeleted event should contain more information

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • 23.0.2
    • 27.0.0
    • None
    • Security Level: Default (Default Security Scheme)
    • None
    • Horizon 2020 - Sept 2-16, Horizon 2020 - Sept 16-30
    • Backlog

    Description

      The event is not useful in its current state.

      It should contain more information like:

      • foreignId
      • nodeLabel
      • ipaddr
      • location

      Edit:

      I've tested the variables below in a nodeDeleted event and no one resolved a value. I guess the values are not known any more because ONMS deletes first and then creates the event.

      %nodelabel%
      %interface%
      %location% 
      %foreignid%
      %foreignsource%
      

      Here an example how the new content could look like:

      LogMsg:
      Node %nodelabel% was deleted

      Description:
      %nodelabel% in location %location% was deleted from requisition %foreignsource%.
      This can have multiple reasons.
      OpenNMS default config will delete any node that is down for seven consecutive days
      It was removed from the corresponding requisition /opennms/admin/ng-requisitions/index.jsp#/requisitions/%foreignsource%. This can be done manually using the web ui or using provisiond import schedules.
      It was manually deleted using the "delete node" /opennms/admin/deleteNodes menu.
      It was removed using the API

      Operator Instructions:
      Please verify if the deletion was planned.

      Attachments

        Issue Links

          Activity

            People

              cpape Christian Pape
              fuhrmann Marcel Fuhrmann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: