→ Applies to: SynetoOS 6.x
The Datto RMM agent is a lightweight software that can be installed on a device to enable remote monitoring and management by a service provider.
It collects device information, allows for proactive monitoring, remote support (including remote takeover), patch deployment, and automated maintenance, and communicates this data to the Datto RMM web interface.
The Datto RMM agent requires Mono (.NET runtime for Linux) which is not included in the default SynetoOS repositories.
The agent requires outbound HTTPS access to the Datto servers. Ensure that your firewall allows outbound 443/tcp access.
Step 1. Connect to SynetoOS appliance via SSH as admin
ssh admin@<your_ip_address_or_hostname>
Step 2. Get root privileges
sudo su -Add Required Repositories
Step 1. Create the repository file
sudo tee /etc/yum.repos.d/rocky-baseos.repo << 'EOF'IMPORTANT
Make sure to copy and paste the exact lines below.[baseos] name=Rocky Linux 9 - BaseOS mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=x86_64&repo=BaseOS-9 gpgcheck=0 enabled=1 [appstream] name=Rocky Linux 9 - AppStream mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=x86_64&repo=AppStream-9 gpgcheck=0 enabled=1 [crb] name=Rocky Linux 9 - CRB mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=x86_64&repo=CRB-9 gpgcheck=0 enabled=1 [epel] name=Extra Packages for Enterprise Linux 9 metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-9&arch=x86_64 gpgcheck=0 enabled=1 EOF
Step 2. Refresh the repository cache
sudo dnf clean all && sudo dnf makecacheInstall Mono Packages
Step 1. Install Mono
sudo dnf install -y mono-coreAdditional parameters
Parameter Functionality mono-core Mono runtime libgdiplus GDI & compatible API mono-data, mono-web, mono-wcf Additional Mono libraries
Step 2. Check if Mono was installed correctly
which mono
mono --versionInstall Datto Agent
If you're installing the Datto RMM Agent via script:
Run the following command (replace <agentname> with the correct name of the agent)
sudo sh /tmp/<agentname>.shTo upload the
create-datastorefile to the/tmpdirectory on SynetoOS 5, a third-party tool (e.g. WinSCP) must be used.
EXAMPLEsudo sh AgentSetup_CUSTOM.sh
If you're installing the Datto RMM Agent with direct download:
Download the installer script (replace <your_agent_ID> with the agent ID)
sudo wget -O setup.sh https://pinotage.rmm.datto.com/download-agent/linux/<your_agent_ID>
Install the package
sudo sh setup.shThe installer will:
- Detect the OS and service manager (systemd)
- Extract and install binaries to
/opt/CentraStage/- Configure the
cag.servicesystemd unit- Start the agent automatically
Check Installation
Check the agent service status
sudo systemctl status cag
View agent logs
cat /opt/CentraStage/log.txtRemove Repositories
Step 1. Remove temporary repository file
sudo rm /etc/yum.repos.d/rocky-baseos.repo
Step 2. Clean the package cache
sudo dnf clean allIMPORTANT
Keep the repositories if you need to update Mono in the future, or re-add them when updates are needed.
Troubleshooting Mono Installation
Check all repositories are properly added
sudo dnf repolistExpected results: baseos, appstream, crb, epel, syneto
Check Mono is installed
which mono
Check logs
cat /opt/CentraStage/log.txt
Check systemd journal
sudo journalctl -u cag -fAgent Management
| Command | Functionality |
| sudo systemctl status cag | Check status |
| sudo systemctl stop cag | Stop agent |
| sudo systemctl start cag | Start agent |
| sudo systemctl restart cag | Restart agent |
| sudo systemctl disable cag | Disable auto-start |
| sudo systemctl enable cag | Enable auto-start |
| sudo sh /opt/CentraStage/uninstall.sh | Uninstall agent |
File Locations
| Path | Description |
| /opt/CentraStage/ | Agent installation directory |
| /opt/CentraStage/log.txt | Agent log file |
| /opt/CentraStage/UnixService.exe.config | Agent configuration |
| /etc/systemd/system/cag.service | Systemd service unit |
| /linuxagentinstall.log | Installation log |
Installed Packages
| Repository | Package |
| EPEL | mono-core |
| EPEL | mono-data |
| EPEL | mono-web |
| EPEL | mono-wcf |
| EPEL | mono-extras |
| EPEL | mono-mvc |
| EPEL | mono-winforms |
| EPEL | mono-data-sqlite |
| EPEL | libgdiplus |
| AppStream | cairo |
| AppStream | giflib |
| AppStream | libXrender |
| AppStream | libexif |