Free on-demand webinars: Learn how to set up, configure, and get more out of Checkmk – Pick your webinar

Werk #22639: citrix_state_hosting_server: Don't crash on machines without hosting server

Component Checks & agents
Title citrix_state_hosting_server: Don't crash on machines without hosting server
Date Oct 14, 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.0p18 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.4.0p39 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

The Citrix Hosting Server service was discovered on every machine that reported a Citrix controller, even if the machine reported no hosting server, for example a machine with the power state Unmanaged. On such machines the service crashed with KeyError: 'hosting_server'.

The service is now only discovered on machines that report a hosting server. Already discovered services on machines without a hosting server no longer crash; they are reported as vanished and can be removed by running a service discovery.

To the list of all Werks