2.1.0p2: agent is not registered

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