A Django app to provide system status through API
Project description
BZMon is a Django app to provide access to system monitoring status through API.
Detailed documentation is in the “docs” directory.
Quick start
Add “bzmon” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'bzmon', ]
Include the bzmon URLconf in your project urls.py like this:
path('bzmon/', include('bzmon.urls')),
Add BZMON_CONFIG to your django settings.py like this:
BZMON_CONFIG = { "token": { "required": True, "token": "token" }, "monitor": { "memory": True, "storage": True }, "memory": { "warn": True, "warn_level": 500 }, "storage": [ { "path": str(BASE_DIR), "warn": True, "warn_level": 500 }, { "path": "/unexist", "warn": True, "warn_level": 500 } ], "contacts": [ { "name": "Bo Zhao", "email": "bo.zhao@bz-dev" } ] }
Visit http://127.0.0.1:8000/bzmon/?token=token to get .
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-bzmon-0.1.1.tar.gz
(15.4 kB
view hashes)