Euca2ools Guide / CloudWatch-Compatible Commands |
Short reference description.
euwatch-set-alarm-state AlarmName --state-reason value --state-value value [--state-reason-data value ]
Option | Description | Required |
---|---|---|
AlarmName | Name of the alarm. You can also set this value using "--alarm-name". | Yest |
--state-reason value | Human-readable reason why this alarm was set to this state.
Constraints: Must be in JSON format |
No |
--state-reason-data value | Machine-readable reason why this alarm was set to this state. | Yes |
--state-value value | State to be set.
Valid values: ALARM | OK | INSUFFICIENT_DATA |
Yes |
Option | Description |
---|---|
--show-empty-fields | Show empty fields using (nil) as a placeholder to indicate that this data was not requested. Empty fields are not shown by default. |
--region value | Specify region value as the cloud region to use. You can set this by using the environment variable AWS_DEFAULT_REGION. |
-U,--url value | Overrides the URL for the service call with the value entered. You can set this by using the environment variable AWS_AUTOSCALING_URL. |
-I, --access-key-id value | User's access key ID |
-S, --secret-key value | User's AWS secret Key to use. |
--debug | Prints what the command sends to the server and what it receives from the server. Use when you're trying to debug Euca2ools. |
--debugger | Enable interactive debugger on error. |
--version | Display the version of this tool. |
-h,--help | Display the manual page for the command. |
Eucalyptus does not return any output.
The following example sets the state of the test-alarm alarm to OK.
euwatch-set-alarm-state --alarm-name test-alarm --state OK