Skip to main content

SSH monitoring Django application

Project description

http://rsaikali.github.com/django-skwissh/images/skwissh/skwissh-logo.png

DEMO SITE : Visit the Skwissh demo (username test / password test) to see Skwissh in action.

More info : Github Pages for Skwissh

Python Package Index : django-skwissh

Travis : Last build status

https://secure.travis-ci.org/rsaikali/django-skwissh.png?branch=master

Introduction

A Django application for remotely monitoring servers using SSH.

In background (crontabed jobs) Skwissh uses Python Fabric to execute SSH commands, aka. “sensors”, get the output and store timestamped values. Measures are taken every minute.

On the other side, Skwissh is able to display nice charts (linechart, piechart or simple text) with aggregated measures.

Default sensors available (tested on Ubuntu 12.04) :

  • Memory

  • CPU

  • WaitIO

  • Load Averages

  • Disk usage

  • Top

But you can easily add your own ones !

Follow @skwissh on Twitter to see latest updates.

Installation

Skwissh can be installed from Pypi:

pip install django-skwissh

Configure your Django project in a normal way (database, etc…).

Add skwissh and kronos to your Django INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'kronos',
    'skwissh',
)

Add Skwissh to your urls.py:

# Skwissh
url(r'^skwissh/', include('skwissh.urls')),

Synchronize your database (this command will load defaut sensors through fixtures):

./manage.py syncdb

Install Skwissh tasks (will write to your user crontab, thanks to ‘django-kronos’):

./manage.py installtasks

You can check that 4 crontab job have been configured:

crontab -l

If you want to activate i18n (French & English currently supported), follow the next steps:

In your project settings.py, add the Django LocaleMiddleware and set the LANGUAGES variable:

MIDDLEWARE_CLASSES = (
   ...
   'django.middleware.locale.LocaleMiddleware',
   ...
)

LANGUAGES = (
   ('fr', 'Français'),
   ('en', 'English'),
)

You’re ready to go. Connect to the application and start configure your servers and sensors.

Screenshots

Load averages

http://rsaikali.github.com/django-skwissh/images/skwissh/loads-screenshot.png

Disk usage

http://rsaikali.github.com/django-skwissh/images/skwissh/diskusage-screenshot.png

Top output

http://rsaikali.github.com/django-skwissh/images/skwissh/top-screenshot.png

Server edition

http://rsaikali.github.com/django-skwissh/images/skwissh/editserver-screenshot.png

Sensor edition

http://rsaikali.github.com/django-skwissh/images/skwissh/editsensor-screenshot.png

Credits

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

django-skwissh-0.0.6.zip (585.9 kB view details)

Uploaded Source

django-skwissh-0.0.6.tar.gz (538.7 kB view details)

Uploaded Source

File details

Details for the file django-skwissh-0.0.6.zip.

File metadata

  • Download URL: django-skwissh-0.0.6.zip
  • Upload date:
  • Size: 585.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-skwissh-0.0.6.zip
Algorithm Hash digest
SHA256 3b829a7061b82e81cc0ddd0c9b581144e9706fb627a03734046ae3e5fc9efd04
MD5 3d1664a8d155fb2f012c442c0283ced7
BLAKE2b-256 cfdb5fd327dcc2362619540df48428b3339e0c4aa4cf6ecd4027327bb65f41f7

See more details on using hashes here.

File details

Details for the file django-skwissh-0.0.6.tar.gz.

File metadata

File hashes

Hashes for django-skwissh-0.0.6.tar.gz
Algorithm Hash digest
SHA256 c6eb57745f2a367ead679acd599eb7f4150d77c0619d1aed5c8e9a99e88c839a
MD5 b75dc46b4280c6435fc2d2516b98eeb5
BLAKE2b-256 d780777fb842ebd02944e8517b58cfd185a5feba23c4fa4ed1fd4cf2d7fed7ea

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page