Werk #18607: Special Agent Prometheus: fix authentication error

Component Agent bakery
Title Special Agent Prometheus: fix authentication error
Date Sep 3, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0p16
Not yet released
Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p41
Not yet released
Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Fixed authentication error when setting up Prometheus rule.

The special agent Prometheus was using the reference to the token as the token value. The reference to the value was not dereferenced. Now it uses the value of the reference, and authentication is successful.

Thanks sven-ruess for this contribution.

To the list of all Werks