Add jmx-datacollection-config.d/ for defining custom JMX datacollection definitions

Description

Here we aim to make the JMX data collection configure easier to manage by:
1) Splitting the default jmx-datacollection-config.xml into multiple files, and allowing the configuration to be extended by adding new files in jmx-datacollection-config.d/.
2) Continuing to support 'import-mbeans' directive that allow groups of MBeans to be shared across many collection definitions.

Environment

ANY

Acceptance / Success Criteria

None

Attachments

1

Lucidchart Diagrams

Activity

Charles Hopkins April 29, 2016 at 10:10 AM

The intent was and is "to share the list of mbeans among many collection definitions".

Jesse White April 27, 2016 at 2:32 PM

See https://github.com/OpenNMS/opennms/pull/750

Here we split the default jmx-datacollection-config.xml into multiple files, and allow the configuration to be extended by adding new files in jmx-datacollection-config.d/. Additional files do not need to be explicitly included, making it easy to overlay custom configuration without touching any of the distribution files.

Jesse White April 27, 2016 at 1:54 PM

is your intent to share the list of mbeans among many collection definitions, or just to split the files up?

Charles Hopkins November 24, 2015 at 3:05 PM

Here is part of my first attempt at doing this (failed).

Charles Hopkins November 24, 2015 at 2:57 PM

A mynms.uspto.gov support ticket has been filed to go with it:
https://mynms.opennms.com/Ticket/Display.html?id=4211

Fixed

Details

Assignee

Reporter

Labels

Due date

Components

Fix versions

Affects versions

Priority

PagerDuty

Created November 24, 2015 at 2:38 PM
Updated June 3, 2019 at 7:23 AM
Resolved May 9, 2016 at 2:09 PM