Werk #14573: Prometheus & Alertmanager: Deprecation of 'IP Address` and 'Host name' options

Component Checks & agents
Title Prometheus & Alertmanager: Deprecation of 'IP Address` and 'Host name' options
Date Jan 12, 2023
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

The rules Prometheus and Alertmanager both allowed omitting the server address from the connection option by specifying IP Address or Host name. The corresponding agents would then generate URLs based on the host configuration.

These options add complexity, are incompatible with proxy setups and less transparent than simply specifying the relevant URL.

Therefore, these options will be removed in Checkmk 2.3.0.

Affected users need to use the Custom URL option to specify the server address. For instance, assume your rule specifies

  • IP Address
  • Port: 9000
  • Custom path prefix: my_prefix

and your host has the address 1.2.3.4. Then the new rule needs to specify

1.2.3.4:9000/my_prefix/api/v1/status/buildinfo

To the list of all Werks