Agent Update Issues

I finally got around to figuring out how to automate my agent registrations, but now I have a new issue.

After installing the agent, I run this command on each machine remotely:

“C:\Program Files (x86)\checkmk\service\check_mk_agent.exe” updater register -s checkmk.FQDN -i SITE -H %COMPUTERNAME%.FQDN -p https -U agentreg -S {redacted} -v

This registers the agent, and when the computername.fqdn matches the system on the site, it links properly. But now on a lot of hosts I am seeing the following issue:

Error: Agent Bakery: Invalid host secret ‘redacted’ for host hostname.FQDNWARN , Last update check: 2021-08-30 03:33:39 (warn at 2 d)WARN , Update URL: https://checkmk.FQDN/SITE/check_mk

I’ve tried re-registering the host but that fails. Has anyone had this issue before?

%COMPUTERNAME% usually contains the hostname in uppercase. Is that (including the fqdn) the configured hostname in checkmk?

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.