Uninstall Observium Ubuntu May 2026
The standard Observium installation locates all web and application files under /opt/observium. Additionally, it may store logs and RRD (Round Robin Database) files elsewhere.
Remove the main directory:
sudo rm -rf /opt/observium
If you have custom logs or RRD paths outside /opt/observium (check your config.php before deletion), remove those as well. Common locations:
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: uninstall observium ubuntu
sudo crontab -l | grep observium
If you see any, remove them with sudo crontab -e.
Now, remove the Observium packages using the following command:
sudo apt-get purge observium
This command will remove the Observium packages, configuration files, and dependencies.
sudo a2dissite observium.conf
sudo rm -f /etc/apache2/sites-available/observium.conf
sudo systemctl reload apache2
For security and clean uninstallation, remove the dedicated observium user (and group) created during installation. The standard Observium installation locates all web and
First, check if the user exists:
id observium
Then, delete the user and its home directory (even though home is usually disabled):
sudo userdel -r observium
sudo groupdel observium # The group may auto-delete with the user; run this for safety.
Note: -r will attempt to remove the user’s home and mail spool, but since Observium had no real home directory, it just cleans up the system entries.
sudo rm -rf /opt/observium
If you installed elsewhere (e.g., /var/www/html/observium): If you have custom logs or RRD paths
sudo rm -rf /var/www/html/observium
sudo rm -f /etc/cron.d/observium
sudo rm -f /etc/logrotate.d/observium
Check for leftover files:
sudo find / -name "*observium*" -type f 2>/dev/null | grep -v /proc/
Check if the database still exists:
sudo mysql -e "SHOW DATABASES;" | grep observium
Check for lingering cron entries:
sudo crontab -l | grep observium
sudo crontab -u www-data -l | grep observium
If nothing appears, the uninstall is complete.