Hi,

On 07.12.09 20:49, Israel Garcia wrote:
> Hi,
> A simple question, is there any web interface to administer haproxy via web?

A simple answer: Nope, at least no free one I have heard of. Maybe you
could find something from loadbalancer.org

However, I am currently looking into developing a simple twisted and/or
django based REST-webservice to manage some aspects of Haproxy.

Currently, I am planning the following features:

* Create and edit a complete configuration by using something like
  haproxy-config (http://github.com/finnlabs/haproxy)
    * Add, edit and remove complete sections
    * Allow member servers of backends and listeners to be added and
      removed

* Use the stats-socket to interface directly with Haproxy
    * Set the weight of individual backend servers (for Haproxy 1.4)
    * Provide a (readonly) webservice API to the various Haproxy stats

Optionally: Provide a callback interface to perform certain used defined
actions based on state changes of ressources by providing callbacks to
which user code can register itself. This interface could be called from
something like syslog-ng in nearly realtime.

I plan on hacking on it during the evenings / nights of the upcomming
26c3. So if you have any ideas, feel free to provide them here.

--Holger

Reply via email to