haproxy.conf 688 B

12345678910111213141516171819202122232425
  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. summary: HAProxy server status
  11. info: Average number of failed haproxy backend servers over the last 10 seconds
  12. to: sysadmin
  13. template: haproxy_backend_status
  14. on: haproxy_hb.down
  15. class: Errors
  16. type: Web Proxy
  17. component: HAProxy
  18. units: failed backend
  19. every: 10s
  20. lookup: average -10s
  21. crit: $this > 0
  22. summary: HAProxy backend status
  23. info: Average number of failed haproxy backends over the last 10 seconds
  24. to: sysadmin