omni-lchen / zabbix-cloudwatch

71 stars 61 forks source link

ElasticCache metrics returning 0 values for all metrics #14

Closed macadminrohit closed 7 years ago

macadminrohit commented 7 years ago

As per the AWS documentation for getting the Cloudwatch metrics for Elastic cache data we need to provide the CacheClusterId and CacheNodeId both. But in this solution we are only supplying the CacheClusterID and not CacheNodeID. And when are getting 0 values for all the metrics.

omni-lchen commented 7 years ago

Please check the Elasticcache dimensions in AWS, if the metrics in a node is the same as cluster, you can tweak the bash wrapper and add additional dimensions, e.g. -d "CacheClusterId=$CLUSTER_ID,CacheNodeID=$CacheNodeID", otherwise you have to add a new function in the zabbix-cloudwatch script to adapt to it.

macadminrohit commented 7 years ago

Thanks for the solution.