Yes, that worked.
Even though all monitors are running fine agent connection test returns:
Program '5' not found (exit code 127)
That’s why when I tried id_rsa key pair I assumed it wasn’t working after seeing the message.
Is the above error expected with command="/usr/bin/check_mk_agent"
restriction and can be ignored?