Download URL to use in scripted installation (cmk-server)

Hi,

at the moment download url looks like this:

#https://download.checkmk.com/checkmk/2.1.0p3/check-mk-raw-2.1.0p3_0.jammy_amd64.deb

Nice would be tags like latest instead of “p3”. Is this possible?

At the moment, i have to set patchlevel (p3) and subpatchlevel (p3_0) as variables manually to create the download url.

Thankfull for any ideas!

regards,
Dennis

Hi, wouldn’t parsing the complete url from the stable_downloads.json How to download latest version of MK programatically - #12 by baris.leenders be easier anyway :slight_smile:

1 Like

hi,

thank´s for the fast reply. i´ll have a look!

cheers,
Dennis

download_cmk.sh (2.2 KB)
stripped down a little from how we use it internally, I guess the interesting parts are the jq stuff to parse the json.

not the most beautiful script but easy to debug and read (I hope)

2 Likes