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

Web-based SNMP config UI does not pass through proxy-host if a value is provided

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Meridian-2021.1.3
    • Fix Version/s: Meridian-2021.1.5
    • Component/s: Web UI - Admin
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon 2021 - Sep 1 - 15
    • Acceptance / Success Criteria:
      Hide

      All fields entered in the SNMP UI are correctly saved and can be retrieved in the Web UI and also in the Karaf shell.

      Show
      All fields entered in the SNMP UI are correctly saved and can be retrieved in the Web UI and also in the Karaf shell.

      Description

      Steps to reproduce:

      1) Log in as an admin user

      2) Navigate to Admin -> Configure SNMP Communities by IP Address

      3) Look up an arbitrary IP address, e.g. 1.2.3.4

      4a) Fill in a distinctive community string, a.g. FOOBAR, for the read community string

      4b) Fill in a different IP address, e.g. 10.20.30.40, in the "Proxy Host" input field

      5) Click "Save Config"

      6) Use the same form to look up the same IP address 1.2.3.4

       

      Expected result: "Read Commity" field contains FOOBAR and "Proxy Host" field contains 10.20.30.40

      Actual result: "Read Community" carries over, but "Proxy Host" field is empty. Doing a Karaf shell snmp-show-config 1.2.3.4 will show that ProxyForAddress is null, illustrating the same problem.

      I inspected the parameters of the configureSNMP event generated by this configuration flow, and proxyHost was not among them, nor is anything resembling that name. Therefore I think this is a simple case of leaving out the linkage between the form field and the corresponding event parameter.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cpape Christian Pape
              Reporter:
              jeffg Jeff Gehlbach
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration