• 1-888-289-2246
  • 24x7x365 Presence

Setting up the check_mk agent on Linux

 1. Verify if the server already has the check_mk agent installed, using the command below:
[root@cpannneltest ~]# rpm -qa | grep check_mk

If this returns any matching package name, this means that the check_mk agent is already installed.

2. If no result is returned by the command above, check_mk is missing, and can be set up as per the steps below:
[root@cpannneltest ~]# cd /usr/local/src
[root@cpannneltest ~]# wget http://mathias-kettner.de/download/check_mk-agent-1.1.10p3-1.noarch.rpm OR

[root@cpannneltest ~]# wget http://mathias-kettner.com/download/check_mk-agent-1.2.0p3-1.noarch.rpm

[root@cpannneltest ~]# yum –nogpgcheck -y localinstall check_mk-agent-1.1.10p2-1.noarch.rpm xinetd

[root@cpannneltest ~]# sed -i ’42 i         only_from      = 17x.x.x.x’ “/etc/xinetd.d/check_mk”

[root@cpannneltest ~]# /etc/init.d/xinetd reload

3. Allow the inbound TCP port 6556 in the firewall.

Now this node can be added in the check_mk admin panel on the Nagios server.