alertmanager version 0.21.0 and smtp_require_tls not found in type config.plain

21 views
Skip to first unread message

Mario Van den Brande

unread,
Oct 26, 2020, 11:00:34 AM10/26/20
to Prometheus Users
Hi there,
I'm very new to Prometheus and I am playin with it to see how it works.
According to a conversation I saw this problem should be fixed since version 0.16.
However I'm having it in version 0.21.
My simple alertmanager.yml:
global:
smtp_require_tls: false

route:
  group_by: [Alertname]
  # Send all notifications to me.
  receiver: email-me

receivers:
- name: email-me
  email_configs:
    smarthost: smtp.mycompany.com:25

Anyone that can make me smarter?
Thanks,
Mario

Mario Van den Brande

unread,
Oct 27, 2020, 4:19:14 AM10/27/20
to Prometheus Users
OK, like a said I'm a total beginner...
I only needed to indent the smtp_require_tls option and it works.

life can be simple some times...

Op maandag 26 oktober 2020 om 16:00:34 UTC+1 schreef Mario Van den Brande:
Reply all
Reply to author
Forward
0 new messages