pandorafms/pandora_plugins/EC2/CloudWatch/bin/mon-set-alarm-state

8 lines
199 B
Bash
Executable File

#!/usr/bin/env bash
if [ -n "${AWS_CLOUDWATCH_HOME:+x}" ]; then
${AWS_CLOUDWATCH_HOME}/bin/mon-cmd mon-set-alarm-state "$@"
else
echo AWS_CLOUDWATCH_HOME is not set
exit 1
fi