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.8.zip (608.3 kB view details)

Uploaded Source

django-skwissh-0.0.8.tar.gz (558.7 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for django-skwissh-0.0.8.zip
Algorithm Hash digest
SHA256 cc8ac555f1bef9fa93f1c87f1e93555d1cf61dd6a2bb6d0a1aa3d025e6e27c71
MD5 25b35be3bbe501d6c8489bfaae5e1651
BLAKE2b-256 583f83621dc410f11e249a8fd7905e8a4291b191eeb480ea6fec33f7d0a457af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django-skwissh-0.0.8.tar.gz
Algorithm Hash digest
SHA256 6d4475ccb060ed226fec42618930fd1c56a767113ad1d93aefd171735475f21c
MD5 c97f316c006ac4e769bbe7699c20ebda
BLAKE2b-256 0e90a33cb451d36a1fe3233fba8318ed4c8c7d77c11b843cbe8716038e299a02

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