How to monitor your Linux servers with Checkmk

Learn the way to arrange the highly effective Checkmk monitor to maintain tabs on your whole networked servers.


Ralwel, Getty Photographs/iStockphoto

As a methods/community administrator, it is on you to maintain tabs on the Linux servers in your information heart (be it on-premise or within the cloud). Given the Linux platform has a major variety of instruments that can assist you monitor these servers, you may not know the place to begin. Amongst these many titles, there may be one explicit software program bundle that you must undoubtedly check out. Stated monitor is Checkmk.

Checkmk can monitor your servers, desktops, purposes, networks and cloud environments, all from a well-designed web-based GUI dashboard. 

I’ll stroll you thru the method of putting in Checkmk after which including a monitoring agent. We’ll do each on Ubuntu Server 20.04, however know that this software program helps Debian- and RHEL-based distributions. 

There are two totally different variations of Checkmk:

  • Uncooked – the absolutely open supply model that does not embrace each function.

  • Enterprise – this consists of the Free model (which limits you to 25 hosts after 30 days, Commonplace and Managed Providers version). Discover out extra about pricing and options on the Checkmk editions matrix.

SEE: Guidelines: Server stock (TechRepublic Premium)

What you may want

To put in Checkmk, you may want a working occasion of Ubuntu Server 20.04 and a person with sudo privileges. That is it. Let’s get that server monitor up and working.

How you can set up Checkmk

You will not discover Checkmk in the usual repositories. As an alternative, head over to the obtain web page and both obtain the model you wish to use or log into your Ubuntu Server and problem the command:


You may wish to snag the obtain URL by right-clicking the Obtain button (after choosing the model you need).

As soon as the obtain is full, set up Checkmk with:

sudo dpkg -i *.deb

The set up will error out. To repair this, problem the command:

sudo apt-get set up -f

The above command will set up all the essential dependencies for Checkmk.

How you can create a Checkmk monitoring website

The subsequent step is to generate all the pieces essential for a Checkmk monitoring website (which is admittedly only a fancy time period for a Checkmk occasion). Let’s name our occasion tr_test. We’ll create that occasion with the command:

sudo omd create tr_test

The output of the command gives you the deal with of the web-based GUI and the admin login credentials in your occasion. With this taken care of, begin the occasion with:

sudo omd begin tr_test

How you can entry the web-based GUI

Open an internet browser and level it to http://SERVER/tr_test (the place SERVER is the IP deal with of the internet hosting server). Give the positioning time to load after which login with the admin credentials equipped to you by the create command. Upon profitable authentication, you may end up on the Checkmk primary dashboard (Determine A).

Determine A


The Checkmk primary dashboard is prepared so that you can add hosts.

How you can add a brand new host

For the time being, Checkmk is not monitoring something. What we have to do is add a bunch. We’ll add the server internet hosting Checkmk for instance. 

On the left sidebar, click on Setup | Brokers. Within the ensuing web page (Determine B), right-click check-mk-agent_2.0.0p9-1_all.dpkg and replica the deal with.

Determine B


Getting the obtain hyperlink for the agent to be put in.

Return to the terminal window and obtain the agent with:

wget URL

The place URL is the deal with of the agent you copied.

Set up the agent with:

sudo dpkg -i check-mk-agent_2.0.0p9-1_all.dpkg

After the agent installs, return to the Checkmk website and click on Settings | Host, after which click on Add Host. On the ensuing web page (Determine C), you may must enter the hostname of the host to be added after which click on the checkbox for IPv4 deal with. 

Determine C


Including a bunch to Checkmk.

Click on Save & go to service configuration. Finally, this new web page will record out all the discovered providers (Determine D).

Determine D


Checkmk has related to the host and is itemizing out the found providers.

If any providers are listed as Undecided, click on Repair all to resolve that downside. 

At this level, Checkmk isn’t monitoring the server on which it’s hosted. Now you can return to the dashboard and begin customizing it to view what you want for that host. You too can proceed including brokers to different servers after which add them as hosts on Checkmk.

Additionally see

Recent Articles


Related Stories

Leave A Reply

Please enter your comment!
Please enter your name here

Stay on op - Ge the daily news in your inbox