Registering a linux host with the server

**CMK version → 2.2 op16
**OS version: Docker

Hi, I saw the guide.
to record you must run this command:
cmk-agent-ctl register --hostname mynewhost
–server cmkserver --site mysite
–user automation --password ‘test23’

This is the link I use to log in:
http://192.168.1.224:8080/cmk/check_mk/index.py?start_url=%2Fcmk%2Fcheck_mk%2Fdashboard.py

I can’t locate my info:
hostname ?
cmkserver I think is cmk
mysite ?
automation : should I create this user?
If so, how is it done?
Thanks in advance

Hi.

the hostname is the name of the Host you add in monitoring. The server is the hostname of the checkmk server. The site is the monitoring instance you work with. And the user automation exists. The automation secret is found in ~/var/check_mk/web/automation/automation.secret. You can use also a different user for this.

Rg, Christian

2 Likes

Therefore:
hostname → rundesk
server ? I installed on docker
site → cmk

did I get it right?

Thanks in advance

now work thanks

thanks ChristianM