Customizing the Slack Period for an Alarm Query

Specify a custom value for the slack period to use when querying metric data in an alarm in Monitoring.

The default slack period is three minutes. For more information about the slack period, see About the Internal Reset Period.

For alarm troubleshooting, see Troubleshooting Alarms.

  • This task can't be performed using the Console.
  • Use the oci monitoring alarm update command and required parameters to update an alarm. Use the --evaluation-slack-duration parameter to specify the custom slack period.

    oci monitoring alarm update --evaluation-slack-duration <ISO-8601-value> [...]

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

  • Run the UpdateAlarm operation to update an alarm. Use the evaluationSlackDuration attribute to specify the custom slack period.