How to install Check_mk Agent in CentOS 6/7/8

Now we will add a Linux host (CentOS/RHEL 6/7/8), To add any Linux host to Check_MK we require to install Check_mk Agent. Check_mk agent package can be downloaded from OMD instance or ChecK_MK Server from URL:

http://server_IP/techoismmonitor/check_mk/agents/

This article will help you to install check_mk agent in CentOS 6/7/8

Step 1: Disable SELinux

Check SELinux status and disable it if it’s enabled.

# getenforce

Edit SELinux configuration file and change the status If SELinux is enabled.

# vim /etc/sysconfig/selinux
Change SELINUX=enforcing to SELINUX=disabled

After changing the SELinux status we need to reboot the server.

# reboot

Step 2: Add EPEL Repository

We need to install EPEL repository, as some of the Check_MK packages are not available in default repository.

For CentOS/RHEL 6/7
# yum install epel-release
For CentOS/RHEL 8
# dnf install epel-release

Step 3: Install Check_MK Agent

We need to download the check_mk agent from the check_mk server. In my case the URL will be as below:

http://172.20.10.8/techoismmonitor/check_mk/agents

Download the check_mk agent using mention command.

# wget http://172.20.10.8/techoismmonitor/check_mk/agents/check-mk-agent-1.6.0p10-1.noarch.rpm

Now you are good to install the check_mk agent into the client server.

For CentOS/RHEL 6/7
# yum install check-mk-agent-1.6.0p10-1.noarch.rpm
For CentOS/RHEL 8
# dnf install check-mk-agent-1.6.0p10-1.noarch.rpm

Now you have successfully installed the check_mk agent.

Reference:

https://checkmk.com/cms_wato_monitoringagents.html

Enjoy it!

Comments
  1. 2 months ago

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.