gpt4 book ai didi

amazon-rds - 分配的存储已用完 - 扩展存储以解决

转载 作者:行者123 更新时间:2023-12-01 04:06:50 25 4
gpt4 key购买 nike

我在我的 Amazon RDS 实例警报部分收到上述消息。当 RDS 报告此类违规行为时,我如何通过电子邮件收到通知。

最佳答案

最直接的监控选项Amazon RDS (以及与此相关的任何其他 AWS 服务)是 Amazon CloudWatch ,它提供了一个可靠、可扩展且灵活的监控解决方案,您可以在几分钟内开始使用,具体包括 Alarms :

[...] Alarms can automatically initiate actions on your behalf, based on parameters you specify. An alarm watches a single metric over a time period you specify, and performs one or more actions based on the value of the metric relative to a given threshold over a number of time periods. The action is a notification sent to an Amazon SNS topic or Auto Scaling policy. [...] [emphasis mine]



Amazon SNS依次支持通过多个传输协议(protocol)的通知,在这些电子邮件和电子邮件 JSON 中,请参阅相应的常见问题解答 What are the different delivery formats/transports for receiving notifications? :

[...] Customers can select one the following transports as part of the subscription requests:

  • [...]
  • ”Email”, “Email-JSON” – Messages are sent to registered addresses as email. Email-JSON sends notifications as a JSON object, while Email sends text-based email.


所讨论的指标是 FreeStorageSpace RDS 指标(有关可用指标的详细信息,请参阅 Amazon RDS Dimensions and Metrics),如 Scaling DB Instance Storage 中所述。 :

Important
We highly recommend that you constantly monitor the FreeStorageSpace RDS metric published in CloudWatch to ensure that your DB Instance has enough free storage space. For more information on monitoring RDS DB Instances, see Viewing DB Instance Metrics.



因此,您需要在控制台中创建一个警报镜像或接近 AWS 向您报告的阈值,将其发布到 SNS 主题并通过您选择的电子邮件地址订阅该主题。

关于amazon-rds - 分配的存储已用完 - 扩展存储以解决,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8757567/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com