haproxy
Watch current connections of haproxy server backends.
Fire an event when over a specified threshold.
Added in version 2016.11.0.
-
saltext.haproxy.beacons.haproxy.__virtual__()[source]
Only load the module if haproxyctl module is installed
-
saltext.haproxy.beacons.haproxy.validate(config)[source]
Validate the beacon configuration
-
saltext.haproxy.beacons.haproxy.beacon(config)[source]
Check if current number of sessions of a server for a specific haproxy backend
is over a defined threshold.
beacons:
haproxy:
- backends:
www-backend:
threshold: 45
servers:
- web1
- web2
- interval: 120