[prometheus-users] Re: Alert manager receiver config.

2025-01-07 Thread 'Brian Candler' via Prometheus Users
You should remove the two sections that I highlighted. The following is a valid config, and is accepted: 8< global: smtp_hello: 'example.com' route: group_wait: 1m group_interval: 5m repeat_interval: 12h group_by: ["alertname", "severity"] # Default receiver (for all alert

[prometheus-users] Re: Alert manager receiver config.

2025-01-07 Thread 'Chrysale Tchako' via Prometheus Users
What modifications would you recommend making to the file? Or better yet, how should it be formatted? On Tuesday, January 7, 2025 at 3:55:27 AM UTC-5 Brian Candler wrote: > There are two major problems with that confgi: > - there is a "routes" block nested under "inhibit_rules", where it is not

[prometheus-users] Re: Alert manager receiver config.

2025-01-07 Thread 'Brian Candler' via Prometheus Users
There are two major problems with that confgi: - there is a "routes" block nested under "inhibit_rules", where it is not allowed - there is a "matchers" block nested under "receivers", where it is not allowed And if I try to start alertmanager 0.25.0 (the version you say you're using) with that