- How to Guide
- API Reference
Get All Alarms over Rest API
Step 1: Authenticate
Submit your user credentials, Client ID, and Client Secret for OAuth2 authentication.
If you are unaware of your user credentials for Equinix IBX SmartView, contact your local Equinix Service Desk.
Step 2: Get a list of all the alarms
Alarms API provides one endpoint Get all active alarms. Using this endpoint you can retrieve all the alarms that have triggered on all assets serving your colocation footprint, across all IBX locations. You can filter these alarms using various parameters. To access the API, you need to specify the Auth bearer token in the header, the account number, the number of records you want returned and the offset to start from. You can specify the groupByIBX attribute to group the alarms by IBX.
To invoke this API, provide the token, account number, page number 1 with 10 records per page and offset 0; as inputs.
The response includes a payload of a set of alarms. This includes fields like IBX, AccountNo, assetId, asset type (for example, UPS), severity as Urgent, status (active or not), ack (true or false) indicating whether Equinix ops team acknowledged the alarm or not, Tagid on which the alarm had triggered, and Time at which the tag got processed. It also informs if the given alarm condition returned to normal or its status turns to false. This set of attributes is repeated for each alarm.
The following screenshot shows the curl request to get all active alarms.
A list of all active alarms affiliated to your customer account is returned below.
Refer to Get all active alarms under API Reference section for instructions on how to get asset details. You may skip this step if you already know the asset details.