If 1 RDS instance doesn't have logs or enhanced monitoring turned on all RDS collection fails
Description
How to test
How to document
AFFECTED CS IDs
Attachments
relates to
Smart Checklist
Activity

Lalit Choudhary December 22, 2020 at 7:05 AM
Please open the new report for the 2.12 version issue with bug details.
you can mention this bug in reference.

M December 21, 2020 at 3:54 PM
this is still occurring on PMM 2.12

Lalit Choudhary December 27, 2019 at 9:56 AMEdited
Tested with 1.17.3-Dev ,
added 2 rds instances 1 with enhanced monitoring enabled and another one with enhanced monitoring Disable.
Restarted pmm-server
I do not see a panic error in rds_exporter logs
rds_exporter running fine
it has error since one of the rds instance not enabled with monitoring.
And for rds instance with monitoring enabled we can see all graphs
The only problem here for keeping rds instance which has enhanced monitoring Disabled is, it will keep adding error message for "component=enhanced source="scraper.go" every 10 seconds.
Removing such RDS instance from monitoring will fix this issue.

Roma Novikov December 25, 2019 at 11:44 AM
can you recheck this with the latest DEV version for pmm1? It's not released yet but we have there already related fix
Thanks
Details
Assignee
UnassignedUnassignedReporter
Scott GolbyScott GolbyPriority
MediumComponents
Fix versions
Environment
uname -a
Linux ip-10-9-2-9.ec2.internal 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
MySQL RDS v5.6.40
Details
Details
Assignee
Reporter

Priority
Components
Fix versions
Environment
uname -a
Linux ip-10-9-2-9.ec2.internal 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
MySQL RDS v5.6.40
Smart Checklist
Open Smart Checklist
Smart Checklist
Open Smart Checklist
Smart Checklist

I recently started working on these existing MySQL RDS instances, which don't have Enhanced monitoring turned on, some have no logs going to file or Cloud Watch. (yeah I know)
Unfortunately adding any of these instances to PMM causes ALL the RDS CloudWatch metrics collection to fail.
All the graphs at the bottom of the MySQL Overview show nothing
Cloud Amazon RDS / Aurora MySQL Metrics Grafana page displays a red message with Templating init failed - Metric request error
The pmm-rds_exporter-9042.service crashes and restarts endlessly
I have confirmed this by using a test instance of PMM and adding to it just 1 host which I know has Enhanced monitoring on & logs enabled. With that setup I get graphs at the bottom - but I still get the Templating init failed.
This should be more robust and collect the metrics that it can. CloudWatch (non-enhanced) is showing metrics in the AWS console, so there is a lot which can be pulled down anyway.