Hello. Is Windows client registration working in 2.0.0b8? After finding the current method of registering, I cannot escape the error:
You must install Python Module to use the command 'register'. To install Python Module you should use Bakery.
Personally I think that requirement should be automatically baked in to the MSI, but I went and added a rule such that my baked, signed agent for that host gained this:
|Install Python runtime environment:|| |---|---| |Installation: |Install Python automatically when configured plugins need it| |Usage: |Use Checkmk Python, if it has been installed| |Python environment: |Deploy standard environment (Current Python 3.8 + standard set of modules)|
Installing that MSI always gives a working client, that contains a python-3.8.zip file in the install directory, but any attempt to register always fails. I’m guessing that that python zip archive isn’t getting installed, indeed a filename search shows nothing except that zip archive. Any hints as to why my baked-in python isn’t usable?
(I am planting here a useful line for others searching for the Windows registration procedure, as the majority of online references are still out-dated. I am not sure what -i is for and whether cmk is a password or something else.):
check-mk-agent.exe can be found at C:\Program Files (x86)\checkmk\service. elevated UAC is needed for access/execution.
check_mk_agent.exe updater register -s moni01.servers.intern -i cee -H my_host -p http -U cmkadmin -P cmk -v