AutomoxAutomox

Script to Remove AlienVault Agent

dmunson
September 1, 2020 at 9:25 pm UTC

Hello Automoxville,

I was wondering if any of you wonderful people have tried to uninstall the AlienVault agent with Automox?

We just switched to a different SIEM vendor and AlienVault’s documentation for uninstalling the agent via script is not very helpful.

https://cybersecurity.att.com/documentation/usm-anywhere/agents/agent-script.htm?Highlight=uninstall%20agent

Any assistance would be greatly appreciated.

This discussion is archived and closed to replies. Continue it in the Automox Community Slack.

Discuss on Slack

Replies (4)

Tony-AutomoxSeptember 1, 2020
#1

Have you tried referencing our macOS app uninstall worklet in the community?
https://community.automox.com/t/worklet-uninstalling-applications-on-macos

DavidM-AutomoxSeptember 3, 2020
#2

@dmunson, I haven’t tried it, but along with @Tony’s help, we may be able to provide some guidance. What OS are you working to uninstall AlienVault Agent from?

dmunsonSeptember 28, 2020
#3

Linux (Ubuntu 18.04).

Alienvault’s documentation says to run the alienvault-agent.sh file located in /usr/bin for Linux. So my worklet I wrote is this:

cd /usr/bin/
alienvault-agent.sh uninstall

But that doesn’t seem to be doing it…

Nic-AutomoxSeptember 28, 2020
#4

You should just put the full path to the uninstall script, rather than changing directories in the script. So:
/usr/bin/alienvault-agent.sh uninstall