CheckMK Agent Updater Registration

CMK version: 2.3.0p17.cee
**OS version: Windows Server 2022 Standard **

Error message: Response without json Content-Type
Cannot authenticate, invalid user/passwort/secret.

Hello,

i need here some advice with the register from the Agent Updater…

“C:\Program Files (x86)\checkmk\service\cmk-agent-ctl.exe” register --hostname HOSTNAME --server CHECKMKURL --site MYSITE --user agent_registration --password SECRET

cmk-agent-ctl.exe register:
Registration complete.

“C:\Program Files (x86)\checkmk\service\check_mk_agent.exe” updater register -s CHECKMKSERVERURL -i MYSITE -H HOSTNAME -U agent_registration -S SECRET -v

check_mk_agent.exe updater register:
`Successfully read C:\ProgramData\checkmk\agent\config\cmk-update-agent.state.
Successfully read C:\ProgramData\checkmk\agent\config\cmk-update-agent.cfg.
Updating the certificate store “C:\ProgramData\checkmk\agent\config\cas\all_certs.pem”…
Updated the certificate store “C:\ProgramData\checkmk\agent\config\cas\all_certs.pem” with 1 certificate(s)
Going to register agent at deployment server
Fetching content (using requests): https://URL/MYSITE/check_mk/register_agent.py
Response without json Content-Type
Cannot authenticate, invalid user/passwort/secret.

Everytime i try to use a secret the it shows the error above… i tested it with a adminuser and it worked properly…

Where is my mistake, can someone help me?

Thank you!

Kind regards

I think i fixed the issue, am i right that the user need administrator & automation user rights with configured secret?

No administrator rights.
It is enough to give the following three extra rights to the register role.

Register host & download monitoring agents of your hosts
Register all hosts & download monitoring agents
Use the GUI at all
1 Like

Hello Andreas,

i set both rules but it still dont work properly.

1

Agent registration is possible but the Agent Updater not.

2

:upside_down_face:

“Use the GUI at all” also set?

my mistake, i misunderstood the last rule… :grin:

Im already on my way home, ill test it later and give you feedback.

Thank you.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.