Monitor server status with a healthcheck.
Project description
Monitor server status with a healthcheck.
Installation
To get the latest stable release from PyPi
pip install django-server-status
To get the latest commit from GitHub
pip install -e git+git://github.com/mitodl/django-server-status.git#egg=django-server_status
Add a stanza like this to your settings. Current supported services are ‘REDIS’, ‘ELASTIC_SEARCH’, ‘POSTGRES’.
HEALTH_CHECK = ['REDIS', 'ELASTIC_SEARCH', 'POSTGRES']
Add server_status to your INSTALLED_APPS
INSTALLED_APPS = (
...,
'server_status',
)
Add the server_status URLs to your urls.py
urlpatterns = patterns('',
...
url(r'^status', include('server_status.urls')),
)