Fault and Performance API

Alarm Statistics

These APIs provide basic statistics on alarms, including the number of acknowledged alarms, total alarms, and the newest and oldest of acknowledged and unacknowledged alarms.

APIs for Alarm Statistics

  • /api/space/opennms/stats/alarms

    Returns statistics related to alarms. It accepts the same Hibernate parameters that you can pass to the /alarms REST service.

  • /api/space/opennms/stats/alarms/by-severity

    Returns the statistics related to alarms, one per severity. You can optionally pass a list of severities to the "severities" query parameter to limit it to the specified severities. For example, use the following to return statistics on only MAJOR or CRITICAL alarms:

    GET api/space/opennms/stats/alarms/by-severity?severities=MAJOR,CRITICAL.