Werk #16789: check_http: Improve handling of old service description

Component Checks & agents
Title check_http: Improve handling of old service description
Date Apr 18, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

If not configured otherwise, the service description of the active check "http" will be prepended with either "HTTP" or "HTTPS". In older installations only the "HTTP" prefix was possible and special handling was introduced to keep the old prefix for existing services.

To improve the handling existing configurations of the "Service name" in the "Check HTTP service (deprecated)" rule may now be updated to contain the prefix "^HTTP" if the configured value does not start with a "^". This only changes the saved rule, the actual description of the service will not change.

To the list of all Werks