How to accidentally continue writing Web-GUI for Haproxy

It's been two years and 4 days since I wrote How to accidentally write a Web-GUI for Haproxy, and things have not been there for a long time - 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”.

How to accidentally continue writing Web-GUI for Haproxy

1. Perhaps I’ll start with the first thing that catches your 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. There are pages for each server, which is convenient for understanding the operation of individual services. It looks like this:

How to accidentally continue writing Web-GUI for Haproxy

3. Nginx support added! Unfortunately, it was not possible to integrate the same way as HAProxy due to the poorer capabilities for displaying your statistics in the free version of Nginx-a, but the main functions (editing, comparing and versioning configs, working and installing services) of HAProxy-WI are still available for nginx.

How to accidentally continue writing Web-GUI for Haproxy

4. You can deploy full-fledged 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 on 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 therefore 95% of all installations now go through Ansible. Really convenient, and also more reliable. One pros around!

6. How can you not reinvent the wheel within the wheel? A child of a bicycle, so to speak ... Such a small bicycle, perhaps three-wheeled: the ability to simply monitor ports for port availability, an HTTP response, and check the response by keyword. Yes, not many functions, but it’s easy to install and administer 🙂

How to accidentally continue writing Web-GUI for Haproxy

7. Very cool work with HAProxy RunTime API. Why so cool? This is only with us and ... perhaps everything. Sure sounds a little pretentious, but I really like how it works. This is how it looks like working with many loved and hated at the same time stick-table:

How to accidentally continue writing Web-GUI for Haproxy

Probably everything from the main. There was a lot of work related to groups, roles, security and bug detection… You know what? Now there is a website, 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

Source: habr.com

Add a comment