neurogeek / haproxyctl Goto Github PK
View Code? Open in Web Editor NEWHAProxy control tool
HAProxy control tool
Could you please add a license to this project to make it easier for others to reuse and fork. If you have no opinion on license, can I suggest APL2.
Currently there's no way to connect haproxyctl to a remote TCP socket.
Right now, I can use the following to connect directly to the socket but it'd be nice to have a utility to do this.
stats socket [email protected]:80 level admin
[root@localhost ~]# telnet 1.2.3.4 80
[root@localhost ~]# haproxyctl -k 1.2.3.4:80
Traceback (most recent call last):
File "/usr/local/bin/haproxyctl", line 109, in <module>
sts = main(args)
File "/usr/local/bin/haproxyctl", line 80, in main
h_so = HaPConn(args.socket)
File "/usr/local/lib/python2.6/site-packages/haproxy/conn.py", line 16, in __init__
self.open()
File "/usr/local/lib/python2.6/site-packages/haproxy/conn.py", line 24, in open
self.sock.connect(self.sfile)
File "<string>", line 1, in connect
socket.error: [Errno 2] No such file or directory
pip3
install the version 0.3.1 of haproxyctl
which is not python 3 ready
i have tested this on CentOS 7 only
is it possible to push a more recent version to pypi ?
Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.