omd

———————————–SERVER-SIDE—————————————

wget https://labs.consol.de/repo/stable/rhel6/x86_64/omd-1.30.rhel6.x86_64.rpm
rpm -ivh omd-1.30.rhel6.x86_64.rpm

or
rpm -Uvh “https://labs.consol.de/repo/stable/rhel6/i386/labs-consol-stable.rhel6.noarch.rpm” 
yum install omd*
or(If rhel-7)

rpm -Uvh “https://labs.consol.de/repo/stable/rhel7/i386/labs-consol-stable.rhel7.noarch.rpm” 
yum install omd*

[root@li911-180 ~]# omd create prod
Adding /omd/sites/prod/tmp to /etc/fstab.
Creating temporary filesystem /omd/sites/prod/tmp…OK
Restarting Apache…OK
Created new site prod with version 1.30.

The site can be started with omd start prod.
The default web UI is available at http://li911-180.members.linode.com/prod/
The admin user for the web applications is omdadmin with password omd.
Please do a su – prod for administration of this site

[root@li911-180 ~]# su – prod
OMD[prod]:~$ omd start
Starting rrdcached…/omd/sites/prod/bin/rrdcached: error while loading shared libraries: libdbi.so.0: cannot open shared object file: No such file or directory
Error
Starting npcd…OK
Starting nagios…OK
Starting dedicated Apache for site prod…OK
Initializing Crontab…OK

username:omdadmin
password:omd

—————————————————CLIENT-SIDE-—————————————————
[root@li1250-113 ~]#yum install check-mk-agent*
[root@li1250-113 ~]#netstat -tlpn | grep 6556
[root@li1250-113 ~]#service xinetd status
[root@li1250-113 ~]#service xinetd start
[root@li1250-113 ~]#netstat -tlpn
[root@li1250-113 ~]#iptables -I INPUT -p tcp –dport 6556 -j ACCEPT
[root@li1250-113 ~]#service iptables save
[root@li1250-113 ~]#service iptables reload
[root@li1250-113 ~]#iptables -L
[root@li1250-113 ~]#chkconfig –list | grep xinetd
[root@li1250-113 ~]#chkconfig xinetd on
                               or
[root@li1250-113 ~]#systemctl enable xinetd.service
 
[root@li1250-113 ~]#yum install telnet
[root@li1250-113 ~]#telnet localhost 6556
 
———————————–SERVER-SIDE TO ADD AGENT————————————–
 

 

In WATO configuration
Goto=> Hosts
Goto=> New host
Assign host­name
Assign Ip­address
Add Host tags By checking Box At
Agent type (Check_MK Agent)
Criticality (Productive System)
Network Segment (Local network)
Click on => save & goto services
Accept Changes by clicking On Changes
At Last click on Activate changes
Advertisements
Posted in: omd

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s