Realtime Console Data
The Realtime Console (RTC) calculates the availability for monitored services. Data provided from the RTC is available to the REST API.
GETs (Reading Data)
Resource | Description |
---|---|
|
Get all nodes and availability data from a given SLA category filter (for example, Web Servers (Web+Servers)). |
|
Get node availability data for each node of a given SLA category filter. |
|
Get detailed service availability for a given node in a given SLA category filter. |
|
Get detailed availability for all services on a given node. |
The categories referenced above are RTC categories defined in $OPENNMS_HOME/etc/categories.xml , not tags assigned to nodes.
|
Example
curl -u demo:demo http://demo.opennms.org/opennms/rest/availability/categories/Web+Servers
curl -u demo:demo http://demo.opennms.org/opennms/rest/availability/categories/Web+Servers/nodes
curl -u demo:demo http://demo.opennms.org/opennms/rest/availability/categories/Web+Servers/nodes/31
curl -u demo:demo http://demo.opennms.org/opennms/rest/availability/nodes/31