Uninstall Observium Ubuntu Jun 2026
sudo systemctl stop apache2 php7.4-fpm (adjust PHP version if necessary) Step 3: Delete Installation and Data Most Observium installations reside in /opt/observium . Delete Files: sudo rm -rf /opt/observium
Remove Observium, its web interface, database, and related services from an Ubuntu system.
If you are uninstalling Observium to switch to (a popular fork), do not follow the optional Phase 5 (removing PHP/MySQL). Instead, keep your LAMP stack intact. After deleting Observium files (Phase 3) and the database (Phase 2), you can install LibreNMS, which will reuse the same web server and database engine. uninstall observium ubuntu
The first step is to stop the background tasks that keep Observium running. These are usually found in the system's cron scheduler. : Delete the main cron file. sudo rm /etc/cron.d/observium 2. Disconnect the Web Interface
Observium uses a web server (likely Apache) to display its dashboard. You need to disable this configuration so it's no longer accessible. : Disable the site and remove the configuration file. sudo a2dissite observium.conf sudo rm /etc/apache2/sites-available/observium.conf sudo systemctl restart apache2 3. Wipe the Digital Library sudo systemctl stop apache2 php7
Wait, did you set up a custom service file? Some installations use a simple cron job instead of a systemd service. Run this command to check for any remaining processes:
# Example for removing common Observium-only dependencies sudo apt-get purge snmp snmpd fping sudo apt-get autoremove --purge Use code with caution. Copied to clipboard Files Delete /opt/observium Database DROP DATABASE observium Cron Remove /etc/cron.d/observium Web Server Delete the observium.conf VirtualHost Instead, keep your LAMP stack intact
Inside the MySQL prompt, execute: