Uninstall Observium Ubuntu Jun 2026

By default, Observium resides in /opt/observium . Delete this directory and all its contents using the recursive force command: sudo rm -rf /opt/observium Use code with caution.

Before deleting files, stop any active processes to ensure a clean removal.

A standard Ubuntu package removal will not delete Observium because it is typically installed manually via a archive download. This comprehensive guide walks you through the step-by-step process to safely wipe Observium, its database, cron jobs, and web server configurations from your Ubuntu system. Prerequisites: Prepare for Removal uninstall observium ubuntu

How to Completely Uninstall Observium from Ubuntu Whether you are migrating to a different monitoring solution or simply cleaning up your server, uninstalling Observium requires more than just removing a few files. Because Observium relies on a stack of dependencies—including a web server, a database, and several PHP modules—a proper cleanup ensures no orphan processes or security holes are left behind.

Remove the dedicated user (usually named 'observium'): DROP USER 'observium'@'localhost'; . Exit: exit . By default, Observium resides in /opt/observium

Warning: Only run this step if other applications on your server do not rely on these packages. Run the autoremove command to clean up unused dependencies: sudo apt-get autoremove --purge Use code with caution. Clean the local repository of retrieved package files: sudo apt-get clean Use code with caution.

If your Ubuntu server was built exclusively to host Observium, you may have several packages installed that are no longer needed, such as Graphviz, Net-SNMP, and specific PHP modules. A standard Ubuntu package removal will not delete

sudo systemctl stop observium_discovery.timer observium_discovery.service sudo systemctl stop observium_poller.timer observium_poller.service

After removing the main packages, run APT’s autoremove and autoclean commands to eliminate orphaned dependencies: