OMD, complete network monitoring tool for Ubuntu

localhost omd web interface

In the next article we are going to take a look at OMD (Open Monitoring Distribution). This tool It can be a great help to any web server administrator. It is a monitoring platform and a new concept of how to install, maintain and update a system built in Nagios.

Nagios plugins in a single environment help create a homogeneous solution to monitor all systems. From operating systems and web server infrastructure to SAP systems and databases (Oracle, DB2, Microsoft SQL Server).

The biggest fear of a web administrator is that, for one reason or another, the server that the hosts will fail. For ensure the proper functioning of a website and to be able to act as soon as possible in case of failure. It is always advisable to use specific tools to automatically control the status of a website, notifying us if something goes wrong.

OMD's main objective is make "dirty work" available to everyone which requires the use of applications such as Nagios, which must be compiled and deployed manually on the server. As this tool handles all this process autonomously, saving us time and reducing possible errors. It is an open source server, a tool to monitor the network in which we will find several pre-installed tools included to perform some of the tasks.

The list of all the monitoring tools integrated in OMD is as follows:

  • Nagios
  • Check_MK Multisite
  • Thruk monitoring interface
  • INCINGA
  • NagVIS
  • PNP4Nagios

That means that if you install OMD, you will be able to have all these tools on your machine. You can use any or all of these tools to monitor the network, depending on your needs.

Now we will talk about how to install OMD on Ubuntu (17.04 in this example).

Installing OMD on Ubuntu 17.04

OMD installation is very simple, we only need to install OMD package. Then we just have to choose the monitoring tool we want to use and configure the client machine. Before that, we will have to stop to import the GPG key and install the software.

Install GPG key

The first step is import gpg key. This step needs to be done only once.

gpg --keyserver keys.gnupg.net --recv-keys F8C1CA08A57B9ED7

gpg --armor --export F8C1CA08A57B9ED7 | apt-key add -

If the above commands fail for whatever reason the server is unavailable etc ... you can directly import the gpg key from the repository server with:

wget -q "https://labs.consol.de/repo/stable/RPM-GPG-KEY" -O - | sudo apt-key add -

Install OMD

To carry out the installation we have to add the repository of the people who have developed this program to our software list. To do this, from the terminal (Ctrl + Alt + T) we write the following:

echo "deb http://labs.consol.de/repo/stable/ubuntu $(lsb_release -cs) main" > /etc/apt/sources.list.d/labs-consol-stable.list

After this, we can update and then install. To do this, from the same terminal, we write the following script:

sudo apt update && sudo apt install omd

Now we have our system ready with OMD installed, we can dedicate ourselves to configuring and learning how to use OMD.

If it were the case that the installation shows us some dependency problem, we can always write in the terminal (Ctrl + Alt + T) to try to solve it:

sudo apt --fix-broken install

This should fix it. If you want to install this program, in another version of Ubuntu or in another operating system, you can find all packages on the site official website of the project.

Basic configuration

To start using the monitoring tools, we need to create an instance in OMD. To create an instance use the following command:

Create omd instance

sudo omd create monitoring

This will create a new instance in the program with the name 'monitoring' along with a user, group and also a home folder for the 'monitoring' of the user. This folder will be created in '/ omd / sites /'.

Now it is the turn of the user 'monitoring'. We will do this by typing in the terminal:

sudo su - monitoring

We will start the OMD instance by executing the following command:

omd start

omd start

Once the instance is active, we will go to our preferred browser and type the following URL to access the instance with all the monitoring tools:

omd interface

http://localhost/monitoring

Write the server's IP address instead of localhost, if you use any other machine on the network. The default username is 'omdadmin'. The default password is also 'omd'. All this data, including the access URL, can be observed in the console when we create an instance in OMD, as it happened in the first console capture.

Delete

To get rid of this program, we will only have to open a terminal (Ctrl + Alt + T) and type the following:

sudo apt remove omd

The repository can be conveniently removed from the Ubuntu Software application> Software sources.


Be the first to comment

Leave a Comment

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

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.