How to accidentally continue writing Web GUI for Haproxy

Two years and 4 days have passed since I wrote How to accidentally write a Web-GUI for Haproxy , and things are no longer there - everything is changing and developing and HAProxy-WI is trying to match this trend. A lot of work has been done in two years, and I want to tell you about the main changes now, so: welcome to the "cat".







1. Perhaps I'll start with the fact that the first thing that catches the eye, and this, of course, is the design. In my opinion, everything has become more logical, understandable and convenient, and of course cute :). Menu sections have become more structured.



2. Pages for each server have appeared, which is convenient for understanding the work of individual services. It looks like this:







3. Nginx support is now available! Unfortunately, it did not work to integrate as well as HAProxy due to the more meager possibilities for displaying statistics in the free version of Nginx, but the main functions (editing, comparing and versioning of configs, working and installing services) of HAProxy-WI are still available for Nginx.







4. You can deploy full monitoring for HAProxy and Nginx! It consists of: Grafana, Prometheus and Nginx and HAProxy exporters. A couple of clicks and welcome to the dashboards!



5. In the comments to the previous post, I was told several times that using bash scripts to install services is shooting yourself in the foot. I agree with them and that's why 95% of all installations now go through Ansible. It is really convenient and moreover more reliable. Some pluses around!



6. How can you not reinvent a bicycle in a bicycle? A child of a bicycle, so to speak ... A small cycling pedagogue, perhaps three wheeled: the ability to simply monitor ports for port availability, HTTP response and check the response by keyword. Yes, there are not many functions, but it's easy to install and administer :)







7. Very cool work with HAProxy RunTime API. Why so cool? Only we have such and ... perhaps all. It sounds a bit pretentious, of course, but I really like how it works. For example, it looks like working with many loved and hated at the same time stick-table:







Perhaps all of the main. There was a lot of work related to groups, roles, security and bug-finding ... But in general, you know what? Now there is a site where there is a demo of HAProxy-WI and you can poke everything yourself and where there is a changelog. Just donโ€™t need a "habro effect" please, otherwise I have a frail server for the site and demo. And a link to GitHub



All Articles