Hi, today we are going to setup OMD (Open Monitoring Distribution) which is one the best solution for network and and systems monitoring that comes with bundle of different network monitoring tools that is Nagios, Icinga and Shinkin including some of there required addons. The addons makes the process simple for OMD setup to install it on any major Linux distribution that comes with one single installation package.
So, OMD implements a completely new concept of how to install, maintain and update a monitoring system built on Nagios by providing a lot of features that are necessary for the system administrators to keeps track of your servers' service status, hardware and uptime that keep them informed by sending alerts about the critical situation.
In this tutorial we will be using Ubuntu 15.04 server with basic packages while the basic system resources we are using is 1 GB of RAM, 2 CPUs and 20 GB of disk space on our Ubuntu cloud Server.
Further we have configured the statci IP with FQDN and have root access to the server to perform all system level tasks.
So, we will start from the very basic step to update the server before starting the OMD installation process. To do so run the below command to update your ubuntu server.
Download OMD Package
The latest distribution package of OMD for Ubuntu can be downloaded from the official web page of OMD Download, that consists of a list of all the released packages for Open ource Linux distribution.
Copy the source link, and download it using the below command.
Installing OMD on Ubuntu
After downloading the debian package of OMD distribution , we will run the following command for its installation on ubuntu server.
#dpkg -i omd-1.20.trusty.amd64.deb
The installation will ends due to some of its required dependencies as shown in the above image. To install all of these missing dependencies run the below command.
#apt-get -f install
The missing dependencies will need to get about 60.9 MB of archives.
After this operation, 1,736 kB disk space will be freed.
To proceed we have to Press "Y" to continue.
During the installation process you will prompted to configure your MySQL database password.
So, configure your secure password and press "OK" key to continue.
Once the installation process complete, we will run the "omd" command as shown below to confirm its successful setup.
Here in the above image we can see all its available options that will be used with omd for managing our OMD server.
Creating OMD Instance
Now we will are going to create our first OMD monitoring install that will be used for further configurations through its web interface.
Let's run the below command with any relevant name that you wish to use for web access using sudo or root user.
# omd create monitoring
Before accessing the above URL in your web browser you have to initiate your instance by using the below command.
# omd start monitoring
Starting dedicated Apache for site monitoring...OK
Login to OMD Instance
We have done our installation setup, created and started our first monitoring instance, now open your web browser and access the default user interface as shown below by providing the default credentials as shown in the above image.
Upon successful login credentials you will be directed to the Open Monitoring Distribution web console as shown.
Chek-MK Admin Tool
Monitoing Host Agent
Now you will see that how we can add and monitor the new host agent using OMD's Chek-MK web administration tool. Simply click on the Hosts icon, fill out the host name choose the correct IP address and other information that you have.
After putting information of the new host that you want to add for monitoring, click on the "save and test" icon to check the results, if the agent is reachable to ICMP and Check-MK agent port.
Here we can see the status of all the hosts that has been added for monitoring through OMD Check-MK Web administration tool.
Open Monitoring Distribution tool is one best NMS solution for system administrators for monitoring their whole IT infrastructure through OMD. As it provides and efficient and simple way to monitor multiple hosts through multiple open source monitoring tools.