adriaaah / monit-dashboard

A web dashboard for rule all monit servers at a glance
GNU Affero General Public License v3.0
26 stars 8 forks source link

Monit Dashboard

Description

Python web application to get a dashboard of a bunch of Monit servers at a glance.

Screenshots

How does it work?

Every 300 seconds (hardcoded) the application ask for the data served by the Monit built-in web server in a XML report from each configured server. Then, thanks to the built-in web server, it is displayed in a single HTML page.

Installation on…

…Debian GNU/Linux

Web.py framework

Python libraries

…CentOS

Python PIP

Web.py framework

Python libaries

Requisites

Run it with Docker

  1. Build the image once: docker build -t monit-dashboard .
  2. Spin up a container: docker run -v $(pwd)/conf:/app/conf -p 8080:8080 monit-dashboard
  3. Point your browser to http://localhost:8080

Run

./bin/monit-dashboard.py

By default, it will be reachable at http://localhost:8080. You might change the port by adjusting app.run(port=8080) in bin/monit-dashboard.py file.

References

Config

Credits

License

AGPL