Complete monitoring solution : Install OMD (Open Monitoring Distribution)
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 tool that comes bundled with a number of pre-installed monitoring tools. List of all the bundled monitoring tools are as follows,
* Check_MK Multisite
* Thruk Monitoring interface
& than we also have DOKU wiki, which is used for creating documentation.
That means if you install OMD, you have all these tools installed on your machine. You can than 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. Than we only have to choose the monitoring tool we want to use & configure the client machine according to that tool.
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
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 )
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 Official OMD website.
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,
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.
In our future tutorials, we will discuss complete configuration of each of these tools. Leave your queries/questions/suggestions in the comment box below.