Skip to content

Conversation

sven-ruess
Copy link
Contributor

General information

Configuring Agent Prometheus with WATO and want to query the results from promQL. Check_MK Service shows
the following arguments are required: --config.

Bug reports

Debian 12 with CEE 2.4.0p8 is used.
Configured Agent Prometheus with WATO and try to query some data from.
Check_MK Service will show this error.
If executed on console, the same is happening.

Proposed changes

Root cause is, that positional and optional arguments are mixed. Take care about positions and do not mix arguments.
Executing and argument parsing should work.

…arguments are required: --config

Root cause is, that positional and optional arguments are mixed. Take care about positions and do not mix arguments.

Signed-off-by: Sven Rueß <[email protected]>
@CheckmkCI CheckmkCI closed this in 6585f69 Sep 5, 2025
CheckmkCI pushed a commit that referenced this pull request Sep 5, 2025
Closes: #840

Change-Id: If7f40f08ec9c60f4493dc970045f6d0f9dbea6df
Signed-off-by: Sven Rueß <[email protected]>
CheckmkCI pushed a commit that referenced this pull request Sep 5, 2025
Closes: #840

Change-Id: If7f40f08ec9c60f4493dc970045f6d0f9dbea6df
Signed-off-by: Sven Rueß <[email protected]>
@github-actions github-actions bot locked and limited conversation to collaborators Sep 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants