SSH monitoring application
Project description
Introduction
A Django application for remotely monitoring servers using SSH.
In background (crontabed jobs) Skwissh uses Python Fabric (http://fabfile.org/) 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 !!
Visit the Skwissh demo at http://skwissh.com/ (username test / password test).
Follow @skwissh on Twitter.
Installation
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 !
Credits
Uses Django 1.4.1 (https://www.djangoproject.com).
Uses Django applications and addons :
django-kronos (https://github.com/jgorset/django-kronos) from Johannes Gorset (https://github.com/jgorset).
django-extra-views (https://github.com/AndrewIngram/django-extra-views) from Andrew Ingram (https://github.com/AndrewIngram).
Uses Fabric (http://fabfile.org) SSH Python library.
Uses jqPlot (http://www.jqplot.com) jQuery plotting and charting library.
Uses Zurb Foundation (http://foundation.zurb.com) responsive CSS/JS/HTML bootstrap.
Includes icons from TheNounProject (http://thenounproject.com).
Screenshots
Load averages
Disk usage
Top output
Server edition
Sensor edition
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
File details
Details for the file django-skwissh-0.0.2.zip
.
File metadata
- Download URL: django-skwissh-0.0.2.zip
- Upload date:
- Size: 270.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b6b07396561b5d3d8ff76a70bf4da197c5884dc660827d41831b5102f0f1ebc |
|
MD5 | 0874d8d09313813fc91824d3c072088a |
|
BLAKE2b-256 | 3608786a605999ec8672f9691604da8d4bf7708208570e6a9fc074aaec2b71a3 |
File details
Details for the file django-skwissh-0.0.2.tar.gz
.
File metadata
- Download URL: django-skwissh-0.0.2.tar.gz
- Upload date:
- Size: 229.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e41f2e0cccb235554a40464aeaf9fd7d4b98bc7ac7115c21fcd3bbc0c090311f |
|
MD5 | 0bcc6aa00a78c97a53bc0aa6218163f2 |
|
BLAKE2b-256 | fd8f21b8b50a0f209df0e1283cff26416be17b2154d8aa6b383263508dab5dbc |