Enabling an Alarm

Enable an alarm in Monitoring.

For alarm troubleshooting, see Troubleshooting Alarms.

    1. On the Alarm Definitions list page, select the alarm that you want to work with. If you need help finding the list page or the alarm, see Listing Alarms.
    2. Select Alarm is enabled.
  • Use the oci monitoring alarm update command and required parameters to enable an alarm:

    oci monitoring alarm update --is-enabled true --alarm-id <alarm_OCID>

    For a complete list of parameters and values for CLI commands, see the Command Line Reference for Monitoring.

  • Run the UpdateAlarm operation to enable an alarm.

    When defining details for UpdateAlarmDetails, set isEnabled to true.