Script and template to export data from haproxy to zabbix
I’ve just created a zabbix template with a script which can be used to feed performance data from haproxy to zabbix. The script firsts uses HTTP to get the /haproxy?stats;csv page, parses the CVS and uses zabbix_sender command line tool to send each attribute to the zabbix server.