TrueSight API Documentation
OverviewAccountActionsAdministration
Alarms v1Alarms v2BatchingDashboards
DatasetsEventsExtended Metrics
HostgroupsGroupsMetersMetricsProduct
PluginsRelaysSourcesSynchronize Data
Tenants
Terms

GET/v1/alarms

Get all of the Alarms

Example request:

curl https://api.truesight.bmc.com/v1/alarms \
-X GET \
-u <email>:<api-token>

Response:

[
   {
      "id": 10823,
      "name": "Disk Writes are high",
      "triggerPredicate": {
         "agg": "sum",
         "op": "gt",
         "val": 209715200
      },
      "metricName": "DISKWB",
      "interval": 60,
      "hostgroupId": 13,
      "note": "uh oh - better check the database",
      "perHostNotify": false,
      "isDisabled": false,
      "actions": [
         {
            "id": 1693,
            "name": "Email operations"
         }
      ]
   }
]