Trying to get automatic update of checkmk agent to work on Centos 7 but it always fails because the script tries do run “dpkg -i” instead of “rpm -i” on the downloaded package
We are running the latest stable version of checkmk enterprise 1.6.0p10, but the issue was on the earlier versions also
Is this a known bug that will be fixed in a later update or should we try to fix the script ourselves?
No difference, its like the cmk-update-agent think its a ubuntu/debian server
cmk-update-agent --reinstall --force --verbose
Getting target agent configuration for host ‘’ from deployment server
Updated the certificate store “/var/lib/check_mk_agent/cas/all_certs.pem” with 1 certificate)
Target state (from deployment server):
Agent Available: True
Signatures: 1
Target Hash:
Updated the certificate store “/var/lib/check_mk_agent/cas/all_certs.pem” with 1 certificate)
Downloaded agent has size 9572894 bytes.
Skipping signature check (as you requested).
Invoking package manager: dpkg -i /tmp/check-mk-agent-IH6N7i
ERROR Failed installing Check_MK agent: [Errno 2] No such file or directory.
Hint: You can try to install or analyze the agent package manually by downloading it from th.
ERROR [Errno 2] No such file or directory
See syslog or Logfile at /var/lib/check_mk_agent/cmk-update-agent.log for details.
This is the filename
check-mk-agent-1.6.0p10-c48f211cec4db1a2.noarch.rpm
Everything works fine except the cmk-update-agent thats baked in to the package