Werk #18094: agent_prism: Avoid calling /ha endpoint on non AHV (Nutanix Acropolis Hypervisor) exclusive cluster

Component Checks & agents
Title agent_prism: Avoid calling /ha endpoint on non AHV (Nutanix Acropolis Hypervisor) exclusive cluster
Date Jun 16, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0p5 Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p35 Checkmk Cloud (CCE), Checkmk MSP (CME)

Starting with AOS version 6.10, the v2 API endpoint /ha returns a 500 error if the cluster contains any non-AHV hypervisors. To prevent the special agent from failing in such cases, this update adds a pre-check using the /hosts endpoint to ensure that all clusters are composed entirely of AHV hypervisors before querying /ha.

To the list of all Werks