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

SNMP version syntax inconsistent across components

    XMLWordPrintable

    Details

    • Sprint:
      Horizon 16 Bugfixes

      Description

      I just learned that some SNMP-speaking components (SnmpDetector, DiskUsageDetector, others) expect SNMP versions to be specified only in the form "snmpv1" / "snmpv2" / "snmpv2c" / "snmpv3". This deviates from what I thought I knew, which is that "v1" / "v2c" or "v2" / "v3" is correct everywhere.

      It appears this pattern was copied over more or less directly from the old equivalent Capsd plugins.

      We should normalize every component that allows specifying an SNMP version to accept at least the short forms ("v3" and so on). Probably best to continue recognizing "snmpv3" etc. where it's currently recognized. Not sure whether we should start to allow the long form in places where it's not historically been recognized.

        Attachments

          Activity

            People

            • Assignee:
              seth Seth Leger
              Reporter:
              jeffg Jeff Gehlbach
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: