Skip to main content

HAProxy Monitoring Integration

sematext sematext on

New functionality is rolling out in Sematext!  We just added HAProxy monitoring support for this popular TCP/HTTP load balancer and proxy.

See also: Apache monitoring, and Nginx & Nginx Plus monitoring.

Monitoring HAProxy Session Rate

haproxy-session-rate copy 2

HAProxy Metrics

Sematext collects key HAProxy metrics from the HAProxy load balancer of the underlying proxies/servers, as you can see in the chart below.

Metric Description
status 1 (UP/OPEN) 0 (DOWN)
downtime total downtime (in seconds)
rate number of sessions per second over last elapsed second
rate_max max number of new sessions per second
rate_lim limit on new sessions per second
scur current sessions
smax max sessions
slimit sessions limit
stot total sessions
lbtot total number of times a server was selected
bin bytes in
bout bytes out
dreq denied requests
dresp denied responses
ereq error requests
eresp response errors
econ connection errors
wretr retries (warning)
wredis redispatches (warning)
weight server weight (server), total weight (backend)
act server is active (server), number of active servers (backend)
bck server is backup (server), number of backup servers (backend)

HAProxy Alerting

You can create threshold-based or machine learning-based anomaly detection on any of these HAProxy metrics, of course, and you can also rely on heartbeat alerts to detect any HAProxy daemon going down.  Any alerts can be emailed or you can use any of the Alert notification integrations such as PagerDuty, Big Panda, Slack, Nagios, or any other WebHook.

You can check out Sematext live demo and see some more of Sematext monitoring, alerting and anomaly detection functionality.  In addition to native monitoring for apps like Solr, Elasticsearch, Hadoop, HBase, Spark, Cassandra, Kafka, Storm, and many more, Sematext Monitoring also integrates with Sematexts Logs to add centralized logging functionality and correlation of metrics, logs, alerts, anomalies, and events.

Like what you see here?  Sound like something that could benefit your organization?  Then try Sematext free for 14 days.