Listing Alarms
List alarms in Monitoring.
Before You Begin
IAM policies: To list 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.
- Open the navigation menu and click Observability & Management. Under Monitoring, click Alarm Definitions.
- Choose a compartment that you have permission to work in (on the left side of the page).
The page lists alarms in the selected compartment. Use the oci monitoring alarm list command and required parameters to list alarms:
oci monitoring alarm list [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference for Monitoring.
Run the ListAlarms operation to list alarms.