haproxy.conf 621 B

1234567891011121314151617181920212223
  1. template: haproxy_backend_server_status
  2. on: haproxy_hs.down
  3. class: Errors
  4. type: Web Proxy
  5. component: HAProxy
  6. units: failed servers
  7. every: 10s
  8. lookup: average -10s
  9. crit: $this > 0
  10. info: average number of failed haproxy backend servers over the last 10 seconds
  11. to: sysadmin
  12. template: haproxy_backend_status
  13. on: haproxy_hb.down
  14. class: Errors
  15. type: Web Proxy
  16. component: HAProxy
  17. units: failed backend
  18. every: 10s
  19. lookup: average -10s
  20. crit: $this > 0
  21. info: average number of failed haproxy backends over the last 10 seconds
  22. to: sysadmin