Listing Status of Alarms
List status levels for alarms in Monitoring.
For information about alarm evaluations for determining alarm status, see Alarm Evaluations.
Optionally filter listed alarms by resource or status value. Filtering is available using the CLI or API.
For alarm troubleshooting, see Troubleshooting Alarms.
Before You Begin
IAM policies: To list status of alarms, you must be given the required type of access in a policy written by an administrator. This requirement applies whether you're using the Console or the REST API with an SDK, CLI, or other tool. If you get a message that you don't have permission or are unauthorized, check with the administrator. You might not have the required type of access in the current compartment .
Administrators: For an example policy, see List Alarms and Alarm Status.
Listing Firing Alarms
To list all alarms, see Listing Alarms. Filtering List Results
Use filters to limit the alarms in the list. Perform one of the following actions depending on the options that you see:
- To filter the list by alarm status, select a status value from the Status list.
- To filter the list by tag, select add under Tag filters.
- To search for an alarm by name, enter the name in the search box on the upper right.
Actions
In the list table, select the name of an alarm to open its details page, where you can view its status and perform other tasks.
To create an alarm, select Create Alarm.
To perform an action on more than one alarm at a time, select the checkboxes next to the alarm names and then select an action from the
above the table.Use the oci monitoring alarm-status list-alarms-status command and required parameters to list status of alarms:
oci monitoring alarm-status list-alarms-status --compartment-id <compartment_OCID>
Example command to list status of alarms for a specific resource:
oci monitoring alarm-status list-alarms-status --compartment-id <compartment_OCID> --resource-id <resource_OCID>
For a complete list of parameters and values for CLI commands, see the Command Line Reference for Monitoring.
Run the ListAlarmsStatus operation to list status of alarms.
What to Do Next
You can suppress alarms during a given time range. You can also disable and delete alarms.
For alarm troubleshooting, see Troubleshooting Alarms.