Create aws_custom.sh

The objective to this script, it's monitoring custom metrics (for example memory and disk space).

It's necessary you configure before this, the AWS linux script plugins, see this page: http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/mon-scripts.html

#It's necessary you configure before this, the AWS linux script plugins, see this page: http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/mon-scripts.html 

#To use this script, execute: aws_custom.sh <value to warning> <value to critical> <path to AWS autentication file> <Instance ID> <Metric Name> <Namespace>

#Example: aws_custom.sh 50 90 /etc/sensu/conf.d/custom/awscreds.conf i-ab197dd2 MemoryUtilization System/Linux