Uninstall
Remove an agent from a system
Section titled “Remove an agent from a system”-
In the console, open Systems, select the system and delete it. Its credential is revoked and its connection closed at once, so the agent can no longer act even if it stays installed.
-
On the system, remove the agent:
Linux
Terminal window sudo systemctl disable --now garrison-agentsudo rm -f /etc/systemd/system/garrison-agent.service /etc/systemd/system/vc-agent.servicesudo systemctl daemon-reloadsudo rm -rf /opt/vclocalsudo rm -f /usr/local/share/ca-certificates/vclocal-ca.crt && sudo update-ca-certificatesWindows (PowerShell as Administrator)
Terminal window Stop-ScheduledTask -TaskName GarrisonAgent -ErrorAction SilentlyContinueUnregister-ScheduledTask -TaskName GarrisonAgent -Confirm:$falseGet-Process garrison-agent -ErrorAction SilentlyContinue | Stop-Process -ForceRemove-Item -Recurse -Force "$env:ProgramData\VCLocal"A system that had the Log collector role also runs Grafana Alloy; remove it with
sudo systemctl disable --now alloy && sudo apt remove alloy(Linux).
Remove Garrison from the appliance
Section titled “Remove Garrison from the appliance”There is no one-command uninstaller yet. To remove Garrison and keep the AI platform:
cd /opt/garrisondocker compose --env-file .env -f deployments/docker/docker-compose.yml downAdd -v to also delete Garrison’s database (cases, users, integrations, audit log). This cannot
be undone.
To remove the AI platform as well: sudo oaf uninstall --yes (keeps model files and data) or
sudo oaf uninstall --yes --purge (also deletes traces, metrics and dashboards).