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

nodeDeleted event should contain more information

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 23.0.2
    • Fix Version/s: 27.0.0
    • Component/s: None
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Epic Link:
    • Sprint:
      Horizon 2020 - Sept 2-16, Horizon 2020 - Sept 16-30
    • HB Backlog Status:
      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

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

                Dates

                Created:
                Updated:
                Resolved:
                HB Grooming Date:

                  Git Integration