Skip to main content

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 = patterns('',
    ...
    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


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.3.1.tar.gz (19.4 kB view details)

Uploaded Source

File details

Details for the file django-server-status-0.3.1.tar.gz.

File metadata

File hashes

Hashes for django-server-status-0.3.1.tar.gz
Algorithm Hash digest
SHA256 33bb6bf65c009cdf6bc129f38786ac3b14f0c4811bb5ff05b98ad77ddd61cbad
MD5 94b8dbe08918d450411f1c40d731a818
BLAKE2b-256 3bcda6e7b67b2e143b489f468780e5a41e1d240aba3926cdc39bb22db5b748b5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page