Django Informer ==============
A pluggable app to monitoring your own infrastructure and third party services.
Below a quick guide to install and run, more detailed documentation is in the docs directory.
Install Django Informer -----------------
pip install django_informer
Add to your INSTALLED_APPS -----------------
INSTALLED_APPS = (
...
'informer',
)
Set informers on settings -----------------
DJANGO_INFORMERS = (
('informer.checker.database', 'DatabaseInformer'),
('informer.checker.database', 'PostgresInformer'),
('informer.checker.storage', 'StorageInformer'),
('informer.checker.celery', 'CeleryInformer'),
('informer.checker.cache', 'CacheInformer'),
)
Set interval (in minutes) between the saved results -----------------
DJANGO_INFORMER_PREVENT_SAVE_UNTIL = 5 # default is None
Include the URLconf in your project urls.py -----------------
url(r'^informer/', include('informer.urls')),
Run migrate to create the informer models -----------------
python manage.py makemigrations
python manage.py migrate
Copy static presentation files -----------------
python manage.py collectstatic
py.test tests
Start the development server and visit http://server:port/informer/ to view monitoring results.