Got it ! I’ll try that out !! Thanks for clarification.
On your other note about Integrated alerting, I’ve been spending a lot of time on it and trying to get it work, but for some reason , I’m only able to receive Mysql down alerts but not the OS related metrics such as high CPU , memory, thats the reason why I’m exploring other options. Is there anything else that I should be looking at ? I believe enhanced monitoring is turned on on the instances and also rds_exporter seems to be pulling data well with cloudmetrics since I see all those details in the home dashboard. Its just the alerting thats not functioning . Please suggest what else I need to look at to fix this . If I can get this working , I may not need other alert manager instance . I’ve also looked at the postgres db and the ia_rules table which shows the params column as
[{“bool”: false, “name”: “threshold”, “type”: “float”, “float”: 50, “string”: “”}]
Does it mean its not taking any threshold values ?
Here are the errors from the error log
2021-02-06T01:21:44.786Z error /home/builder/rpm/BUILD/VictoriaMetrics-pmm-6401-v1.50.2/app/vmalert/group.go:245 group “PMM Integrated Alerting”: rule “/rule_id/a1af9575-f6df-4700-ae76-93203d297644”: failed to execute: failed to execute query “sum by (service_name, node_name) (mysql_up) == 0”: error getting response from http://127.0.0.1:9090/prometheus/api/v1/query?query=sum+by+(service_name%2C+node_name)+(mysql_up)+%3D%3D+0: Post “http://127.0.0.1:9090/prometheus/api/v1/query?query=sum+by+(service_name%2C+node_name)+(mysql_up)+%3D%3D+0”: EOF
and also the some of the above alerts display the hostname while other don’t for eg :
[FIRING:1] (/rule_id/a1af9575-f6df-4700-ae76-93203d297644 PMM Integrated Alerting 1 aw52-ls-aurora-z02-rds-20 /rule_id/a1af9575-f6df-4700-ae76-93203d297644 aw2-p-aurora-c01-rds-01 critical pmm_mysql_down)
[FIRING:2] (/rule_id/a1af9575-f6df-4700-ae76-93203d297644 PMM Integrated Alerting 1 /rule_id/a1af9575-f6df-4700-ae76-93203d297644 critical pmm_mysql_down)
and I can’t even get to the alerts when I click on them , but even otherwise no alerts is displayed in the alerts tab
Sorry for all the details… I’ve been juggling to get this working for sometime now .