Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
root@ip-172-31-3440-134131:/home/ubuntu# cmk-update-agent register
Our host name in the monitoring: 
slave2

WATO user with admin permissions: 
cmkadmin

Password: 


Successfully registered agent of host "slave2" for deployment.

...

Code Block
root@ip-172-31-3440-134131:/home/ubuntu# cmk-update-agent -v 

+-------------------------------------------------------------------+
|                                                                   |
|  Check_MK Agent Updater v2.0.0b4 - Update                         |
|                                                                   |
+-------------------------------------------------------------------+
Getting target agent configuration for host 'slave2' from deployment server
Agent Bakery: Registering/updating at remote site but found no URL to central site. Please provide it in "automatic agent updates" section at global settings.
See syslog or Logfile at /var/lib/check_mk_agent/cmk-update-agent.log for details.

...

  1. Configure the connection to the central agent bakery
    1. Setup → General → Global settings → AUTOMATIC AGENT UPDATES → Connection to the central agent bakery

      Info


    2. Now you can register and update the host

      Code Block
      root@ip-172-31-3440-134131:/home/ubuntu# cmk-update-agent register -v
      
      +-------------------------------------------------------------------+
      |                                                                   |
      |  Check_MK Agent Updater v2.0.0b4 - 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 settings from /etc/cmk-update-agent.state.
      Password for user 'cmkadmin': 
      
      
      Going to register agent at deployment server
      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-3440-134131:/home/ubuntu# cmk-update-agent -v 
      
      +-------------------------------------------------------------------+
      |                                                                   |
      |  Check_MK Agent Updater v2.0.0b4 - 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-3440-134131:/home/ubuntu# 
      
      


Functionality

Registration

Update



Info

https://docs.checkmk.com/2.0.0/de/distributed_monitoring.html

https://docs.checkmk.com/2.0.0/de/agent_deployment.html#distr_wato

...