sensu-plugins-aws icon indicating copy to clipboard operation
sensu-plugins-aws copied to clipboard

Aurora cluster monitoring problems

Open vova3379 opened this issue 1 year ago • 0 comments

Hi, I have a problem with monitoring aurora clusters. I see the error below: CheckRDS UNKNOWN: Requested time period did not return values from Cloudwatch. Try increasing your time period. my check looks like the below: check-rds.rb -l new --disk-warning-over 80 --disk-critical-over 90 --period 300 and in the same time monitoring databases work as need - see check and output below

check-rds.rb -i user --disk-warning-over 85 --disk-critical-over 95 --period 300
CheckRDS OK: 

Role IAM permissions allow rds aurora clusters monitoring:

{
    "Statement": [
        {
            "Action": [
                "cloudwatch:GetMetricData",
                "cloudwatch:GetMetricStatistics",
                "cloudwatch:ListMetrics",
                "rds:DescribeDBClusters",
                "rds:DescribeDBInstances"
            ],
            "Effect": "Allow",
            "Resource": "*"
        }
    ],
    "Version": "2012-10-17"
}

Also, try just and case tries "cloudwatch:*". RDS Aurora cluster also exist

aws --profile prod rds describe-db-clusters --db-cluster-identifier new
{
    "DBClusters": [
        {
...
            "BackupRetentionPeriod": 5,
            "DatabaseName": "new",
            "DBClusterIdentifier": "new",
            "DBClusterParameterGroup": "new-cluster-pg",
            "DBSubnetGroup": "rds-subnet",
            "Status": "available",

vova3379 avatar Aug 22 '22 12:08 vova3379