Uninstall Axolet

To remove Axolet from a Linux host, complete the following steps. Uninstalling Axolet doesn’t affect the log collector running on the host (for example, AxoSyslog, syslog-ng, or SC4S): it keeps running, but AxoConsole doesn’t receive its metrics anymore.

  1. Log in to the host and stop the axolet service:

    Terminal window
    sudo systemctl disable --now axolet

    Removing the package stops the service as well. Stopping it first makes sure that it doesn’t register the host again after you delete it from AxoConsole.

  2. Delete the host from AxoConsole, so AxoConsole stops managing it.

    1. Open AxoConsole and select Sources. Alternatively, select ⌘/Ctrl + K, then enter the name of the host.
    2. Select the name of the host.
    3. Select ⋮ Host Options > Delete.
    4. Select Delete and revoke. Revoking the host prevents it from registering again with its current identity. If you plan to reinstall on the same host later, select Delete to keep the registration.
  3. Remove the Axolet package:

    • On Red Hat Enterprise Linux 8 and 9, AlmaLinux, and Rocky Linux:

      sudo dnf remove axolet
    • On Red Hat Enterprise Linux 7:

      sudo yum remove axolet
    • On Debian and Ubuntu:

      sudo apt remove axolet

    Then reload the systemd configuration, so systemd drops the units of the removed packages:

    Terminal window
    sudo systemctl daemon-reload
  4. (Optional) Delete the configuration of Axolet. The package doesn’t remove it, so you can reinstall Axolet and keep its identity. If you don’t plan to reinstall it, run:

    Terminal window
    sudo rm -rf /etc/axolet

    If you’ve configured Axolet to run as non-root, also delete the sudoers file you’ve created for it. Depending on which instructions you’ve followed, the file is called axolet or configure-axoflow:

    Terminal window
    sudo rm -f /etc/sudoers.d/axolet /etc/sudoers.d/configure-axoflow