wawastein / zabbix-cloudwatch

Cloudwatch integration for Zabbix 3.x
GNU General Public License v3.0
33 stars 53 forks source link

S3 bucket has no data points (all buckets) #14

Closed ghost closed 6 years ago

ghost commented 6 years ago

For all buckets i get "no data points" and values for all buckets is -1, when i change trigger values to different than -1 alert remains

{Cloudwatch Template:cloudwatch.metric[600,BucketSizeBytes,AWS/S3,Average,{$REGION},"BucketName={#BUCKET_NAME},StorageType=StandardStorage",{$ACCOUNT}].last()}<>-1 or
{Cloudwatch Template:cloudwatch.metric[600,NumberOfObjects,AWS/S3,Average,{$REGION},"BucketName={#BUCKET_NAME},StorageType=AllStorageTypes",{$ACCOUNT}].last()}<>-1
wawastein commented 6 years ago

Did you test it from terminal first? Get all required parameters (region, bucket name) and run script manually, maybe you'll catch something.Try different periods (larger than 600 sec) too.

ghost commented 6 years ago

believed it or not- solved issues by un-linking and clearing template and then re-assigning it back now all works fine, thanks for great job !!