We use cookies to ensure that we give you the best experience on our website.  Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

Checkmk Conference #6 goes digital. Get your tickets here!

Werk #10601: Auto migration of check plugins to new section definitions

ComponentChecks & Agents
TitleAuto migration of check plugins to new section definitions
Date2020-03-20 11:45:12
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version1.7.0i1
LevelProminent Change
ClassNew Feature
CompatibilityIncompatible - Manual interaction might be required

We are now converting all plugins in the share/check_mk/checks and local/share/check_mk/checks to the new format expected by the future API. Although we are trying to migrate as many check plugins as possible on the fly, for some plugins this may fail.

These are the anticipated reasons why auto-migration may fail:

A complex SNMP scan function

If Checkmk fails to auto-migrate a legacy SNMP plugin to a section definition, this is most likely due to an elaborate scan function. For the auto-migration to work, the scan function must be fairly simple. Make sure your scan function has the following properties:

  • it only consists of one single return statement
  • it does not in turn call other functions (not even 'all' or 'any')
  • it does not negate compound expressions

If in doubt, take a look at scan functions that succeed to be migrated to see what options are available.