Catch up on the latest product updates, best practices, and expert insights from the Checkmk Conference #12 – Watch the livestream recordings now

Werk #22434: vsphere: replace macros in the custom host name for SSL certificate checking

Component Checks & agents
Title vsphere: replace macros in the custom host name for SSL certificate checking
Date Nov 2, 2026
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
3.0.0b1
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.5.0p19
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.4.0p40
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

In the rule "VMware ESX via vSphere", the option "SSL certificate checking" set to "Use other host name" states that it supports macros such as $HOSTNAME$, $HOSTALIAS$ and $HOSTADDRESS$. The macros were never replaced, so the special agent validated the certificate against the literal text and failed with an error like:

CertificateError("hostname '$HOSTNAME$.example.com' doesn't match 'vcenter.example.com'")

The macros in this field are now replaced with the values of the monitored host.

To the list of all Werks