Skip to main content

Nginx, Haproxy configs and DNS analyzer.

Project description

“Let me show, where your service”

PyPI latest version PyPI downloads/month https://img.shields.io/travis/m-messiah/distributor.svg?style=flat-square Documentation Status

What is it?

When you have many frontend servers - it’s a big headache to know, which of them listens your service now, especially, if you often need to move some services between groups of frontend balancers. Moreover, if you have so many domain names, it is also difficult to monitor their actuality without automatic systems.

Distributor is a web app, which can get Nginx and HAproxy configurations from your frontend servers, and clearly show which of your frontends listen each service and ip address.

How it works?

Distributor can get configs from GitLab, where frontends push their Nginx and HAproxy configs, also it can get dns zone transfers and handle list of your domains from nic.ru.

If your fronts doesn’t push their configs, you need to customize code to get configs from other places.

Usage

sudo -u www-data distributor-gen -c config.ini -l distributor.log -o /var/www/

Where config.ini is your config file as described in documentation, and /var/www/ is the directory, which published by some static web-server.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

distributor-2.3.tar.gz (12.3 kB view hashes)

Uploaded Source

Built Distributions

distributor-2.3-py3-none-any.whl (15.4 kB view hashes)

Uploaded Python 3

distributor-2.3-py2-none-any.whl (15.4 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page