Werk #14573: Prometheus & Alertmanager: Deprecation of 'IP Address` and 'Host name' options
Komponente | Checks & agents |
Titel | Prometheus & Alertmanager: Deprecation of 'IP Address` and 'Host name' options |
Datum | 12.01.2023 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 2.2.0b1 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Inkompatibel - Manuelle Interaktion könnte erforderlich sein |
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