Checkmk Install - Ubuntu 22.04
CheckMK is software developed in Python and C++ for IT Infrastructure monitoring. It is used for the monitoring of servers, applications, networks, cloud infrastructures, containers, storage, databases and environment sensors.
Downloading Checkmk for Ubuntu
Pull in the package using wget
1
wget https://download.checkmk.com/checkmk/2.1.0p9/check-mk-free-2.1.0p9_0.jammy_amd64.deb
Install the Checkmk Package
Now install the package including all of its dependencies
1
sudo apt install ./check-mk-free-2.1.0p9_0.jammy_amd64.deb
Afterwards we can test if the installation was successful by running the omd version command:
1
2
3
omd version
OMD - Open Monitoring Distribution Version 2.1.0p9.cfe
Create a Checkmk Monitoring Site
Use the omd command to create a new Checkmk site. You can choose your own name, in this example we named the site ‘monitoring’
1
omd create monitoring
After the site has been created you will see an output similar to the one below.
1
2
3
4
5
6
7
8
9
10
11
12
Output
Adding /opt/omd/sites/monitoring/tmp to /etc/fstab.
Creating temporary filesystem /omd/sites/monitoring/tmp...OK
Restarting Apache...OK
Created new site monitoring with version 2.1.0p9.cfe.
The site can be started with omd start monitoring.
The default web UI is available at http://your_server/monitoring/
The admin user for the web applications is cmkadmin with password: generated-password
(It can be changed with 'htpasswd -m ~/etc/htpasswd cmkadmin' as site user.)
Please do a su - monitoring for administration of this site.
Here you can see the URL on which your site is accessible, default username, and an automatically generated password for accessing the site. The site is now created, but it still needs to be started. To start the site, type:
1
omd start monitoring
When everything has been started successfully you will see an output similar to the one below.
1
2
3
4
5
6
7
8
9
Starting mkeventd...OK
Starting liveproxyd...OK
Starting mknotifyd...OK
Starting rrdcached...OK
Starting cmc...OK
Starting apache...OK
Starting dcd...OK
Starting redis...OK
Initializing Crontab...OK
Your Checkmk site is now up and running. You can visit the user interface in the browser by using the aforementioned URL.