Answer the question
In order to leave comments, you need to log in
How to parse HAProxy logs and send values to Zabbix?
Comrade citizens!
I got stuck on parsing haproxy logs with sending values to Zabbix in real time.
Here is the command to extract the time spent processing a request:
tail -f haproxy.log | awk '{print $10}' | cut -d/ -f4
echo "- haproxy.app.processing.time 1234"|zabbix_sender --config /etc/zabbix/zabbix_agentd.conf --input-file - -vv
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question