Listing Status of Alarms

List status levels for alarms in Monitoring.

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.

    1. Open the navigation menu and click Observability & Management. Under Monitoring, click Alarm Status.
    2. Under List Scope, select a compartment that you have permission to work in.

    The page lists trigger rules of alarms in the selected compartment.

    The name of each trigger rule indicates its severity, query, and rule number. The query indicator depends on which mode was used to save the alarm query. If the query was saved in Basic mode, then the query indicator includes the metric namespace, operator, and value (example: oci_computeagent-greater-than-90). If the query was saved in Advanced mode, then the name includes the phrase advanced.

    Example names of trigger rules:

    • Basic mode: Critical-oci_computeagent-greater-than-90-Rule2
    • Advanced mode: Critical-advanced-Rule2
  • 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.