Minor fix

This commit is contained in:
fbsanchez 2017-12-07 12:04:22 +01:00
parent 633cb5a39c
commit b6d2bdcc71
2 changed files with 5 additions and 5 deletions

View File

@ -17,8 +17,8 @@ function help {
echo " " echo " "
echo "This plugin is used to check performance of Volumes and Instances in the EC2 Cloud" echo "This plugin is used to check performance of Volumes and Instances in the EC2 Cloud"
echo "Syntax:" echo "Syntax:"
echo -e "\t\t-A Access KEY ID, p.e AKIAILTVJ3S26GTKLD4A" echo -e "\t\t-A Access KEY ID, p.e AKIAILTVCAS26GTKLD4A"
echo -e "\t\t-S Secret Access Key, p.e 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" echo -e "\t\t-S Secret Access Key, p.e CgmQ6DxUWES05txju+alJLoM57acDudHogkLotWk"
echo -e "\t\t-R Region, p.e us-east-1" echo -e "\t\t-R Region, p.e us-east-1"
echo -e "\t\t-m Metric to gather (see doc for a metric list) " echo -e "\t\t-m Metric to gather (see doc for a metric list) "
echo -e "\t\t-n Namespace (p.e: AWS/EC2, AWS/EBS) " echo -e "\t\t-n Namespace (p.e: AWS/EC2, AWS/EBS) "
@ -27,7 +27,7 @@ function help {
echo -e "\t\t-z Show default metrics " echo -e "\t\t-z Show default metrics "
echo -e "\t\t-h Show this messages " echo -e "\t\t-h Show this messages "
echo "Samples:" echo "Samples:"
echo " ./ec2_plugin.sh -A AKIAILTVJ3S26GTKLD4A -S CgmQ6DxUWES05txfe+juJLoM57acDudHogkLotWk -i i-9d0b4af1 -n AWS/EC2 -m CPUUtilization" echo " ./ec2_plugin.sh -A AKIAILTVCAS26GTKLD4A -S CgmQ6DxUWES05txju+alJLoM57acDudHogkLotWk -i i-9d0b4af1 -n AWS/EC2 -m CPUUtilization"
echo echo
exit 0 exit 0

View File

@ -20,8 +20,8 @@ function help {
echo " ./$progname [-A access-key -S secret-key][-R region] -f config -i instance-id -n field-name" echo " ./$progname [-A access-key -S secret-key][-R region] -f config -i instance-id -n field-name"
echo -e "\t\t-f path of configu file" echo -e "\t\t-f path of configu file"
echo -e "\t\t-R Region, p.e us-east-1" echo -e "\t\t-R Region, p.e us-east-1"
echo -e "\t\t-A Access KEY ID, p.e AKIAILTVJ3S26GTKLD4A" echo -e "\t\t-A Access KEY ID, p.e AKIAILTVCAS26GTKLD4A"
echo -e "\t\t-S Secret Access Key, p.e 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" echo -e "\t\t-S Secret Access Key, p.e CgmQ6DxUWES05txju+alJLoM57acDudHogkLotWk"
echo -e "\t\t-i Instance ID, p.e i-9d0b4af1" echo -e "\t\t-i Instance ID, p.e i-9d0b4af1"
echo -e "\t\t-n Field Name, p.e type, public-dns, .." echo -e "\t\t-n Field Name, p.e type, public-dns, .."
echo -e "\t\t-h Show this messages" echo -e "\t\t-h Show this messages"