sensu-plugins / sensu-plugins-aws

This plugin provides native AWS instrumentation for monitoring and metrics collection, including: health and metrics for various AWS services, such as EC2, RDS, ELB, and more, as well as handlers for EC2, SES, and SNS.
http://sensu-plugins.io
MIT License
81 stars 143 forks source link

check-rds.rb connections are literal, not percentage as should according description #366

Open jindraj opened 4 years ago

jindraj commented 4 years ago

from help:

…
        --connections-critical-over N
                                     Trigger a critical if connections usage is over a percentage
        --connections-warning-over N Trigger a warning if connections usage is over a percentage

parameters passed --connections-warning-over 70 --connections-critical-over 85 check output: CheckRDS CRITICAL: RDSNAME: ; DatabaseConnections are 87 (expected lower than 85.0); DatabaseConnections are 87 (expected lower than 70.0)

max_connections on RDS insance:

┌─────────────────┐
│ max_connections │
├─────────────────┤
│ 3429            │
└─────────────────┘