Install Shinken Monitoring Framework on Ubuntu 14.04 Server

 

Shinken Logo

About Shinken Monitoring Framework

Shinken is an Open Source monitoring framework based on Nagios core. It is written using Python and is licensed under the terms of the GNU Affero General Public License. It is based on Nagios Core so you can use the Nagios configuration and plugins without modifying or re-writing them. Shinken has no limits regarding distribution. You can scale it to your LAN, through your DMZs and even across several datacenters. Shinken is very easy compared to Nagios in terms of usage and installation. It is multi-platform, and you can easily migrate from Nagios.

Features

The following are the features of Shinken.

  • Ready to run monitoring packs;
  • Endless scalability and RAID-like availability;
  • Focus on critical business impacts only;
  • Full virtualization integration;
  • Keep your Nagios configuration and plugins;
  • Load balancing;
  • High availability;
  • Multi-paltform;
  • Multi sites management;
  • and many more.

In this guide, we will see how to install and configure Shinken on Ubuntu 14.04 system.

Installation

Change to root user with command:

Install the following required dependencies.

Create a new user namely shinken.

Now, run the following command to download and install Shinken.

Sample output:

Shinken has been installed now.

Change to the ‘shinken’ user and initialize shinken

Sample output:

Shinken Plugins Installation

Enter the following command to download Shinken plugins.

You can find the latest plugins here.

Extract the tar file.

Now, install the plugins using commands:

Restart Shinken service.

Shinken Webui Installation

Now, install Shinken web user interface using command:

Sample output:

Install Shinken identification module too.

Sample output:

Here, we will install SQLitedb module using command:

Sample output:

We have finished the installation of Shinken and it’s modules now. You can find the installation and configuration files in the following locations.

  • /etc/shinken for configuration files
  • /var/lib/shinken for shinken modules, retention files…
  • /var/log/shinken for log files
  • /var/run/shinken for pid files

Shinken Configuration

First we need to enable Webui by editing the broker-master.cfg file.

Add the following line:

Edit webui.cfg file to enable authentication modules and SQLite database for the user interface.

Add the following line:

Save and close the file.

Restart the Shinken service.

Now, you’ll be able to access the Shinken webui using URL: http://ip-address:7767. The default username/password is admin/admin.

However, It is recommended to change the admin user password to something strong.

Edit the following file and change the default admin user password.

Save and close the file.

Now, restart Shinken service.

Now, open up your web browser and access the Shinken web console using URL: http://ip-address:7767.

Enter the username and password which we defined in the above steps.

That’s all for now.

Leave a Reply

Your email address will not be published. Required fields are marked *