Skip to main content

a pluggable app to monitoring your own infrastructure and third party services.

Project description

Django Informer
==============

.. image:: https://img.shields.io/travis/rodrigobraga/informer.svg
:alt: Travis CI Status
:target: https://travis-ci.org/rodrigobraga/informer

.. image:: https://coveralls.io/repos/rodrigobraga/informer/badge.svg?branch=master&service=github
:alt: Coverage status
:target: https://coveralls.io/github/rodrigobraga/informer?branch=master

.. image:: https://img.shields.io/pypi/v/django-informer.svg
:alt: PyPi page
:target: https://pypi.python.org/pypi/django-informer

.. image:: https://img.shields.io/pypi/l/django-informer.svg
:alt: License MIT
:target: https://github.com/rodrigobraga/informer/blob/master/LICENSE

A pluggable app to monitoring your own infrastructure and third party services.

Quick Start
-----------------

Below a quick guide to install and run, more detailed documentation is in the `docs <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


Tests
-----------------

::

py.test tests


Run
-----------------

Start the development server and visit http://server:port/informer/ to view monitoring results.


.. _doc: https://github.com/rodrigobraga/informer/tree/master/docs


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_informer-0.2.2.tar.gz (12.9 kB view hashes)

Uploaded Source

Built Distribution

django_informer-0.2.2-py2.py3-none-any.whl (18.6 kB view hashes)

Uploaded Python 2 Python 3

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