On Tue, Apr 28, 2015 at 09:24:42AM +0200, Willy Tarreau wrote:
On Tue, Apr 28, 2015 at 02:25:02PM +0900, Simon Horman wrote:
On Tue, Apr 28, 2015 at 06:43:38AM +0200, Willy Tarreau wrote:
Hi Simon,
On Tue, Apr 28, 2015 at 10:58:56AM +0900, Simon Horman wrote:
This seems only to
Hi Simon,
On Thu, Apr 30, 2015 at 01:10:32PM +0900, Simon Horman wrote:
Hi,
the aim of this series is to make the send more email alerts when
they are likely to be useful and less when they are likely to be
unwanted.
(...)
Whole series applied, thank you very much!
Willy
On Thu, Apr 30, 2015 at 07:31:28AM +0200, Willy Tarreau wrote:
Hi Simon,
On Thu, Apr 30, 2015 at 01:10:32PM +0900, Simon Horman wrote:
Hi,
the aim of this series is to make the send more email alerts when
they are likely to be useful and less when they are likely to be
unwanted
Hi,
the aim of this series is to make the send more email alerts when
they are likely to be useful and less when they are likely to be
unwanted.
Changes in v2:
* As suggested by Willy Tarreau, lower the priority at which email alerts
for of log-health-checks messages are sent rather never
Document the influence of email-alert level and other configuration
parameters on when email-alerts are sent.
Signed-off-by: Simon Horman ho...@verge.net.au
---
doc/configuration.txt | 9 +
1 file changed, 9 insertions(+)
diff --git a/doc/configuration.txt b/doc/configuration.txt
index
This is similar to the way email alerts are sent when servers are marked as
DOWN.
Like the log messages corresponding to these state changes the messages
have log level notice. Thus they are suppressed by the default email-alert
level of 'alert'. To allow these messages the email-alert level
Lower the priority of email alerts for log-health-checks messages from
LOG_NOTICE to LOG_INFO.
This is to allow set-ups with log-health-checks enabled to disable email
for health check state changes while leaving other email alerts enabled.
In order for email alerts to be sent for health check
On Tue, Apr 28, 2015 at 02:25:02PM +0900, Simon Horman wrote:
On Tue, Apr 28, 2015 at 06:43:38AM +0200, Willy Tarreau wrote:
Hi Simon,
On Tue, Apr 28, 2015 at 10:58:56AM +0900, Simon Horman wrote:
This seems only to lead to excessive verbosity which seems
much more appropriate for
Hi Simon,
On Tue, Apr 28, 2015 at 10:58:56AM +0900, Simon Horman wrote:
This seems only to lead to excessive verbosity which seems
much more appropriate for logs than email.
Signed-off-by: Simon Horman ho...@verge.net.au
---
src/checks.c | 1 -
1 file changed, 1 deletion(-)
diff --git
Hi,
the aim of this series is to make the send more email alerts when
they are likely to be useful and less when they are likely to be
unwanted.
Simon Horman (2):
MEDIUM: Do not send email alerts corresponding to log-health-checks
messages
MEDIUM: Send email alerts when servers
This is similar to the way email alerts are sent when servers are marked as
DOWN.
Like the log messages corresponding to these state changes the messages
have log level notice. Thus they are suppressed by the default email-alert
level of 'alert'. To allow these messages the email-alert level
This seems only to lead to excessive verbosity which seems
much more appropriate for logs than email.
Signed-off-by: Simon Horman ho...@verge.net.au
---
src/checks.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/checks.c b/src/checks.c
index 3702d9a4b0fe..efcaff20219b 100644
---
On Tue, Apr 28, 2015 at 06:43:38AM +0200, Willy Tarreau wrote:
Hi Simon,
On Tue, Apr 28, 2015 at 10:58:56AM +0900, Simon Horman wrote:
This seems only to lead to excessive verbosity which seems
much more appropriate for logs than email.
Signed-off-by: Simon Horman ho...@verge.net.au
, Willy Tarreau wrote:
Hi Simon,
On Fri, Jan 30, 2015 at 11:22:52AM +0900, Simon Horman wrote:
Hi Willy, Hi All,
the purpose of this email is to solicit feedback on an implementation
of email alerts for haproxy the design of which is based on a
discussion
in this forum some months ago
Hi Simon,
On Fri, Feb 06, 2015 at 11:11:55AM +0900, Simon Horman wrote:
Hi,
This series adds a new option which allows configuration of the maximum
log level of messages for which email alerts will be sent.
(...)
Great! Both patches applied. Thanks!
Willy
This patch adds a new option which allows configuration of the maximum
log level of messages for which email alerts will be sent.
The default is alert which is more restrictive than
the current code which sends email alerts for all priorities.
That behaviour may be configured using the new
Hi,
This series adds a new option which allows configuration of the maximum
log level of messages for which email alerts will be sent.
The default is alert which is more restrictive than
the current code which sends email alerts for all priorities.
That behaviour may be configured using the new
Horman wrote:
Hi Willy, Hi All,
the purpose of this email is to solicit feedback on an implementation
of email alerts for haproxy the design of which is based on a discussion
in this forum some months ago.
It would be great if we could use something like this
acl low_capacity nbsrv(foo_backend
Thanks Willy,
I did look in the github repo at https://github.com/haproxy but this says
that the last commit was 7 days ago.
Am I looking in the wrong place?
~Ta
Scott
On 3 February 2015 at 22:49, Willy Tarreau w...@1wt.eu wrote:
Hi Scott,
On Tue, Feb 03, 2015 at 03:27:13PM +, Scott
Hi Willy,
Can you please just confirm where this has been merged into as I've
downloaded the v1.6-dev0 archive today and I can't see it in there also
I've tried Horms github version at
https://github.com/horms/haproxy/tree/devel/email-alert which does look
to have all the options in but I
of email alerts for haproxy the design of which is based on a discussion
in this forum some months ago.
It would be great if we could use something like this
acl low_capacity nbsrv(foo_backend) lt 2
mail alert if low_capacity
In some environments you only care to wake up the on-call sysadmin
On 01/02/2015 03:15 μμ, Willy Tarreau wrote:
Hi Simon,
On Fri, Jan 30, 2015 at 11:22:52AM +0900, Simon Horman wrote:
Hi Willy, Hi All,
the purpose of this email is to solicit feedback on an implementation
of email alerts for haproxy the design of which is based on a discussion
Hi Scott,
On Tue, Feb 03, 2015 at 03:27:13PM +, Scott McKeown | redIT wrote:
Hi Willy,
Can you please just confirm where this has been merged into as I've
downloaded the v1.6-dev0 archive today and I can't see it in there also
I've tried Horms github version at
,
the purpose of this email is to solicit feedback on an implementation
of email alerts for haproxy the design of which is based on a discussion
in this forum some months ago.
It would be great if we could use something like this
acl low_capacity nbsrv(foo_backend) lt 2
mail alert
Hi Simon,
On Mon, Feb 02, 2015 at 11:16:09AM +0900, Simon Horman wrote:
* No options to configure the format of the email alerts
You know, even if we make this format very flexible, some users
will complain that they cannot send it in html and attach graphs :-)
Haha, yes indeed
/configuration.txt
@@ -1224,6 +1224,36 @@ peer peername ip:port
server srv2 192.168.0.31:80
+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
On Tue, Feb 03, 2015 at 01:00:44PM +0900, Simon Horman wrote:
Signed-off-by: Simon Horman ho...@verge.net.au
---
doc/configuration.txt | 104
++
(...)
Great! I changed the commit tag to DOC and applied it as-is.
Thank you Simon!
Willy
Hi Simon,
On Fri, Jan 30, 2015 at 11:22:52AM +0900, Simon Horman wrote:
Hi Willy, Hi All,
the purpose of this email is to solicit feedback on an implementation
of email alerts for haproxy the design of which is based on a discussion
in this forum some months ago.
Thanks for working
Hi Willy,
On Sun, Feb 01, 2015 at 03:15:27PM +0100, Willy Tarreau wrote:
Hi Simon,
On Fri, Jan 30, 2015 at 11:22:52AM +0900, Simon Horman wrote:
Hi Willy, Hi All,
the purpose of this email is to solicit feedback on an implementation
of email alerts for haproxy the design of which
This currently does nothing beyond parsing the configuration
and storing in the proxy as there is no implementation of email alerts.
Signed-off-by: Simon Horman ho...@verge.net.au
---
include/types/mailers.h | 6 +--
include/types/proxy.h | 10 +
src/cfgparse.c | 109
of the beginning of the message
*/
};
+struct email_alert {
+ struct list list;
+ struct list tcpcheck_rules;
+};
+
+struct email_alertq {
+ struct list email_alerts;
+ struct check check; /* Email alerts are implemented using
existing check
Hi Willy, Hi All,
the purpose of this email is to solicit feedback on an implementation
of email alerts for haproxy the design of which is based on a discussion
in this forum some months ago.
This patchset allows configuration of mailers. These are like
the existing haproxy concept of peers
]
*Sent:* Monday, November 3, 2014 3:51 PM
*To:* Andrey Zakabluk
*Subject:* RE: email alerts
You a create config file?
El 02-11-2014 8:55, Andrey Zakabluk a.zakab...@velcom.by escribió:
Hi! Maybe You can send me your config file for logpp ? For example. I
want try use LogPP.
I am created
from the configuration file.
This done in the following patch files:
cfgparse.c
checks.c
log.c
global.h
So in the configuration file I have added the option “email_alert” to the
global section with to and from address.
http://blog.loadbalancer.org/3-ways-to-send-haproxy-health-check-email
file.
This done in the following patch files:
cfgparse.c
checks.c
log.c
global.h
So in the configuration file I have added the option “email_alert” to the
global section with to and from address.
http://blog.loadbalancer.org/3-ways-to-send-haproxy-health-check-email-alerts
section with to and from address.
http://blog.loadbalancer.org/3-ways-to-send-haproxy-health-check-email-alerts/
-
I try add text from patch file in the end original file and make haproxy
file.
/opt/haproxy/global.h.diff /opt/haproxy/include/types/global.h
cat
in the following patch files:
cfgparse.c
checks.c
log.c
global.h
So in the configuration file I have added the option “email_alert”
to the global section with to and from address.
http://blog.loadbalancer.org/3-ways-to-send-haproxy-health-check-email-alerts/
-
I try add text
Hi All,
I've been looking into sending email alerts from HAProxy and have written a
short blog on what I found with a few a few simple examples :
http://blog.loadbalancer.org/3-ways-to-send-haproxy-health-check-email-alerts/
If anyone has any thoughts ,suggestions or improvements please let me
38 matches
Mail list logo