New resource types are not available in the Web UI until it is restarted

Description

It is possible to update the SNMP data collection configurations, adding new resource types, and collect from these without a restart. However, there have been several reports of the resource types not being listed in the UI, even when they are found to be present on disk.

After a restart, the resources are listed in the UI. No restart should be required.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

fooker April 5, 2017 at 10:36 AM

fooker April 5, 2017 at 6:03 AM

This fix seems to work for modifications of datacollection-configuration.xml but not for files in datacollection/. The reload mechanism for those file looks like it has never worked before.

Jesse White March 10, 2017 at 10:34 AM

This appears to be caused by the introduction of the DefaultResourceTypesDao and the 'resource-types.'d folder. I suspect that something along the lines of the following patch should resolve the issue.

Fixed

Details

Assignee

Reporter

Labels

Components

Sprint

Priority

PagerDuty

Created March 10, 2017 at 10:33 AM
Updated April 10, 2017 at 7:21 PM
Resolved April 10, 2017 at 3:21 PM