Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
19.7 Legacy Series
»
HAProxy plugin mailers and email alerts?
« previous
next »
Print
Pages: [
1
]
Author
Topic: HAProxy plugin mailers and email alerts? (Read 2075 times)
laralar
Newbie
Posts: 6
Karma: 0
HAProxy plugin mailers and email alerts?
«
on:
January 21, 2020, 06:54:11 am »
Hello
I am new to opnsense and Haproxy plugin
Any idea where I can put mailers and email-alerts section. For example:
3.6. Mailers
------------
It is possible to send email alerts when the state of servers changes.
If configured email alerts are sent to each mailer that is configured
in a mailers section. Email is sent to mailers using SMTP.
mailers <mailersect>
Creates a new mailer list with the name <mailersect>. It is an
independent section which is referenced by one or more proxies.
mailer <mailername> <ip>:<port>
Defines a mailer inside a mailers section.
Example:
mailers mymailers
mailer smtp1 192.168.0.1:587
mailer smtp2 192.168.0.2:587
backend mybackend
mode tcp
balance roundrobin
email-alert mailers mymailers
email-alert from test1@horms.org
email-alert to test2@horms.org
server srv1 192.168.0.30:80
server srv2 192.168.0.31:80
«
Last Edit: January 21, 2020, 07:13:02 am by laralar
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
19.7 Legacy Series
»
HAProxy plugin mailers and email alerts?