By following this tutorial, in 10 minutes you will have the core monitoring system for your network.
The very first step is to verify that your server meets the requirements, the installation script will try to meet all requirements automatically.
You can get familiar with the Shinken Architecture now, or after the installation. This will explain the software components and how they fit together.
Ready? Let's go!
install script is located at the root of the Shinken sources. It creates the user and group, installs all dependencies and then installs Shinken. It is compatible with Debian, Ubuntu, Centos/RedHat 5.x and 6.x. The only requirement is an internet connection for the server on which you want to install Shinken (Are you behind a proxy?)
You can get the sources and launch the install script with just this command :
curl -L http://install.shinken-monitoring.org | /bin/bash
You can then jump to the ”Start Shinken” section and continue from there.
If instead want to make it manually, go in the next step :)
cd ~ wget http://www.shinken-monitoring.org/pub/shinken-1.2.4.tar.gz tar -xvzf shinken-1.2.4.tar.gz
By default the installation path is
/usr/local/shinken, but it can be specified in the configuration file (see install.d/README).
You need to have lsb-release package installed.
cd ~/shinken-1.2.4 ./install -i
Done! Shinken is installed and you can edit its configuration files in
/usr/local/shinken/etc (by default).
Init.d scripts are also copied, so you just have to enable them at boot time (with
To start Shinken:
But wait! The installation script can do much more for you, such as installing plugins, addons, upgrading and removing an installation. See the install.d/README file or full install script doc to know how you can get the best out of it.
To list the plugins and addons available:
A common and fully featured installation is:
./install -i &&\ ./install -p nagios-plugins &&\ ./install -p check_mem &&\ ./install -p manubulon &&\ ./install -a multisite &&\ ./install -a pnp4nagios &&\ ./install -a nagvis &&\ ./install -a mongodb
This will automatically install:
install.d/shinken.confto the latest stable version:
For more information regarding the install script. See the full install script doc
See update Shinken.
yum install python-pyro
yum install shinken shinken-poller\ shinken-scheduler shinken-arbiter \ shinken-reactionner shinken-broker shinken-receiver
for i in arbiter poller reactionner scheduler broker; do systemctl enable shinken-$i.service; done
for i in arbiter poller reactionner scheduler broker; do systemctl start shinken-$i.service; done
for i in arbiter poller reactionner scheduler broker; do systemctl stop shinken-$i.service; done
Easy is not it?
Download the executable installer for Shinken 1.2.2.
Thanks to J-F BUTKIEWICZ for preparing the installation package.
Installation instructions at http://www.veosoft.net/install-shinken/
What? You don't want to read them? No problem.
Simply launch the .exe and click Next until the installation has run its course.
The executable installer creates service and copies the necessary files into C:/Program Files (x86)/Shinken by default, but you can change that target folder as you want.
By default, check_wmi_plus.pl use an user/password to access the windows WMI functions. But locally (shinken host managed itself on windows), this cannot be done. So the local template always works even if a wrong user/password is set. In the commands file, just set local to user and localhost to the computer.
But now, how to configure shinken to manage others windows hosts using wmi. Shinken team provides a set of commands in the windows template. We will see how to set the user/password to work properly. But there is an “extra” function to use the poller's service to push its credential to check_wmi_plus. This kind of configuration and globaly the use of check_wmi_plus under windows is described in this link.
The configuration is where you put the
etc directory. Usually it's
nagios.cfgis meant to be fully compatible with Nagios;
shinken-specific.cfgcontains all Shinken specific objects (ie. daemons, realms, etc.).
No, there is no need to change your existing Nagios configuration. You can use an existing Nagios configuration as-is, as long as you have installed the plugins expected by the configuration.
Once you are comfortable with Shinken you can start to use its unique and powerful features.
The next logical steps for a new user are as listed in the Getting Started page:
New and experienced users sometimes need to find documentation, troubleshooting tips, a place to chat, etc. The Shinken community provides many resources to help you. You can discuss installation documentation changes in the Shinken forums or in the wiki discussion page.