简体   繁体   中英

Is it possible to determine a time for sending alerts on the cloudwatch aws?

Is it possible to determine a time for sending alerts on the cloudwatch aws?

For example: I would like to configure the operation of alerts from Monday to Friday at 8 am to 6 pm

A CloudWatch Alarm will trigger whenever the rule is met. It might take a minute or so to react (depending upon the metric and the aggregate function used).

However, it is not possible to schedule when alerts operate .

If you wish, you could create an AWS Lambda function (triggered on a schedule) that will call disable_alarm_actions() and enable_alarm_actions() . The documentation says:

disable_alarm_actions() : Disables the actions for the specified alarms. When an alarm's actions are disabled, the alarm actions do not execute when the alarm state changes.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM