pandorafms/pandora_plugins/EC2/CloudWatch/bin/mon-put-metric-alarm

8 lines
200 B
Plaintext
Raw Normal View History

2017-11-14 15:17:27 +01:00
#!/usr/bin/env bash
if [ -n "${AWS_CLOUDWATCH_HOME:+x}" ]; then
${AWS_CLOUDWATCH_HOME}/bin/mon-cmd mon-put-metric-alarm "$@"
else
echo AWS_CLOUDWATCH_HOME is not set
exit 1
fi