]> arthur.barton.de Git - netdata.git/blob - conf.d/health.d/haproxy.conf
allow all configuration options to be set from the command line; #1991
[netdata.git] / conf.d / health.d / haproxy.conf
1 template: haproxy_backend_server_status
2       on: haproxy_hs.down
3    units: failed servers
4    every: 10s
5   lookup: average -10s
6     crit: $this > 0
7     info: number of failed haproxy backend servers
8       to: sysadmin
9
10 template: haproxy_backend_status
11       on: haproxy_hb.down
12    units: failed backend
13    every: 10s
14   lookup: average -10s
15     crit: $this > 0
16     info: number of failed haproxy backends
17       to: sysadmin
18
19 template: haproxy_last_collected
20       on: haproxy_hb.down
21     calc: $now - $last_collected_t
22    units: seconds ago
23    every: 10s
24     warn: $this > (($status >= $WARNING)  ? ($update_every) : ( 5 * $update_every))
25     crit: $this > (($status == $CRITICAL) ? ($update_every) : (60 * $update_every))
26     info: number of seconds since the last successful data collection
27       to: sysadmin