GithubHelp home page GithubHelp logo

mageuser / django-monitor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from diegogslomp/django-monitor

0.0 1.0 0.0 10.22 MB

Web-based Django App to monitor hosts

License: MIT License

Python 65.57% HTML 34.43%

django-monitor's Introduction

Monitor

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

Monitor is a simple Web-based Django app to monitor hosts through ICMP packets (ping) using this daemon.

Monitor Index Page

How-To

  1. 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.

  2. Create a project:

    django-admin.py startproject foo_project
    
  3. Download and Install app from github:

    pip install https://github.com/chonpz28/django-monitor/raw/master/dist/django-monitor-0.1.6.tar.gz
    
  4. Add "monitor" to project's setting INSTALLED_APPS (/foo_project/foo_project/settings.py):

    INSTALLED_APPS = (
        ...
        'monitor',
    )
    
  5. Include the monitor URLconf in your project urls.py:

    url(r'^monitor/', include('monitor.urls', namespace='monitor')),
    
  6. Migrate hosts models to project's database:

    python manage.py migrate
    
  7. Create superuser if a new project was created:

    python manage.py createsuperuser
    
  8. Start the development server:

    python manage.py runserver 0.0.0.0:8000
    
  9. Visit http://localhost:8000/admin/ to create hosts and services (need the Admin app enabled).

  10. Run the monitor daemon to start monitoring:

    python manage.py monitord
    
  11. Visit http://localhost:8000/monitor/

  12. Enjoy!

django-monitor's People

Contributors

diegogslomp avatar gitter-badger avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.