Werk #14960: MRPE/Windows: Support caching interval

Component Agent bakery
Title MRPE/Windows: Support caching interval
Date Dec 12, 2022
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.2.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

The configuration of MRPE checks (legacy Nagios remote plugins) includes an option to specify a caching interval for asynchronous plugin execution.

While this option has always been available, it did only apply to MRPE checks deployed with UNIX agents, and was ignored for the Windows agent.

Starting with this Werk, a specified caching interval will also have effect on Windows.

To configure an interval, you have the two options:

  • Specify it within a check definition at the mrpe section at the check_mk.user.yml file in the form of check = (interval=INTERVAL) COMMAND. A config reload is required after editing the file.
  • Optionally select and enter it at the agent ruleset "Execute MRPE checks". Already configured rulesets will start to work after baking and updating/deploying agents once.

Note: A comment in the check_mk.user.yml previously suggested to specify a caching interval in another form, that never has been applied. If you happen to have MRPE checks configured in this deprecated format, they will now actually start to work. However, the mentioned add_age is not supported and will be ignored. (The cache age will always be reported to the monitoring server.)

To the list of all Werks