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

handle bad SNMP ranges gracefully

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.13
    • Fix Version/s: 1.10.2
    • Component/s: REST, Web UI - Admin
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      SLES11 SP1
      Java Version: 1.6.0_26 Sun Microsystems Inc.
      Java Virtual Machine: 20.1-b02 Sun Microsystems Inc.
      Operating System: Linux 2.6.32.12-0.7-default (amd64)

      Description

      It seems that after the update from 1.8.11 to 1.8.13 it ist not possible to set snmp information. I tried /opennms/admin/snmpConfig.jsp but that had no effect.
      I tried "/opt/opennms/bin/provision.pl snmp set xx.xx.xx.xx public version=v2c port=8161"
      but there is neither a status change nor "provision.pl snmp xx.xx.xx.xx" gives me the new information.

      provision.pl returns the following error:
      500 Internal Server Error at /opt/opennms/bin/provision.pl line 620
      main::put(xx.xx.xx.xx, 'community=public&version=v2c&port=8161', '/snmpConfig') called at /opt/opennms/bin/provision.pl line 548
      main::cmd_snmp('set', xx.xx.xx.xx, 'public', 'version=v2c', 'port=8161') called at /opt/opennms/bin/provision.pl line 110
      but there is no error in the logs (webapp + daemon)

        Attachments

          Activity

            People

            • Assignee:
              ranger Benjamin Reed
              Reporter:
              opennms@hammon.info Daniel Hammon
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: