How-To: Monitor Synology NAS with CheckMK agent for linux

This worked great. Just to add one thing. htop says my checkmk server daemon service is running as user: “monitoring”, so I had to set up that user with the ssh key pair:

  1. create key pair with another user, in this case “monitoring”
sudo -u monitoring ssh-keygen
  1. after you have put the contents of .pub into the authorized_keys file on the server you are trying to reach, it still won’t work because the first connection has to auth the fingerprint, so we just have to connect one time as user “monitoring”:
sudo -u monitoring ssh checkmk_admin@IP-OF-NAS