The following actions are supported when creating a sequence of actions for an alert escalation.
Action name: send_email
You can send an email to one or multiple recipients. Email field supports space-, comma- or semicolon-separated list of email addresses.
There are three different types of email formats.
Example of Parsable Message
subject: alert: 'My cool server' My sweet alert spec
message: Server Name: My super server, Server Href: http://my.rightscale.com/api/acct/0/servers/0, Deployment Name : My awesome deployment, Deployment Href: http://my.rightscale.com/api/acct/0/deployments/0, Account Name: My account name, Cloud: 1, Alert Name: My sweet alert spec, Alert Time: 2009-11-21 00:00:42, Alert Spec Input: cpu-0/cpu-idle, Alert Spec Metric: value, Alert Spec Condition: >, Alert Spec Target Value: 60, Alert Spec Duration: 5
Action name: reboot_server
Reboot the server generating the alert. Equivalent to rebooting the same physical machine. i.e. The Server will maintain its Instance ID.
Action name: relaunch_server
Relaunch the server generating the alert (this terminates the current running instance and launches a fresh instance). i.e. The Server will receive a new Instance ID.
Action name: run_right_script
Run a RightScript on a server.
Action name: vote_grow_array
WARNING: This action will soon be deprecated. Please see Set up Autoscaling using Voting Tags.
The server is voting to grow or 'scale-up' by launching additional servers into the server array that's attached to the deployment. It is only a vote; not a trigger to launch servers. Additional servers will not be launched unless enough servers are voting for the 'vote_grow_array' action. The server array's scaling parameters will ultimately determine when to scale (e.g. > 51% are voting) and how to scale (e.g. Launch '2' new servers into the array).
Note: The array must be active (enabled) in order for any scaling to take place.
Action name: vote_shrink_array
WARNING: This action will soon be deprecated. Please see Set up Autoscaling using Voting Tags.
The server is voting to shrink or 'scale-down' by terminating underutilized servers from the array that's attached to the deployment. It is only a vote; not a trigger to terminate servers. Underutilized servers will not be terminated unless enough servers are voting for the 'vote_shrink_array' action. The server array's scaling parameters will ultimately determine when to scale (e.g. > 51% are voting) and how to scale (e.g. Terminate '1' server from the array).
Note: The array must be active (enabled) in order for any scaling to take place.
© 2006-2014 RightScale, Inc. All rights reserved.
RightScale is a registered trademark of RightScale, Inc. All other products and services may be trademarks or servicemarks of their respective owners.