django-skwissh

A Django application for remotely monitoring servers using SSH

  • 所有者: rsaikali/django-skwissh
  • 平台:
  • 許可證: GNU General Public License v3.0
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

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

More info : Github Pages for Skwissh <http://rsaikali.github.com/django-skwissh/>_

Python Package Index : django-skwissh <http://pypi.python.org/pypi?:action=display&name=django-skwissh>_

Travis : Last build status <http://travis-ci.org/#!/rsaikali/django-skwissh>_

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

New Android application : Find Android Skwissh on Google Play <http://play.google.com/store/apps/details?id=com.saikali.android_skwissh>_

.. image:: http://www.android.com/images/brand/android_app_on_play_logo_large.png

============
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 !!

Follow @skwissh on Twitter <https://twitter.com/skwissh>_ 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

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

Disk usage
~~~~~~~~~~
.. image:: http://rsaikali.github.com/django-skwissh/images/skwissh/diskusage-screenshot.png

Top output
~~~~~~~~~~
.. image:: http://rsaikali.github.com/django-skwissh/images/skwissh/top-screenshot.png

Server edition

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

Sensor edition

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

=======
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).

主要指標

概覽
名稱與所有者rsaikali/django-skwissh
主編程語言JavaScript
編程語言Python (語言數: 3)
平台
許可證GNU General Public License v3.0
所有者活动
創建於2012-08-19 14:35:09
推送於2018-03-11 09:01:15
最后一次提交2014-02-10 13:45:24
發布數5
最新版本名稱v0.0.8 (發布於 2012-09-23 17:22:45)
第一版名稱v0.0.4 (發布於 2012-08-26 12:57:19)
用户参与
星數107
關注者數15
派生數32
提交數174
已啟用問題?
問題數16
打開的問題數6
拉請求數5
打開的拉請求數3
關閉的拉請求數4
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?