Skip to main content

Script to Remove AlienVault Agent

  • September 1, 2020
  • 4 replies
  • 1154 views

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.

4 replies

Tony-Automox
  • Automox Employee
  • September 1, 2020

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


  • Former Automox Employee
  • September 3, 2020

@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?


  • Author
  • Channel Partner
  • September 28, 2020

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-Automox
  • Former Automox Employee
  • September 28, 2020

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