Explore the latest product updates and best practices at our hybrid Checkmk Conference #12 from June 16-18, 2026 – Register here

Werk #14553: Prometheus: Bad request url /api/v1/api/v1/status/buildinfo

Component Checks & agents
Title Prometheus: Bad request url /api/v1/api/v1/status/buildinfo
Date Aug 26, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.1.0p11 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT
2.0.0p28 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT

Previously, the Prometheus special agent would query endpoints, which don't exist. This would (depending on the the HTTP response of the server) result in the following error

[special_prometheus] Agent exited with code 1: 400 Client Error: Bad Request for url: http://127.0.0.1:8428/api/v1/api/v1/status/buildinfo(!!)

Moreover, the buildinfo would sometimes be incomplete. Note, the new error is a regression introduced in werk 14132. With this werk, the Prometheus agent queries the endpoints

/api/v1/status/buildinfo
/api/v1/status/runtimeinfo

To the list of all Werks