Creating an Alarm Configuration
Configure alarms by using the guided, multi-step process in the Control Center dashboard.
Before You Begin
Alarms are tenancy-specific and associated with the operator's tenancy. To create an alarm:
The alarm is created with a unique alarm ID. You can view details such as resource configuration, threshold, and subscriptions. Use the oci demand-signal occ-metric-alarm create command and required parameters to create an alarm:
oci demand-signal occ-metric-alarm create --compartment-id <compartment_OCID> --display-name <text> --frequency <text> --is-active <boolean> --resource-configuration <json_file_or_string> -threshold <number> [OPTIONS]For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the CreateOccMetricAlarm operation to create an alarm.