Werk #17725: cmk-migrate-http: Add command-line tool for migrating 'Check HTTP service (deprecated)' rules

Component Site management
Title cmk-migrate-http: Add command-line tool for migrating 'Check HTTP service (deprecated)' rules
Date Mar 14, 2025
Level Trivial Change
Class New Feature
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0b2 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

This change affects users of the rule 'Check HTTP service (deprecated)', which is used to configure the HTTP monitoring plug-in. The rule was superseded by the introduction of check_httpv2, see Werk #17665.

With this Werk, a new command-line tool is introduced. This tool helps to migrate between the old and the new rule set. It can be invoked as follows:

OMD[mysite]:~$ cmk-migrate-http -h

The tool can migrate rules configured via Setup. There are two exceptions:

  • Rules, which have selected the Proxy server option.
  • Rules, which are not valid and show a validation error, if you open them in the GUI.

Note, this change does not affect cmk-update-config nor omd update in any way. Existing rules are only affected if the tool is explicitely invoked. The existing deprecated rules can also be migrated manually.

To the list of all Werks