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.
-
Log in to the host and stop the
axoletservice:Terminal window sudo systemctl disable --now axoletRemoving 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.
-
Delete the host from AxoConsole, so AxoConsole stops managing it.
- Open AxoConsole and select Sources. Alternatively, select
⌘/Ctrl + K, then enter the name of the host. - Select the name of the host.
- Select ⋮ Host Options > Delete.
- 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.
- Open AxoConsole and select Sources. Alternatively, select
-
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 -
-
(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/axoletIf 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
axoletorconfigure-axoflow:Terminal window sudo rm -f /etc/sudoers.d/axolet /etc/sudoers.d/configure-axoflow