Deployment via ConnectWise Automate
How to deploy Liongard Agents using your ConnectWise RMM.
Script Overview
The script below provides for a basic install of Liongard Agents via ConnectWise Automate using our MSI installer.
- The script takes in variables associated with your Liongard instance, such as the URL and Access Key ID and Secret, and completes an install.
- This script will be supported on a best-effort basis.
Scripted Install
The current version of this script does not set the Agent service's "Run As" user, or associate the Agent with an Environment upon install.
The script can be modified to meet your particular needs by modifying the parameters passed into our MSI install.
For more information, please review our documentation.
-
Download the Automate Installation Script
-
Import the script into your ConnectWise Automate instance. System > General > Import > XML Expansion
The imported script is named "Roar-Agent Installer."
- Open the script and populate the variables (lines 1-4) from your Liongard setup
- Create Ticket: Whether or not you would like a service ticket created for a failed install
- Roar URL: Insert your Liongard URL (e.g., XYZ.app.liongard.com)
- Roar Access Key: Insert your Liongard Access Key generated from your Liongard instance. This can be found in Liongard by navvigating to Your Name > Account Settings > Access Tokens.
- Roar Access Secret: Insert your Liongard Access Key Secret. See above steps.
- Assign the Agent to an Environment
- This script does not assign the Liongard Environment to the newly installed Agents, so newly installed Agents will need to be assigned an Environment on the Admin > Agents screen in Liongard.
- If your Automate instance has access to company names that precisely match the Liongard Environment names, this script can be expanded to add that information as a part of the scripted process by adding the ENVIRONMENT= parameter to the msiexec.exe call.
Liongard Agent MSI Name Change
Starting with version 2.0.2, the Liongard Agent MSI package was renamed to "LiongardAgent-lts" as part of our new brand messaging.
Deployment scripts using the old naming conventions (RoarAgent.msi, ROARURL, ROARACCESSKEY, etc.) will still work if necessary, but we do recommend updating the scripts when possible to ensure consistency across the platform.
New installations using the MSI will change the Windows service name to "Liongard Agent." Upgrading an existing installation will leave the service name as "Roar Agent."
Using Automation with Liongard
Thanks to Liongard partner Matthew Weir for sharing the above ConnectWise Automate script. If you'd like to share how your team is using automation with Liongard, email us at [email protected].
Updated about 1 year ago