Open caiohasouza opened 7 years ago
Hello @randywallace
The new AWS Application ELB works with Target Groups, so i need pass two dimensions in awscli to receive the values, but in your script it's not possible. To works the parameter should be:
zabbix-cloudwatch -n AWS/ApplicationELB -m HealthyHostCount --dimension-name LoadBalancerName --dimension-value LB-NAME --dimension-name TargetGroup --dimension-value targetgroup/TG/1fc7ca6d4832ea72 -s Average --aws-access-key 'ACCESS_KEY' --aws-secret-key 'SECRET_KEY' --aws-region 'REGION'
Understand? The link that awscli is: http://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/elb-metricscollected.html
Can you help me?
Thank you
Hello @randywallace
The new AWS Application ELB works with Target Groups, so i need pass two dimensions in awscli to receive the values, but in your script it's not possible. To works the parameter should be:
zabbix-cloudwatch -n AWS/ApplicationELB -m HealthyHostCount --dimension-name LoadBalancerName --dimension-value LB-NAME --dimension-name TargetGroup --dimension-value targetgroup/TG/1fc7ca6d4832ea72 -s Average --aws-access-key 'ACCESS_KEY' --aws-secret-key 'SECRET_KEY' --aws-region 'REGION'
Understand? The link that awscli is: http://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/elb-metricscollected.html
Can you help me?
Thank you