Re: [prometheus-users] Re: CAN I CONFIGURE TWO EMAIL RECIEVER FOR ALERTMANAGER

2024-10-10 Thread 'Brian Candler' via Prometheus Users
route: receiver: send_email routes: - receiver: send_email2 That route will only ever send to send_mail2. Why? "routes" are child routes of this route. When processing a given routing rule, alertmanager scans through all the child routes in turn, and the first one which matches is used.

Re: [prometheus-users] Re: CAN I CONFIGURE TWO EMAIL RECIEVER FOR ALERTMANAGER

2024-10-10 Thread Chinelo Ufondu
Okay, this is the config file i have tried receivers: - name: send_email email_configs: - to: em...@valucid.com from: em...@valucid.com smarthost: smtp.zoho.com:587 auth_username: em...@valucid.com auth_password: pass - name: send_email2 email_c

[prometheus-users] Re: CAN I CONFIGURE TWO EMAIL RECIEVER FOR ALERTMANAGER

2024-10-10 Thread 'Brian Candler' via Prometheus Users
Please show the configuration you have tried, to make it clearer what you're trying to do, and then we can help you correct it. email_configs takes a YAML list of email_config entries (see docs ), so a single receiver can have

[prometheus-users] CAN I CONFIGURE TWO EMAIL RECIEVER FOR ALERTMANAGER

2024-10-10 Thread Chinelo Ufondu
Hello everyone I am currently trying to configure two email receiver in my alertmanager config file, of which i did but only one works fine, I wanted to ask if its possible to have two email receivers, if so, please i need an example template, because i have tried all i could get my hands on, but