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

Trapd does not validate config against XSD

    XMLWordPrintable

Details

    • Horizon - July 11th 2018, Horizon - July 18th 2018, Horizon - July 25th 2018

    Description

      Steps to reproduce:

      1. Edit trapd-configuration.xml, changing snmp-trap-port to ssnmp-trap-port
      2. Start OpenNMS
      3. Run ss -planu sport = 162

      Expected result: A UDP listener is present on port 162
      Actual result: No UDP listener is present on port 162

      There's a case to be made that Trapd should not even start up given the above typo in its configuration file. It follows that Trapd must not be validating its config against the XSD, which is also a bug unto itself.

      Attachments

        Activity

          People

            cgorantla Chandra Gorantla
            jeffg Jeff Gehlbach
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: