Uninstall Observium Ubuntu Instant
If you want a permanent removal, disable and remove the timer units so they don’t resurrect after a reboot.
sudo systemctl disable observium_discovery.timer observium_poller.timer
sudo systemctl disable observium_discovery.service observium_poller.service
Observium usually requires specific Apache configuration changes or a VirtualHost file. You should remove the specific configuration to prevent Apache from trying to load a non-existent site.
If you created a specific site configuration file (e.g., observium.conf in /etc/apache2/sites-available/):
Observium uses MySQL or MariaDB. The default database name is observium. Dropping the database is the most critical step in removing all monitoring data.
First, log into your database:
sudo mysql -u root -p
Then, execute the following SQL commands:
DROP DATABASE IF EXISTS observium;
DROP USER IF EXISTS 'observium'@'localhost';
FLUSH PRIVILEGES;
EXIT;
Note: If you used a different username (e.g., observium_user) or a remote host, adjust the DROP USER command accordingly.
Double-check removal:
sudo mysql -u root -p -e "SHOW DATABASES;" | grep observium
(You should see no output.)
Observium typically adds a cron job to run the poller and discovery process every 5 minutes or hour. If you were using cron (not systemd), delete the associated file.
sudo rm -f /etc/cron.d/observium
Additionally, check the main crontab for any leftover Observium entries:
sudo crontab -l | grep observium
If you see any, remove them with sudo crontab -e.
Observium is a powerful network monitoring platform, but there may come a time when you need to remove it entirely — perhaps migrating to LibreNMS, Prometheus, or simply reclaiming resources. Because Observium isn’t installed from standard Ubuntu repositories, a simple apt remove won’t suffice. This guide walks through a complete manual removal, including the web interface, database, RRD files, and cron jobs. uninstall observium ubuntu
Ignore these—they simply confirm the packages are already removed.
Use sudo mysql -u root (if no password set) or your actual MySQL root password.
Stop the Observium service, remove Observium files (usually /opt/observium or /usr/local/observium), drop the observium MySQL/MariaDB database and user, remove webserver virtual host and PHP config, delete cron jobs and monitoring users, and optionally remove RRDtool/Graphing data and dependencies.