Technically its possible bind the stats socked on a tcp port iirc, do make sure to either bind it on 127.0.0.1 or firewall it properly. I have no clue if those admin tools can use tcp connection to perform their administration tasks..

Op 18-11-2015 om 17:03 schreef Pavlos Parissis:

On 18/11/2015 04:41 μμ, Ed Young wrote:
Pavlos,

I did mean a web service, but basically what I need is a programmatic
way to manage haproxy, and if it isn't a web service, I can always wrap
it with a web service.

My apologies for my python inexperience, so I need some clarification:
haproxyadmin is a python library that uses the stats socket provided by
haproxy, yes?
Yes.

haproxytool is a python tool that uses the haproxyadmin library, yes?
Yes.

haproxyadmin must be installed on the same server as haproxy, yes?
Yes.

haproxytool must be installed on the same server as haproxy, yes?
Yes.


Cheers,
Pavlos



Reply via email to