I finally got it lol, in cmk-agent-ctl register --hostname XXX
I was putting the hostname of the server, now I realized I have to put the hostname of the monitored client
I finally got it lol, in cmk-agent-ctl register --hostname XXX
I was putting the hostname of the server, now I realized I have to put the hostname of the monitored client