salt.beacons.haproxy module

Watch current connections of haproxy server backends. Fire an event when over a specified threshold.

New in version 2016.11.0.

salt.beacons.haproxy.beacon(config)

Check if current number of sessions of a server for a specific haproxy backend is over a defined threshold.

beacons:
  haproxy:
    - www-backend:
        threshold: 45
        servers:
          - web1
          - web2
    - interval: 120