Foreign Source Configuration API
The /foreignSourcesConfig endpoint is read-only and exposes the building blocks used to assemble foreign source definitions (detector and policy plugins, and the names available for services, assets, and categories).
It produces application/xml, application/json, and application/atom+xml.
This is distinct from the /foreignSources endpoint (see Foreign Sources API), which manages the foreign source definitions themselves.
|
GETs (reading data)
| Resource | Description |
|---|---|
|
Lists the available detector plugins, including each plugin class and its required and optional parameters. |
|
Lists the available policy plugins, including each plugin class and its required and optional parameters. |
|
Lists the service names available for the given foreign source |
|
Lists the available asset field names (excluding |
|
Lists the available surveillance category names. |
Examples using cURL
curl -u admin:admin "http://127.0.0.1:8980/opennms/rest/foreignSourcesConfig/detectors"
curl -u admin:admin "http://127.0.0.1:8980/opennms/rest/foreignSourcesConfig/policies"
curl -u admin:admin "http://127.0.0.1:8980/opennms/rest/foreignSourcesConfig/assets"