Uninstall Agent

Standard Method

If you installed Bleemeo agent with the standard method, it’s installed using your system packaging tools. You could therefore remove it like any system packages.

On Ubuntu or Debian, the following command will uninstall Bleemeo agent:

$ sudo apt-get remove bleemeo-agent bleemeo-agent-telegraf telegraf

You may also want to run the following command to remove dependencies that are no longer required:

$ sudo apt-get autoremove

Finally, you could remove our software repository:

$ sudo rm /etc/apt/sources.list.d/bleemeo-*.list
$ sudo apt-get update

Using Docker

If you run Bleemeo agent using Docker image, uninstalling agent is as simple as destroying the containers:

$ docker stop bleemeo-agent bleemeo-telegraf
$ docker rm bleemeo-agent bleemeo-telegraf

You may also want to remove the images to free some disk space:

$ docker rmi bleemeo/agent bleemeo/telegraf

Manual Method

If you did a manual installation by following our steps, Bleemeo agent is installed under /opt/bleemeo-agent.

  • First, stop Bleemeo agent:

    $ sudo -u bleemeo pkill bleemeo-agent
  • You could then remove /opt/bleemeo-agent:

    $ sudo rm -fr /opt/bleemeo-agent
  • You may also want to uninstall Telegraf. If you used our PPA, do the following:

    $ sudo apt-get remove telegraf
    $ sudo add-apt-repository --remove ppa:bleemeo/telegraf