Collection of CheckMK checks (see https://checkmk.com/). All checks and plugins are provided as is. Absolutely no warranty. Send any comments to thl-cmk[at]outlook[dot]com

Skip to content
README.md 1.92 KiB
Newer Older
thl-cmk's avatar
thl-cmk committed
# Checkmk update agent [(Download the MKP package)](/../../../-/raw/master/checkmk_update.mkp "Download MKP package")
thl-cmk's avatar
thl-cmk committed

thl-cmk's avatar
thl-cmk committed
---
thl-cmk's avatar
thl-cmk committed

thl-cmk's avatar
thl-cmk committed
This plugin will check once a day if a new Checkmk version is available. The plugin reads it's data form the Checkmk download page **https://download.checkmk.com/stable_downloads.json**.
thl-cmk's avatar
thl-cmk committed

thl-cmk's avatar
thl-cmk committed
THX to Baris Leenders for providing the data as JSON download and Martin Hirschvogel for supporting the development of this plugin (both from tribe29).
thl-cmk's avatar
thl-cmk committed

thl-cmk's avatar
thl-cmk committed
**NOTE**: before updating from the special agent version of this plugin, remove the old package completely (rules and package) please. 
thl-cmk's avatar
thl-cmk committed

thl-cmk's avatar
thl-cmk committed
**NOTE**: to get the download URLs in the service details not replaced by CMK you need to disable `Escape HTML in service output` (_Setup_ > _Services_ > _Service monitoring rules_ > _Escape HTML in service output_) for the service `Checkmk Update`.

thl-cmk's avatar
thl-cmk committed
---
#### Prerequisites
thl-cmk's avatar
thl-cmk committed

For the check plugin to work
- Your CMK site servers need to run check-mk agent version 2.0.0 or higher to get CMK site informations
- The HW/SW inventory plugin for Linux must be installad and running
- The CMK server where the check runs must have access to **https://download.checkmk.com/stable_downloads.json**
thl-cmk's avatar
thl-cmk committed

thl-cmk's avatar
thl-cmk committed
---
thl-cmk's avatar
thl-cmk committed

#### Want to contribute?
Nice ;-) Have a look at the [contribution guidelines](CONTRIBUTING.md "Contributing")

---

#### Check Info:
thl-cmk's avatar
thl-cmk committed

thl-cmk's avatar
thl-cmk committed
* *service*: creates the service **_Checkmk Update_** with the CMK site name as the _item_
thl-cmk's avatar
thl-cmk committed
---
* *state*: \
    **warning**: 
thl-cmk's avatar
thl-cmk committed
    * if your Checkmk version is older than the available checkmk version for your release
    * if your Checkmk release (base version) could not be detected
thl-cmk's avatar
thl-cmk committed

thl-cmk's avatar
thl-cmk committed
    **critical**: 
thl-cmk's avatar
thl-cmk committed
    * if your Checkmk version is no longer available
thl-cmk's avatar
thl-cmk committed
---
thl-cmk's avatar
thl-cmk committed
* *wato*: [(see WATO options)](/../../../-/raw/master/doc/wato.png "see WATO options")
thl-cmk's avatar
thl-cmk committed
---
thl-cmk's avatar
thl-cmk committed
* *perfdata*: Verion history

thl-cmk's avatar
thl-cmk committed
---
thl-cmk's avatar
thl-cmk committed
Sample output

![sample output](/doc/sample.png?raw=true "sample output")

thl-cmk's avatar
thl-cmk committed
WATO options (Check)
thl-cmk's avatar
thl-cmk committed

![WATO options](/doc/wato.png?raw=true "WATO options")