System monitoring is an important part of daily administrative tasks. Following our recent webinars, showing the ways we can monitor our Open-E DSS V7, we decided to prepare a how-to instruction for you.
We will show you how to configure the necessary tools, update your Open-E DSS V7 and finally, access and use the monitoring interface.
What is Nagios, OMD and check_mk?
Before we jump into a configuration process, you may need a quick introduction to the tools we will mention in this post.
Nagios is one of the most popular open-source monitoring software applications. It offers monitoring and alerting for servers, switches, applications and services.
OMD (Open Monitoring Distribution) bundles Nagios together with many important add-ons and can easily be installed on every major Linux distribution. Using it, we can avoid compiling and integrating Nagios add-ons manually.
Check_mk is a status GUI written in Python which supports user definable views and is able to display the status of several sites in one combined view. A very intuitive design and an easy operation are one of the strongest points of this tool.
The following instruction was made in Ubuntu. However, a similar configuration can be made in other Linux distributions.
Installing and configuring OMD
We start with the installation and configuration of OMD packages. Please follow the steps below:
From root level*, update and upgrade your distribution’s package index using the following commands:
In addition you can upgrade your distribution’s kernel:
*You may need to use “sudo su –” command, as Ubuntu do not login root by default.
In order to install the OMD package, go to OMD website and navigate to Downloads section.
Go to package repositories and choose the relevant version of the repository (in our case it will be “Ubuntu Precise 12.04”).
In the relevant space, we insert the host’s IP and type of the protocol used:
all_hosts = [‘192.168.232.60|ssh’]
Next, we append the following entries, to define commands that will be used to connect to API (see convention below):
datasource_programs = [ (“ssh –pdefault port number– i
ssh key's location path–lusername for API + host IP + command
that will be run over API to DSS, [‘protocol used’] ,in which section our monitoring statuses will be shown), ]