pandorafms/pandora_plugins/EC2/CloudWatch/bin/mon-version

8 lines
189 B
Bash
Executable File

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