Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm in the process of debugging a random spike on a server and in the mean time I would love to be able to just reboot the machine when a certain CPU threshold is met.

The AWS Cloudwatch rule is set up and works beautifully to notify me by email. What I would prefer is to have it take action and just cycle the machine.

share|improve this question

1 Answer 1

AWS Cloudwatch can send alarms not only through email but through HTTP(S) or Amazon SQS. You could create a script to receive these notification on your EC2 instance or on an external monitoring server and execute server reboot through ssh shudown -r or through EC2 API.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.