Removing an observIQ Agent

Removing an agent from GNU / Linux

When removing an agent running on a linux machine with systemd, run the following command:

sudo sh -c "$(curl -fsSl" --uninstall

Removing an agent from Windows

When removing an agent running on windows you will need to open command prompt, or powershell as administrator, enter one of the following commands below:

CMD Command

@powershell -NoProfile -ExecutionPolicy Bypass -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; Invoke-Expression ((New-Object net.webclient).DownloadString('')); observIQ-Agent-Install" -uninstall

Powershell Command

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; Invoke-Expression ((New-Object net.webclient).DownloadString('')); observIQ-Agent-Install -uninstall

Removing an agent from MacOS

When removing an agent running on MacOS, run the following commands:

launchctl stop com.bluemedora.observiq-agent
launchctl remove com.bluemedora.observiq-agent
rm -rf /Users/$USER/bpagent

Removing an agent from Kubernetes

When removing an agent running on Kubernetes, run the following commands:

kubectl -n default delete ds observiq-agent
kubectl -n default delete deployment observiq-agent-cluster-events
kubectl -n default delete pvc observiq-agent-persistent-volume
kubectl -n default delete secret observiq-agent-secrets
kubectl delete clusterrolebinding observiq-agent
kubectl delete clusterrole observiq-agent 
kubectl -n default delete sa observiq-agent

Removing an agent from Openshift

When removing an agent running on Openshift, run the following commands:

oc delete project bindplane
oc delete scc bindplane
oc delete clusterrolebinding bindlpane-agent
oc delete clusterrole bindplane-agent