Fault and Performance API

Alarms

Alarms are indications of an abnormal condition that needs attention. They allow you to manage network performance and faults. Alarms draw your focus to the resources that needs attention and act as escalation notifications to optimize the performance of the network.

APIs for Alarms

  • /api/space/opennms/alarms

    Returns a list of alarms.

  • /api/space/opennms/alarms/count

    Returns the number of alarms. This API returns plain text only (instead of XML or JSON format).

  • /api/space/opennms/alarms/{id}

    Returns the alarms specified by the given ID. Note that you can refer to a Junos Space node by either its OpenNMS node ID or by its Space device ID as a foreign source. For more information about referencing a Space device ID as a foreign source and ID pair within OpenNMS APIs, see the "Mapping Space Device IDs to OpenNMS Node IDs" section of the Fault and Performance APIs topic.

  • /api/space/opennms/alarms?comparator=ge&severity=MINOR

    Returns the alarms that have a severity greater than or equal to "MINOR".