Saturday, August 15, 2015

Step by step procedure to setup Check_mk on Centos 6

Check_MK

Check_MK Multisite, a comprehensive tool that addresses many of Nagios's shortcomings. It provides a web interface for easy administration and configuration, a user-friendly dashboard, a robust notification system, and easy-to-install monitoring agents for many Linux distributions. If it weren't for Check_MK Multisite we would have to use different views for different tasks and it wouldn't be possible to configure all the settings without resorting to working with configuration files.
Open Monitoring Distribution with Check_MK makes it easy and accessible for everyone to set up their own monitoring system

Check_MK architecture




Step by step setup of Check_Mk on CentOS 6.0

1) Download the rpm of omd. I have tested it on omd-1.10

    wget "http://files.omdistro.org/releases/centos_rhel/omd-1.10-rh61-31.x86_64.rpm"

2) Now install the rpm and glibc package
    rpm -ivh omd-1.10-rh61-31.x86_64.rpm
    yum install glibc

3) If above rpm says some packages are missing in the system, then

    rpm -ivh omd-1.30-rh66-35.x86_64.rpm 2>> /tmp/list
    xargs yum -y install < /tmp/list

4) After complete installation check the omd version to verify the installation
    [root@localhost ~]# omd version
    OMD - Open Monitoring Distribution Version 1.10

5) Now we have to create a directory in which all our    
     configuration files will get saved. You can give any name.
 
     [root@localhost opt]# omd create checkmktest

6) Once you fire the above create command it will create a     user with your directory name and you can login    
   through it.
      [root@localhost opt]#su - checkmktest

7) You can check the directories and files which are  
     created in that dir.
     OMD[checkmktest]:~$ ls
   
8) Now start the omd. It will start apache, nagios,    
    rrdcache
    OMD[checkmktest]:~$omd start

9) Now open your browser and fire below link
     http://localhost/checkmktest/check_mk/
     It will ask for username and password
     username: omdadmin
     password: omd

10) Your check_mk setup is done. You can change your    
       password through UI

11) Below is the snapshot of check_mk UI
     

   
    12) Check_Mk agent installation and other check_mk commands will post in my next blog.











    

1 comment: