/django-monitor

Ping devices and check routers/switches port status

Primary LanguagePythonMIT LicenseMIT

Django Monitor

Join the chat at https://gitter.im/diegogslomp/django-monitor readthedocs

A Django application to ping devices and check port status from routers/switches through telnet connection. Tested on Enterasys S8, G3, A4 series.

Index and Detail Pages

How-To

  1. With git and pipenv installed, run:

    git clone --recurse-submodules --depth=1 https://github.com/diegogslomp/django-monitor.git
    cd django-monitor
    pipenv install --three
    pipenv run python manage.py migrate
    pipenv run python manage.py createsuperuser
    pipenv run python manage.py runserver 0.0.0.0:8000
    
  2. Visit http://localhost:8000/admin to create hosts and services.

  3. Start another terminal and run the host monitor daemon:

    pipenv run python manage.py monitord
    
  4. Visit http://localhost:8000