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

provision group does not validate ip-addr field on input

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.3
    • Fix Version/s: 1.9.4
    • Component/s: Web UI - Admin
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: PC
    • Bugzilla Id:
      4042

      Description

      Create a provision group with a node which has a non-ip-address for the ip-addr field, such as:

      <node node-label="Oracle QA" foreign-id="1281386733495" building="DBATeam">
      <interface status="1" snmp-primary="N" ip-addr="oracleqa" descr="Oracle QA">
      <monitored-service service-name="oracle-rdbms"/>
      </interface>
      </node>

      The provisioning UI lets you add this node in, but then when you try to view the 'Manage and Unmanage Interfaces and Services' page (http://opennms-host:8980/opennms/admin/getNodes), you get an error because "oracleqa" is not a valid ip address.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                seth Seth Leger
                Reporter:
                ronald.roskens@biworldwide.com Ron Roskens
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: