[英]How to get notified when an autoscaled(aws) node chef-client run fails/succeed ?
Am configuring the chef( via user data script) for autoscaling group in AWS. 我正在通过用户数据脚本配置Chef以在AWS中自动缩放组。 I would like to get notified if the chef-client first run fails or succeed during the process of auto scaling.
如果主客户端首次运行在自动扩展过程中失败或成功,我希望得到通知。
Check out the Chef handler system: https://docs.chef.io/handlers.html 查看Chef处理程序系统: https : //docs.chef.io/handlers.html
There are existing handlers for email, IRC, Slack, HipChat, Splunk, Logstash, and plenty more, or you can write your own that does whatever specific notification behavior you want. 现有电子邮件,IRC,Slack,HipChat,Splunk,Logstash等处理程序,或者您可以编写自己的处理程序来执行所需的任何特定通知行为。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.