aesthetic changes to haproxy alarms
Costa Tsaousis (ktsaou) committed
Jan 13, 2017 at 00:21 UTC
11dadb75c94fd19af39997f72ed877f3e04b828a
1 file changed
+6
-8
conf.d/health.d/haproxy.conf
+6
-8
@@ -1,19 +1,19 @@
1
- template: haproxy_backend_server_status
1
+template: haproxy_backend_server_status
2
on: haproxy_hs.down
3
units: failed servers
4
every: 10s
5
- lookup: average -10s
5
+ lookup: average -10s
6
crit: $this > 0
7
- info: Some of your backend servers is down!
7
+ info: number of failed haproxy backend servers
8
to: sysadmin
9
10
- template: haproxy_backend_status
10
+template: haproxy_backend_status
11
on: haproxy_hb.down
12
units: failed backend
13
every: 10s
14
- lookup: average -10s
14
+ lookup: average -10s
15
crit: $this > 0
16
- info: Some of your backends is down!
16
+ info: number of failed haproxy backends
17
to: sysadmin
18
19
template: haproxy_last_collected
@@ -25,5 +25,3 @@ template: haproxy_last_collected
25
crit: $this > (($status == $CRITICAL) ? ($update_every) : (60 * $update_every))
26
info: number of seconds since the last successful data collection
27
to: sysadmin
28
-
29
-