...
- Configure the connection to the central agent bakery
- Setup → General → Global settings → AUTOMATIC AGENT UPDATES → Connection to the central agent bakery
xyzNow you can register and update the host
Code Block root@ip-172-31-34-134:/home/ubuntu# cmk-update-agent register -v +-------------------------------------------------------------------+ | | | Check_MK Agent Updater v2.0.0b4 - Update Registration | | | | Activation of automatic agent updates. Your first step is to | | register this host at your deployment server for agent updates. | | For this step you need an administration account on WATO for | | that server. | | | +-------------------------------------------------------------------+ Using previous Gettingsettings target agent configurationfrom /etc/cmk-update-agent.state. Password for hostuser 'slave2' fromcmkadmin': Going to register agent at deployment server Target state (from deployment server): Agent Available: True Signatures: Successfully registered agent of host "slave2" for deployment. You can now update your agent by running 'cmk-update-agent -v' Saved your registration settings to /etc/cmk-update-agent.state. root@ip-172-31-34-134:/home/ubuntu# cmk-update-agent -v +-------------------------------------------------------------------+ | 1 Target Hash: 67f84ee7e41b73aa Downloaded agent has size 13111604 bytes. Signature check OK. Invoking package manager: dpkg -i /tmp/check-mk-agent-tq29w24g Output from dpkg: (Reading database ... 158559 files and directories currently installed.) Preparing to unpack /tmp/check-mk-agent-tq29w24g ... Disable Checkmk agent in systemd (if active)...| | Check_MK Unpacking check-mk-agent (2Agent Updater v2.0.0b4-20.67f84ee7e41b73aa) over (2.0.0b4-20.67f84ee7e41b73aa) ... Reloading xinetd... Setting up check-mk-agent (2.0.0b4-20.67f84ee7e41b73aa) ... Reloading xinetd... Enable Checkmk agent in systemd... Created symlink /etc/systemd/system/sockets.target.wants/check-mk-agent.socket → /etc/systemd/system/check-mk-agent.socket. Successfully installed agent 67f84ee7e41b73aa - Update | | | +-------------------------------------------------------------------+ Getting target agent configuration for host 'slave2' from deployment server Target state (from deployment server): Agent Available: True Signatures: 1 Target Hash: 67f84ee7e41b73aa Agent 67f84ee7e41b73aa already installed. root@ip-172-31-34-134:/home/ubuntu#
- Setup → General → Global settings → AUTOMATIC AGENT UPDATES → Connection to the central agent bakery
...