When a node doesn't have a primary IP address, the Geo Map displays "null" for the IP
Description
I've created a requisition like this:
As you can see, it has an IP address, but it is not going to be a SNMP-Primary interface (because I can't monitor through SNMP this node, which is a typical use case).
When you open the Geographical Maps in OpenNMS, I can see the mark on the proper location, and it points to the correct node, but the IP Address field says "null" (see the screenshot).
I think we should provide a very good default (or at least a simple one if the node has multiple IP addresses) when it doesn't have a primary interface.
Acceptance / Success Criteria
None
Attachments
1
Lucidchart Diagrams
Activity
Show:
Donald Desloge September 22, 2014 at 2:42 PM
Added check to IP Address line in tooltip, if IP Address present display, otherwise don't display.
Alejandro Galue July 2, 2014 at 3:26 PM
Also, I think that if the maincontract field is not set, it should not be displayed (same thing should apply for the description).
Actually, we should add a property somewhere (maybe in opennms.properties) with a CSV list of asset fields we would like to see on the Pop-Up on the Geo Maps.
I've created a requisition like this:
As you can see, it has an IP address, but it is not going to be a SNMP-Primary interface (because I can't monitor through SNMP this node, which is a typical use case).
When you open the Geographical Maps in OpenNMS, I can see the mark on the proper location, and it points to the correct node, but the IP Address field says "null" (see the screenshot).
I think we should provide a very good default (or at least a simple one if the node has multiple IP addresses) when it doesn't have a primary interface.