Check if there's a new CheckMK version

Hey guys
Has anybody a check to check if there’s a new CheckMK version? I created one with RobotMK, but this seems to be a little over-engineered.

Greetz

If you run Checkmk from the official Docker image, you can use this Local Check to check for updates images for all running containers.

2 Likes

Thank you - but unfortunately not with Docker.

Hi @Overlord
do you need it in Checkmk or would it be okay if you get a mail about it?

The easiest solution would be the sign up here. → lists.mathias-kettner.de Mailing Lists

There you can sign up for the Checkmk-announce list. Everytime a new version is released you’ll get a E-Mail.

Example for 2.0.0p12:
https://lists.mathias-kettner.de/pipermail/checkmk-announce/2021-October/000338.html

Hope this helps :slight_smile:
Norm

You can also watch the

topic of the forum.

I suggest the “Watching First Post” option:
image

2 Likes

if you like you can give my check a try :wink:

This check reads the data from https://checkmk.com/download and compares your CMK version aginst the available CMK versions. At the moment there is also a inventory plugin, that list all the available versions, not shure if this is realy usefull…

4 Likes

Perfect - I think this is exactly what I’m looking for

The Check doesn’t work with the changes for the 2.1.0 version and now I need a login for the Gitlab repo. Any ideas?

needs to be rewritten, so be patient please :wink:

1 Like

Hey guys,
I saw there are several posts here asking for a way to check if there is a new version of Checkmk available. @thl-cmk already created a plugin to do this, but that relies on the page checkmk.com/download. We can’t promise that the structure of that page never changes, in fact it did change this week when we released Checkmk 2.1.0.

Because of this I have created a JSON file that contains the latest version of each of the major versions that we currently support. This file is being created every 5 minutes and is publicly available on https://download.checkmk.com/stable_downloads.json

This is just the first version, I have consulted with @thl-cmk on content of the file, but if you would like to see changes in the information available in the file, send me a message.

The current structure is as follows:

{
    "version": 1,
    "checkmk": {
        "2.1.0": {
            "version": "2.1.0",
            "release_date": 1653379969,
            "class": "stable",
            "editions": {
                "cme": {
                    ...
                },
                "cre": {
                    ...
                },
                "cfe": {
                    ...
                },
                "cee": {
                    ...
                }
            }
        },
        "2.0.0": {
            "version": "2.0.0p25",
            "release_date": 1653503541,
            "class": "oldstable",
            "editions": {
                ...
            }
        },
        "1.6.0": {
            "version": "1.6.0p28",
            "release_date": 1646148925,
            "class": "oldstable",
            "editions": {
                ...
            }
        }
    },
    "appliance": {
        "1.5.1": {
            ...
        },
        "1.4.19": {
            ...
        }
    }
}

For each support major version you can see what the latest version (patch release) is and if it is the latest stable or an “oldstable”.
For the appliance I have added the latest version of the last 2 major version (1.5.x & 1.4.x).
If you are looking for the CMA “cma-2” is meant for appliance 1.4.x and cma-3 is meant for 1.5.x

Edit: we noticed there are some hashes missing for the docker images of 2.0.0p25, we’re on it.

2 Likes