-
Notifications
You must be signed in to change notification settings - Fork 88
Description
Environment
Exporter Image: ghcr.io/mikedombo/xen-exporter:latest
Working XCP-ng Version: 8.2.1
Failing XCP-ng Version: 8.3.3
Problem Description
The exporter fails to retrieve metrics from XCP-ng hosts running version 8.3.3. This appears to be caused by a change in XCP-ng's default behavior, where the root path (/) now serves an HTML landing page for XO Lite.
When the exporter attempts to connect to the XAPI, it receives this HTML page instead of the expected API response. The script cannot parse the HTML, leading to an empty data structure and a subsequent crash.
Steps to Reproduce
Deploy the xen-exporter container and configure it to target an XCP-ng 8.3.3 host.
Attempt to scrape the /metrics endpoint with Prometheus or curl.
Observe the errors in the Prometheus UI and the exporter's container logs.