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’, ‘CELERY’.
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 = [
...
url(r'^status/', include('server_status.urls')),
]
Release Notes
0.3: Added status_all property to the status results JSON. 0.2: Support for celery validation. 0.1.1: Included tests 0.1: Initial Release
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-server-status-0.4.0.tar.gz
(20.1 kB
view hashes)
Close
Hashes for django-server-status-0.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2fd86482abd83e62a414671e9e002fddf90a911efc15780c5e90ea410bbc14a |
|
MD5 | 851b176b554716d23cbba16a0d6113a6 |
|
BLAKE2b-256 | 2617c4162f1f6af5ef88449646890b0a2d965b8a2af419b463d68205b9c8731f |