On 17/11/2015 10:37 μμ, Ed Young wrote: > I'm aware of the stats application and have it configured to manually > enable, disable and soft stop/start nodes. > > The UI is nice, but what I'm asking about is whether there is an web > service or API to enable/disable/soft stop/start nodes programmatically. >
I assume you don't mean RESTful API, so I will mention github.com/unixsurfer/haproxyadmin which is a Python module which does most of operations supported over the stats socket. This github.com/unixsurfer/haproxytool is a tool which uses the mentioned library. Both are in Python and I have some plans to write a Go API, as a way to learn Golang, but it can take time before it is ready for public release. Cheers, Pavlos
signature.asc
Description: OpenPGP digital signature