If Observium was the only application using specific PHP modules, remove them (adjust version as needed):
sudo apt-get autoremove
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
Observium is typically installed in /opt/observium . Some older or manual installations might use /var/www/html/observium . We will remove both possibilities. uninstall observium ubuntu
(Already deleted in Phase 3, but double-check.)
Run the following commands to stop Observium’s polling and web services:
sudo mysql -u root -p
If you see any processes, kill them with sudo pkill -f observium .
sudo mysql -e "DROP DATABASE observium;"
If any lines appear, edit the crontab ( sudo crontab -e ) and remove them manually. If Observium was the only application using specific
Now, remove the cron job that triggers the discovery and polling cycles:
Q2: Why do I need to uninstall Observium? A2: You may need to uninstall Observium to upgrade to a newer version, switch to a different monitoring platform, or remove unnecessary software.
sudo rm /etc/nginx/sites-available/observium sudo rm /etc/nginx/sites-enabled/observium sudo systemctl reload nginx We will remove both possibilities