Prometheus error in 2.4.0p8

CMK version: OMD - Open Monitoring Distribution Version 2.4.0p8.cee
OS version: Debian GNU/Linux 12 (bookworm)

Error message:

I’ve added a prometheus rule in 2.4.0p3 and since upgrading to 2.4.0p8 I now get the following critical error: [special_prometheus] agent_prometheus: error: the following arguments are required: --config

I have no idea where or what the --config argument is about.

Testing the connection results in:

Agent exited with code 2: usage: agent_prometheus [-h] [--debug] --config CONFIG
[--disable-cert-verification | --cert-server-name CERT_SERVER_NAME]
AUTH-METHOD ...
agent_prometheus: error: the following arguments are required: --config

Things were working fine in 2.4.0p3 before the upgrade to 2.4.0p8.

Hey, first timer here trying to add some Prometheus metrics to checkmk. Did you made it work at the end? I have no idea where the argument is supposed to go.

It could be that its fixed with this werk:Werk #18268: agent_prometheus: fix missing --config argument error