Welcome! This is the documentation for HATop version 0.7.7, last updated Oct 05, 2010.
What is HATop?
HATop is an interactive ncurses client and real-time monitoring,
statistics displaying tool for the HAProxy TCP/HTTP load balancer.
HATop's appearance is similar to top(1). It supports various modes for detailed statistics of all configured proxies and services in near realtime. In addition, it features an interactive CLI for the haproxy unix socket. This allows administrators to control the given haproxy instance (change server weight, put servers into maintenance mode, ...) directly out of hatop (using keybinds or the CLI) and monitor the results immediately.
HATop is written in pure Python
and has no external dependencies.
It requires Python 2.4 or later and HAProxy 1.4 or later.
First of all, make sure you have the stats socket enabled in the haproxy config:
global stats socket /var/run/haproxy/haproxy.sock mode 0600 level admin
That's all you need to use HATop:
$ hatop -s /var/run/haproxy/haproxy.sock
See also: HATop Installation
Getting the HATop source code using Git:
$ git clone git://labs.feurix.org/feurix/admin/hatop.git