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

When a node doesn't have a primary IP address, the Geo Map displays "null" for the IP

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.12.8, 1.13.4
    • Fix Version/s: 14.0.0
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      I've created a requisition like this:

      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
      <model-import date-stamp="2014-07-02T14:37:25.557-04:00" foreign-source="Nasdaq" last-import="2014-07-02T15:19:42.748-04:00" xmlns="http://xmlns.opennms.org/xsd/config/model-import">
          <node building="Nasdaq" foreign-id="www.nasdaq.com" node-label="www.nasdaq.com">
              <interface descr="" ip-addr="23.62.6.90" status="1" snmp-primary="N">
                  <monitored-service service-name="Nasdaq"/>
              </interface>
              <category name="Servers"/>
              <category name="Production"/>
              <asset name="description" value="This is Nasdaq!"/>
              <asset name="zip" value="10006"/>
              <asset name="state" value="NY"/>
              <asset name="city" value="New York"/>
              <asset name="address1" value="165 Broadway"/>
          </node>
      </model-import>
      

      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.

        Attachments

          Activity

            People

            • Assignee:
              desloge Donald Desloge
              Reporter:
              agalue Alejandro Galue
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: