summaryrefslogtreecommitdiffstats
path: root/conf.d/health.d
diff options
context:
space:
mode:
authorIlya <ilyamaschenko@gmail.com>2017-01-11 20:32:11 +0900
committerIlya <ilyamaschenko@gmail.com>2017-01-11 20:32:11 +0900
commit275f97bcfb88da7a20fe6f37d99d40de566bcc64 (patch)
tree25490a74528ed1de63f458327333042b33ef202d /conf.d/health.d
parent53efa35918ecfe2fbc497b7be3982aef4b3e9e0c (diff)
haproxy backend server alarm added
Diffstat (limited to 'conf.d/health.d')
-rw-r--r--conf.d/health.d/haproxy.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/conf.d/health.d/haproxy.conf b/conf.d/health.d/haproxy.conf
new file mode 100644
index 0000000000..8880fe9cfc
--- /dev/null
+++ b/conf.d/health.d/haproxy.conf
@@ -0,0 +1,8 @@
+ template: haproxy_backend_server_status
+ on: haproxy_h.down
+ units: failed servers
+ every: 10s
+ lookup: average -10s
+ crit: $this > 0
+ info: Some of your backend servers is down!
+ to: sysadmin