To help users that want to add Mac Agents to Tactical RMM, without need to pay upfront for code signed agents. If this solution works for you, consider contributing to Tactical RMM project!
Script for one-line installing and update of tacticalRMM agent
Now amd64 and arm64 scripts are available but only the amd64 scipt has been tested on macOS 13 (Ventura)
Script for other platform will be available futher as I adapt script on other platform. Feel free to adapt script and submit me !
Download the script that match your configuration
Download script with this url: https://git.mattchis.net/mattchis/MacRMM-Script/raw/branch/main/rmmagent-mac.sh
To install agent launch the script with this arguement:
./rmmagent-mac.sh install 'System type' 'Mesh agent' 'API URL' 'Client ID' 'Site ID' 'Auth Key' 'Agent Type'
The compiling can be quite long, don't panic and wait few minutes... USE THE 'SINGLE QUOTES' IN ALL FIELDS!
The argument are:
System type
Type of system. Can be 'amd64' 'arm64'
Mesh agent
The url given by mesh for installing new agent. Go to mesh.fqdn.com > Add agent > Installation Executable Linux / BSD / macOS > Select the good system type Copy ONLY the URL with the quote.
API URL
Your api URL for agent communication usually https://api.fqdn.com.
Client ID
The ID of the client in wich agent will be added. Can be view by hovering the name of the client in the dashboard.
Site ID
The ID of the site in wich agent will be added. Can be view by hovering the name of the site in the dashboard.
Auth Key
Authentification key given by dashboard by going to dashboard > Agents > Install agent (Windows) > Select manual and show Copy ONLY the key after --auth.
Agent Type
Can be server or workstation and define the type of agent.
./rmmagent-mac.sh install amd64 "https://mesh.fqdn.com/meshagents?id=XXXXX&installflags=X&meshinstall=X" "https://api.fqdn.com" 3 1 "XXXXX" server
Simply launch the script that match your system with update as argument.
./rmmagent-mac.sh update
To uninstall agent launch the script with this arguement:
./rmmagent-mac.sh uninstall