Installing OMD on CentOS 6.4

Open Monitoring Distro is kind of akin to FAN in the sense that they both offer a complete Monitoring Solution that revolves around Nagios. OMD takes this concept a step further, implementing 3 different Monitoring Cores(Nagios, Icinga, Shinken), Several different Front-ends, and Plugins – Saving you hours of time and hassle trying to learn how to install, configure and test these systems on your own. OMD operates almost independently from your OS, utilizing different “Sites” and treating them as separate implementations of Nagios. This allows you to Have a stable working production site and a test site to experiment with new things!

 

Install CentOS 6.4

 

I prefer using Yumi to download the .iso and make it bootable. Otherwise you can download the ISO from one of the following Mirrors…

 

After you have installed CentOS, There are few things I recommend doing to make your life easier.

Enable SSH

Disable Iptables

Setup Network config

 

Installing OMD

 

Make sure you get the latest OMD & Epel Repo

Then install the latest version available..

Make sure that your system has all pre-reqs installed and up to date. (optional)

In CentOS 6.4 there is a small issue with pathing in /usr/bin/omd.
On line 794 You want to add the following highlighted text….

file(“/etc/fstab”, “a+”).write(“tmpfs  /opt%s tmpfs noauto,user,mode=755,uid=%s,gid=%s 0 0\n” % \

 

Create your “Site”

Start your Site

Restart your Services:

Then Check Status to make sure everything is running…

 

You should then be able to access your OMD Site @ http://localhost/omd.

 

 Tips & Tricks

  • There are 3Monitoring Cores” that OMD is packaged with:
    • Nagios
    • Icinga
    • Shinken
  • #OMD Config > Basic – Will allow you to Choose which Monitoring core you want to work with.
  • #OMD  will bring up a list of options available for use with the OMD command
  • Finally, You will not be able to access the web interface unless SELINUX is disabled.
    To disable SELINUX – Edit /etc/grub.conf.grub_conf_selinux_disable

 

Pin It on Pinterest