]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MEDIUM: Document when email-alerts are sent
authorSimon Horman <horms@verge.net.au>
Thu, 30 Apr 2015 04:10:35 +0000 (13:10 +0900)
committerWilly Tarreau <w@1wt.eu>
Thu, 30 Apr 2015 05:30:51 +0000 (07:30 +0200)
Document the influence of email-alert level and other configuration
parameters on when email-alerts are sent.

Signed-off-by: Simon Horman <horms@verge.net.au>
doc/configuration.txt

index f72339a04588db276b66b921ee99740bd4f4c72a..780d6b5054088780306cb45b1a882c228773036c 100644 (file)
@@ -2786,6 +2786,15 @@ email-alert level <level>
   "email-alert to" to be set and if so sending email alerts is enabled
   for the proxy.
 
+  Alerts are sent when :
+
+  * An un-paused server is marked as down and <level> is alert or lower
+  * A paused server is marked as down and <level> is notice or lower
+  * A server is marked as up or enters the drain state and <level>
+    is notice or lower
+  * "option log-health-checks" is enabled, <level> is info or lower,
+     and a health check status update occurs
+
   See also : "email-alert from", "email-alert mailers",
              "email-alert myhostname", "email-alert to",
              section 3.6 about mailers.