django-smokeping is an app for Django to configure your Smokeping installation.
- django-mptt
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
Add "smokeping" and "mptt" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = ( ... 'mptt', 'smokeping', )
Add "middleware" to your MIDDLEWARE_CLASSES setting like this:
MIDDLEWARE_CLASSES = ( ... 'smokeping.middleware.StripWhitespaceMiddleware', )
Include the polls URLconf in your project urls.py like this:
url(r'^smokeping/', include('smokeping.urls')),
Run python manage.py syncdb to create the smokeping models.
Start the development server and visit http://127.0.0.1:8000/admin/
to start with smokeping (you'll need the Admin app enabled).
- Visit http://127.0.0.1:8000/smokeping/ to view your configuration exported.
- You will find a config file example in "tools".
Put it in your smokeping directory "/etc/smokeping/"
- You will find a get_config.py script example in "tools".
Put it in your smokeping directory "/etc/smokeping/config.d/"
- You will find a smokeping-get-config.cron example in "tools".
Put it in your cron directory "/etc/cron.d/"