Tuesday, December 29, 2015

Monitor CentOS 7 Client with OMD / Check_MK

Quick instructions for adding a CentOS 7 client to OMD / Check_MK.

Log into the CentOS 7 client via ssh/terminal. Install check-mk-agent

# yum install check-mk-agent



Once installed, edit xinetd config:

# nano /etc/xinetd.d/check-mk-agent

Uncomment only_from and add IP of your OMD/Check_MK server



Save and Close

Start and enable startup for xinetd service:

# systemctl start xinetd.service
# systemctl enable xinetd.service

Add port 6556 to firewall:

# firewall-cmd --add-port=6556/tcp --permanent
# firewall-cmd --reload
# firewall-cmd --list-all

Now you can add the client to your Check_MK panel via New Host and it will automatically add the checks.