Linux monitoring tool: Install OMD (Open Monitoring Distribution) — LinuxTechLab
Tags: DevOps, Linux, Open Source, Ubuntu, Monitoring

OMD or Open Monitoring Distribution is one of the best things that will make every System Admin’s day. OMD is an open source server, network monitoring, Linux monitoring tool that comes bundled with a number of pre-installed monitoring applications.

List of all the bundled monitoring tools are as follows,

* Nagios

* Thruk Monitoring interface

* ICINGA

* NagVIS

* PNP4Nagios

& then, we also have DOKU wiki, which is used for creating documentation.

That means if you install OMD, you have all these Linux monitoring tools installed on your machine. You can then use any or all of these tools for monitoring in your network. Installation on OMD is very simple, we only need to install the OMD package & all the tools will be installed along. Then we only have to choose the monitoring tool we want to use & configure the client machine according to that tool.

Recommended Read: Easy guide to setup Nagios monitoring using SSH (check_by_ssh)

Also Read: Install Grafana & integrate with Prometheus for complete monitoring

We will now discuss how to install omd on Ubuntu & CentOS machine…

Installation on Ubuntu Machines

At the time of writing this tutorial, 1.30 is the latest available version for OMD. As mentioned above, to install OMD we need to grab the package for Ubuntu, download the package using the following command,

$ wget http://files.omdistro.org/releases/1.30/omd-1.30.vivid.amd64.deb

NOTE: OMD has recently developed a new version which has some changes to it but this version still a very choice Linux monitoring tool.

That’s the package for Ubuntu 15.04 but it works for Ubuntu 16.04 as well. Now execute the following command to install the package,

$ sudo apt-get install omd-1.30.vivid.amd64.deb

Now let’s see the CentOS installation .

(Recommended Read : Beginner’s guide for installing and configuring Nagios server )

CentOS Installation

We need rpm version to install OMD on CentOS machines, so download the rpm using the following command,

$ wget http://files.omdistro.org/releases/1.30/omd-1.30.rhel7.x86_64.rpm

& install it using,

$ sudo yum install -nogpgcheck omd-1.30.rhel7.x86_64.rpm

We now have our system ready with OMD installed on it we will now configure OMD.

Note: — You can find all the packages on the

Configurations

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

$ sudo omd create monitoring

this will create a new instance on omd with name ‘monitoring’ along with a user, group & also a home folder for the user ‘monitoring’ & it will be created under ‘/omd/sites/’.

Next switch the user to ‘monitoring’,

$ sudo su — monitoring

& start the omd instance by executing the following command,

$ omd start

Once the instance is up & running, open a browser & enter the following URL to access the instance with all the monitoring tools,

http://localhost/monitoring

Enter IP address of the server in place of localhost, if using any other machine on the network. Default username is ‘omdadmin’ with default password as ‘omd’, as also seen in first screenshot.

To start using any of the listed monitoring tools, just click on it & you can than access the tool. Configure the tool & start monitoring.

These are good Linux monitoring tools, isn’t it ?

In our future tutorials, we will discuss complete configuration of each of these tools. Leave your queries/questions/suggestions in the comment box below.

If you think we have helped you or just want to support us, please consider these :-

Donate us some of you hard earned money:

Linux TechLab is thankful for your continued support.