Events shows interface 127.0.0.1

Description

The event for uei.opennms.org/internal/provisiond/nodeScanCompleted shows interface 127.0.0.1 regardless of the actual interface that the event uei.opennms.org/nodes/reinitializePrimarySnmpInterface was initialized on.

Also found uei.opennms.org/nodes/nodeDown and uei.opennms.org/internal/provisiond/nodeScanAborted.

I was able to verify the same results on the demo.opennms.org site.

Environment

System Details -------------- OpenNMS Version: 1.10.0 Java Version: 1.6.0_29 Sun Microsystems Inc. Java Virtual Machine: 20.4-b02 Sun Microsystems Inc. Operating System: Linux 2.6.18-274.17.1.el5xen amd64 Servlet Container: jetty/7.5.1.v20110908 (Servlet Spec 2.5) User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.66 Safari/535.11

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Jeff Gehlbach June 19, 2013 at 6:58 AM

– the field will be empty, as it should be in these situations since the events do not pertain to any IP interface.

Ravi Prakash June 18, 2013 at 6:41 PM

So with this fix, what would be displayed in UI?

Benjamin Reed June 18, 2013 at 4:20 PM

You are never going to believe what fixed this...

  • return InetAddress.getByName(dottedNotation);
    + return dottedNotation == null? null : InetAddress.getByName(dottedNotation);

Turns out the java InetAddress.getByName() call returns localhost when passed null. sigh

David Hustace June 12, 2013 at 3:15 PM

This is an NMS ticket. Are you asking for a "customer" fix on an issue in the community forums?

Nikhil Tambe June 12, 2013 at 2:36 PM

Can we get this fixed soon. Customer is complaining about the time its taking to resolve the issue.

Nikhil

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created March 10, 2012 at 1:26 PM
Updated January 27, 2017 at 4:21 PM
Resolved June 18, 2013 at 4:20 PM