Skip to content

Special Agent Prometheus: fix authentication error. Parameter is parsed as reference not as value #843

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sven-ruess
Copy link
Contributor

General information

Special agent prometheus is using the reference to token as token value. Reference to value is not de referenced.

Bug reports

Debian 12 with Checkmk 2.4.0p8.cee
Used Prometheus rule for setup and want to query some promeQL statements. Problem is, that authentication is not successful.

Proposed changes

Special agent is using specified token's reference directly as value. The reference is not de referenced to get the value.
Now it is using the value of the reference and authentication is successful.

…ed as reference not as value

Signed-off-by: Sven Rueß <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants