How To Install check-mk on CentOS 7

In this tutorial we learn how to install check-mk on CentOS 7. check-mk is A new general purpose Nagios-plugin for retrieving data

Introduction

In this tutorial we learn how to install check-mk on CentOS 7.

What is check-mk

check-mk is a general purpose Nagios-plugin for retrieving data. It adopts a new approach for collecting data from operating systems and network components. It obsoletes NRPE, check_by_ssh, NSClient, and check_snmp and it has many benefits, the most important are a significant reduction of CPU usage on the Nagios host and an automatic inventory of items to be checked on hosts.

We can use yum or dnf to install check-mk on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install check-mk.

Install check-mk on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install check-mk using yum by running the following command:

sudo yum -y install check-mk

Install check-mk on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install check-mk using dnf by running the following command:

sudo dnf -y install check-mk

How To Uninstall check-mk on CentOS 7

To uninstall only the check-mk package we can use the following command:

sudo dnf remove check-mk

References

Summary

In this tutorial we learn how to install check-mk on CentOS 7 using yum and dnf.