talas-group/04_INFRA_DEPLOIEMENT/Ansible/roles/haproxy/files/haproxy.conf
senke 66471934af Initial commit: Talas Group project management & documentation
Knowledge base of ~80+ markdown files across 14 domains (00-13),
Logseq graph, hardware design files (KiCAD), infrastructure configs,
and talas-wiki static site.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 20:10:41 +02:00

11 lines
695 B
Text

# zabbix monitoring for haproxy
# every userparameters here suppose that you have a stat file at "/run/haproxy/monitoring.sock"
# General info that don't need discovery, uses a cache file that is automatically refreshed if it is older than 1 minute
UserParameter=haproxy.info[*],/etc/zabbix/scripts/haproxy_info.sh $1
# discovery for FRONTEND, BACKEND and SERVERS, no cache
UserParameter=haproxy.discovery[*],/etc/zabbix/scripts/haproxy_discovery.sh $1
# return a specific stat for a specific pxname and svname, uses a cache file that is automatically refreshed if it is older than 1 minute
UserParameter=haproxy.stats[*],/etc/zabbix/scripts/haproxy_stat.py --pxname $1 --svname $2 --stat $3