1. Download the appropriate packages
If you have a subscription, on your subscription downloads page
you will find a suitable RPM or DEB package for your distribution
for every available Checkmk-Version. For a free test or
small installations of Checkmk you can use our free Editions.
These don’t need in consequence any subscription. You are still
able to do an upgrade any time to go to on of the Checkmk Enterprise Editions
on a later on.
Please consider when selecting a package:
Firstly, choose a version of Checkmk, a distribution and the version of this distribution.
We recommend the latest stable version. If you need an older version anyway, you can find these in download archive at the of the page.
The name and version of your distribution must be strictly identical.
Choose one of the Editions. If you’re unsure, you can get an overview to the differences of the editions.
After you downloaded the package to your machine, you need to copy the
file to the target Linux system where Checkmk needs to be installed. You can
do that for example with the program WinSCP or — if you are able
to use ssh connections — with the command line tool scp
.
To be able to copy files to your future Checkmk-server using scp
the
package openssh-server needs to be installed. If that is not the case already,
you can set it up using the following command:
root@linux# apt install openssh-server
Once this is done you can copy for example the package of the Checkmk Raw Edition for Ubuntu 20.04 (focal fossa) using the command below:
root@linux# scp check-mk-raw-2.0.0p3_0.focal_amd64.deb root@mymonitoring.mydomain.org:
2. Signed-package installation
All packages are signed using GnuPG. Through the use of this signature, on the one hand it can be verified whether the package really is from Checkmk, and on the other hand it can be verified that the package is complete.
Depending on which optional packages were installed during the setup of your distribution, you will have to install dpkg-sig including all its dependencies. To do so, just enter the following command:
root@linux# apt install dpkg-sig
So that these signed packages can be installed in the usual way, one time only you will need to import our public key so that the signature will be trusted. First, load the key directly from our website:
root@linux# wget https://download.checkmk.com/checkmk/Check_MK-pubkey.gpg
Alternatively, the key can also be obtained from keys.openpgp.org:
root@linux# gpg --keyserver keys.openpgp.org --recv-keys 434DAC48C4503261
root@linux# gpg --armor --export 434DAC48C4503261 > Check_MK-pubkey.gpg
Then import the key from the list of trusted signatures. Under Debian and Ubuntu the following command is required:
root@linux# gpg --import Check_MK-pubkey.gpg
Once the key has been added, you can verify the Checkmk-package using the following command:
root@linux# dpkg-sig --verify check-mk-raw-2.0.0p3_0.focal_amd64.deb
Afterwards you can install the Checkmk-package using following command. Please note that you should state the full path to the .deb file after apt install
:
root@linux# apt install /tmp/check-mk-raw-2.0.0p3_0.focal_amd64.deb
3. Final test
After the successful installation of Checkmk, and all dependencies, you will
have access to the omd
command. With this command you are able
to create and manage monitoring sites. You can request the
installed version to verify your installation:
root@linux# omd version
OMD - Open Monitoring Distribution Version 2.0.0p3.cre