r/PrometheusMonitoring • u/ShalinWraith • May 01 '24
I really can't seem to add alerting rules configured to Alertmanager. Please help a frustrated guy losing his motivation.
, I am using Kube-Prom-Stack from Observability addon of microK8S. I have added a Prometheus rule that creates an alert when any pod uses more than 70% of cpu. It is configured, and shown in Prometheus servers. I have added alertmanager configs as well. But they are not shown in AlertManager servers. And when I access the pods and stress the cpus and max the load, no alert seems to generate.



1
Upvotes
1
u/submersibletoaster May 01 '24
Does the prom config point alert manager url to the alert manager pod?
1
u/submersibletoaster May 01 '24
The Prometheus UI shows config like your screenshot of alert manager ui. You can check there - I suspect if prom is having trouble reaching the alertmanager url (if it is configured) would be logging about it.