Skip to content

bcahyadi/django-smokeping

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-smokeping is an app for Django to configure your Smokeping installation.

Dependencies

  • django-mptt

Installation

Install the extension with pip

$ pip install git+git://github.com/julcollas/django-smokeping.git

or alternatively if you don't have pip installed

$ python setup.py install

Quick start

  1. Add "smokeping" and "mptt" to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = (
        ...
        'mptt',
        'smokeping',
    )
    
  2. Add "middleware" to your MIDDLEWARE_CLASSES setting like this:

    MIDDLEWARE_CLASSES = (
        ...
        'smokeping.middleware.StripWhitespaceMiddleware',
    )
    
  3. Include the polls URLconf in your project urls.py like this:

    url(r'^smokeping/', include('smokeping.urls')),
    
  4. Run python manage.py syncdb to create the smokeping models.

  5. Start the development server and visit http://127.0.0.1:8000/admin/

to start with smokeping (you'll need the Admin app enabled).
  1. Visit http://127.0.0.1:8000/smokeping/ to view your configuration exported.

Usage

  1. You will find a config file example in "tools".
Put it in your smokeping directory "/etc/smokeping/"
  1. You will find a get_config.py script example in "tools".
Put it in your smokeping directory "/etc/smokeping/config.d/"
  1. You will find a smokeping-get-config.cron example in "tools".
Put it in your cron directory "/etc/cron.d/"

About

Smokeping administration interface

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 88.4%
  • HTML 11.6%