Monitor is a simple Web-based Django app to monitor hosts through ICMP packets (ping) using this daemon.
It's recommended to use pyenv for Python install. See this script to install it on Centos or this to install it on Ubuntu/Debian.
Create a project:
django-admin.py startproject foo_project
Download and Install app from github:
pip install https://github.com/chonpz28/django-monitor/raw/master/dist/django-monitor-0.1.6.tar.gz
Add "monitor" to project's setting INSTALLED_APPS (/foo_project/foo_project/settings.py):
INSTALLED_APPS = ( ... 'monitor', )
Include the monitor URLconf in your project urls.py:
url(r'^monitor/', include('monitor.urls', namespace='monitor')),
Migrate hosts models to project's database:
python manage.py migrate
Create superuser if a new project was created:
python manage.py createsuperuser
Start the development server:
python manage.py runserver 0.0.0.0:8000
Visit http://localhost:8000/admin/ to create hosts and services (need the Admin app enabled).
Run the monitor daemon to start monitoring:
python manage.py monitord
Enjoy!