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 !!
Visit the Skwissh demo (username test
/ password test
).
Follow @skwissh on Twitter to see our latest updates.
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
You're ready to go ! Connect to the application and start configure your servers and sensors !
-
Uses Django 1.4.1.
-
Uses Django applications and addons :
- django-kronos from Johannes Gorset.
- django-extra-views from Andrew Ingram.
-
Uses Fabric SSH Python library.
-
Uses jqPlot jQuery plotting and charting library.
-
Uses Zurb Foundation responsive CSS/JS/HTML bootstrap.
-
Includes icons from TheNounProject.