OMD Client InstallationsteemCreated with Sketch.

in linux •  7 years ago 

OMD Client Installation




Open Monitor Distribution

For more information on Open Monitor Distribution, visit omdistro.org


Description:


OMD bundles Nagios together with many important addons and can easily be installed on
every major Linux distribution. We provide prebuilt packages for all enterprise Linux
distributions and also for some other, such as Ubuntu.

OMD currently comes with the following software:

Nagios
Monitoring Plugins (Former known as Nagios-Plugins)
nsca, check_nrpe, Icinga, Shinken, NagVis, pnp4nagios, rrdtool/rrdcached
Check_MK, MK Livestatus, Multisite, Dokuwiki, Thruk, Mod-Gearman
check_logfiles, check_oracle_health, check_mysql_health, jmx4perl
check_webinject, check_multi


Pre-Requisites:


Install the packages that are needed to support the OMD client, and configure the
dependancy service.


RHEL   RHEL   &   CentOS   CentOS Installations:


1.    Install the xinetd service:

yum clean all
yum -y install xinetd


2.   Configure the service:
Edit the /etc/xinitd.conf file and set the only_from option to the IP of the OMD Server.

only_from = 1.2.3.4


3.   Start the services:

CentOS/RHEL 6

service xinetd Start
chkconfig xinetd on


CentOS/RHEL 7

systemctl start xinetd.service
systemctl enable xinetd.service



Debian   Debian   &   Ubuntu   Ubuntu Installations:


1.    Install the xinetd service:

apt-get update
apt-get -y install xinetd wget


2.    Configure the service:
Edit the /etc/xinitd.conf file and set the only_from option to the IP of the OMD Server.

only_from = 1.2.3.4


3.    Start the services:

Debian < 8 / Ubuntu < 15.04

service xinetd Start
chkconfig xinetd on


Debian > 8 / Ubuntu > 15.04

systemctl start xinetd.service
systemctl enable xinetd.service


Install the Check_MK Agent:



RHEL   RHEL   &   CentOS   CentOS Installations:


1.    Install the check-mk-agent:

yum clean all
yum -y install check-mk-agent


2.    Run the agent:

check_mk_agent


3.    Set firewall rules:
RHEL   If the server is CentOS/RHEL > 7,   then you need to set firewalld rules

firewall-cmd --zone=public --add-port=6556/tcp --permanent
firewall-cmd --reload



Debian   Debian   &   Ubuntu   Ubuntu Installations:


1.    Install the check-mk-agent:


NOTICE:

A prepackaged check-mk-agent is not available via the standard debian repository,
however, the OMD server has all of the agents bundled into it. The check-mk-agent
can be retrieved via the OMD server.

URL:   http://hostname_or_ip/{omd site name}/check_mk/agents/

cd /tmp
wget http://omdserver.yourcompany.com/production/check_mk/agents/check-mk-agent_1.2.6p12-1_all.deb
dpkg -i check-mk-agent_1.2.6p12-1_all.deb
rm -fr check-mk-agent_1.2.6p12-1_all.deb


2.    Run the agent:

check_mk_agent


Post Requisites:


None


References:


clusterfrak.com
omdistro.org
labs.consol.de
mathias-kettner.de

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Very interesting