Take the 2-minute tour ×  When I go to EC2 console, I click one
of:    1. Shutdown   2. Terminate   3. Reboot   4. Start  ... I
want to get a message on my "Director" machine, that the
instance is e.g. booting, that it is shutting down, actually
without need to poll all the statuses from the API.  The reason
for this is, that I run my own Nagios monitoring with API, so I
want director machine to receive / catch the event, and schedule
the Down Time on Nagios.  Also, if it's "Terminate", the
Director will update Chef server the way that it will remove the
node.  Another reason for this is that polling the statuses very
frequently is very limited to the API and I cant make continuous
requests, but every 1-5 minutes. But this way, if I terminate
the instance myself from the console, it takes too long for me
to actually discover this information, and update other services
accordingly.  Currently I am investigating that I could use the
shutdown script on Linux instance, which would make remote API
call to Director