config-tester doesn't validate missing XML attributes

Description

If an entry in a data collection group config file contains malformed XML (in my case, the mibObj was missing an alias attribute), the config-tester doesn't catch it and allows ONMS to start. Collectd then throws an NPE and data collection nearly silently fails with little indication as to the cause of the NPE. xmllint does catch this issue, FWIW.

A test config is attached that should fail due to the missing alias attribute on line 34.

Acceptance / Success Criteria

None

Attachments

1
  • 16 Sep 2015, 05:47 PM

Lucidchart Diagrams

Activity

Show:

Details

Assignee

Reporter

Affects versions

Priority

PagerDuty

Created September 16, 2015 at 5:47 PM
Updated September 21, 2021 at 6:23 PM

Flag notifications