Install and configure Check_MK 1.5 Server on Ubuntu 18.10/19.10
Check_MK is a free, open-source IT infrastructure monitoring tool. It replaces the standard Nagios GUI and way the systems are monitored on Nagios, it gives the graphical administration of monitoring and boosts other features like auto-detection of configurations in a monitored system, specials checks in addition to Nagios checks, SNMP based agentless monitoring, filtering, viewing and alerting for log records and event data.
This article will help you to install and configure Check_MK 1.5 Server on Ubuntu 18.10/19.10.
Step 1: Install Check_MK
We need to download the latest version of check_mk from official website.
# wget https://checkmk.com/support/1.5.0p24/check-mk-raw-1.5.0p24_0.disco_amd64.deb
Install Check_MK and all the dependencies required for check_mk.
# dpkg -i check-mk-raw-1.5.0p24_0.disco_amd64.deb
You may get dependency issues which can be resolved with:
# apt-get install -f
Then try the install again:
# dpkg -i check-mk-raw-1.5.0p24_0.disco_amd64.deb
You can version the check_mk version using mention command.
# omd version
Step 2: Configure Check_MK
Now, proceed with configuring monitoring instance and start to configure the server. You can use any instance name in place of ubuntu_master.
# omd create ubuntu_master
Above command will create a new instance on check_mk along with user and group name ubuntu_master. Home directory for the user is “/opt/sites/ubuntu_master”
# su - ubuntu_master
# omd start
Step 3: Access Check_MK on the web browser
Now you are good to go. You can use the below URL to access the Check_MK monitoring tool.
http://<server_IP>/<Instance_name>
OR
http://<hostname>/<Instance_name>
http://172.20.10.9/ubuntu_master
User name as “cmkadmin” and secret password was displayed in command output when you make ubuntu_master instance. In spite of the fact that we can change the password using the mentioned command or you can also the same password displayed in the command output.
# su - ubuntu_master
# htpasswd -m ~/etc/htpasswd cmkadmin
Note: If you are using the same password displayed in command output then skip the above steps.
Step 4: Download the Check_Mk agent on Linux
You can download check_mk Agents from the following URL:
http://<server_IP>/<Instance_name>/check_mk/agents
OR
http://<server_IP>/<Instance_name>/check_mk/agents
http://172.20.10.9/ubuntu_master/check_mk/agents
Enjoy it!