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

Syslog messages missing nodelabel, location, and interface

    XMLWordPrintable

    Details

    • Sprint:
      Horizon 2021 - Aug 4 - 18
    • FD#:
      716

      Description

      Syslog event originated from a node in a remote location is missing fields nodelabel, location, and interface. Attached screenshot below.

       

      It appears that this happens when OpenNMS fails to perform RDNS to resolve the hostname to IP address and thereby not associating the syslog event to a node although the node is provisioned in the requisition. Verified that OpenNMS can only resolve the FQDN of the node and minion can resolve both FQDN and hostname.

      Check out the EventBuilder and SyslogMessage class for more info.

      https://github.com/OpenNMS/opennms/blob/8940495002c118d981fd8b4b9f213d460259bc0c/features/events/syslog/src/main/java/org/opennms/netmgt/syslogd/ConvertToEvent.java#L151

      https://github.com/OpenNMS/opennms/blob/8940495002c118d981fd8b4b9f213d460259bc0c/features/events/syslog/src/main/java/org/opennms/netmgt/syslogd/SyslogMessage.java#L273

       

        Attachments

          Activity

            People

            Assignee:
            cgorantla Chandra Gorantla
            Reporter:
            jylee JianYet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration