descriptionShinken is a powerful reimplementation of Nagios written in python that enables organizations to identify and resolve IT problems before they impact the business.
homepage URLhttp://www.shinken-monitoring.org/
repository URLgit://shinken.git.sourceforge.net/gitroot/shinken/shinken
ownerdavid.voit@lfst.bayern.de
last changeMon, 21 Mar 2011 21:15:38 +0000 (21 22:15 +0100)
last refreshThu, 21 Nov 2024 07:46:56 +0000 (21 08:46 +0100)
content tags
add:
README
===================================
Presentation Of the Shinken project
===================================

Welcome in the Shinken project.

Shinken is a new, Nagios compatible monitoring tool, written in
Python. The main goal of Shinken is to allow users to have a fully
flexible architecture for their monitoring system that can easily
scale to large environments. It’s as simple as in all the marketing
“cloud computing” slides, but here, it’s real!

Shinken is backwards-compatible with the Nagios configuration standard
and plug-ins. It works on any operating system and architecture that
supports Python, which includes Windows and GNU/Linux.


How to install Shinken
=========================

You just need to add a shinken user (in the shinken group) on your
system::

   useradd --user-group shinken
   usermod --lock shinken

First way: all in a directory (ugly but quick way ;)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Then move the shinken directory and give it to the shinken user::

  mv shinken /usr/local
  chown -R shinken:shinken /usr/local/shinken

Second way: district directory (clean way)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

You can install really the application by using the `setup.py` script.
It will install the shinken library in the python path, create the
`/etc/shinken` and `/var/lib/shinken` directory (you can change them in
the `setup.cfg` file before launching `setup.py`). You will
need the `python-setuptools` package for it. Then just run::

  sudo python setup.py install --install-scripts=/usr/bin/

For the compilation part in both way it's easy: there is no
compilation!

Requirements
=========================

`shinken` requires

* `Python`__ 2.4 or higher (Python 2.6 or higher is recommended)
* `setuptools`__ or `distribute`__ for installation (see below).
* `Pyro`__
* `multiprocessing` Python package when using Python 2.4 or 2.5
  (`multiprocessing` is already included in Python 2.6 and higher)

__ http://www.python.org/download/
__ pyro
__ http://pypi.python.org/pypi/multiprocessing/

If (and only if) you plan to use the `livestatus` module, I'll also
need

* `simplejson`__ 
* `pysqlite`__

__ http://pypi.python.org/pypi/simplejson/ and
__ http://code.google.com/p/pysqlite/

Just untar and launch `python setup.py install` (and be sure to have
installed the `python-devel` package too).

For Python, it should be okay with nearly all distribution.

Under ubuntu, you can grab the Pyro module with::

  sudo apt-get install pyro

Under other distributions, you can search for it::

  yum search pyro

And if you do not find it, you can install it from PyPI::

  easy_install pyro

And that all folks :)


Where is the configuration?
================================

The configuration is where you put the etc directory (in
`/usr/local/shinken/etc` for a quick and dirty install, `/etc/shinken`
for a clean one).

The `nagios.cfg` file is meant ot be shared with Nagios. All Shinken
specific objects (like link to daemons or realms) are in the file
`shinken-specific.cfg`.


I need to change my existing Nagios configuration?
===================================================

No, there is no need to change the existing configuration - unless
you want to add some new hosts and services.


How to run Shinken
================================

Quick and dirty way
~~~~~~~~~~~~~~~~~~~~

It's easy, there is a already launch script for you::

  shinken/bin/launch_all.sh

Clean way
~~~~~~~~~~~~~~~~~~~~

The `setup.py` installes some `init.d` scripts, let's use them::

  /etc/init.d/shinken-scheduler start
  /etc/init.d/shinken-poller start
  /etc/init.d/shinken-reactionner start
  /etc/init.d/shinken-broker start
  /etc/init.d/shinken-arbiter start


Known bugs
================================

None we know :)

If you find one, please post it in our trac site:
https://sourceforge.net/apps/trac/shinken/report/2


How to run uninstall Shinken
================================

Clean all :)
~~~~~~~~~~~~~~~~~~~~

There a script call clean.sh on the source directory for this :)
Beware, it will supress all Shinken related files!
shortlog
2011-03-21 Gerhard LausserMerge branch 'master' of ssh://lausser,shinken@shinken... master
2011-03-21 Gerhard Lausser*Add statistics for the livestatus module (multisite...
2011-03-21 Gabes JeanAdd : check_hpjd rule with printer discovery.
2011-03-21 Gabes JeanFix : test for service and host good definition with...
2011-03-21 Gabes JeanFix : error message with unknown host for a service.
2011-03-21 Gabes JeanAdd : service without host will be just droped, like...
2011-03-21 Gabes JeanFix : forgot to declare last test case in auto test...
2011-03-21 Gabes JeanFix : forgot the last commit test case.
2011-03-21 Gabes JeanFix : Nagios allow elements without contacts. Do alike.
2011-03-21 Gabes JeanFix : all logs are in UTF8, that's all.
2011-03-21 Gabes JeanMerge branch 'master' of ssh://naparuba@shinken.git...
2011-03-21 Gabes JeanAdd : protection against adding again and again the...
2011-03-19 napFix : still fixing hot dep module under windows.
2011-03-19 napFix : fix hot module under windows test. (at leat I...
2011-03-19 napAdd : cannot think integration tests got database ready.
2011-03-18 Gabes JeanFix : test end to end by lost the discovery dir in...
...
tags
13 years ago 0.5.5
13 years ago 0.5.1
13 years ago 0.5
13 years ago 0.4.2
13 years ago 0.4.1
13 years ago 0.4
14 years ago 0.3
14 years ago 0.2.1
14 years ago 0.2
14 years ago 0.1
heads
13 years ago master