Uninstall Observium Ubuntu High Quality 🚀
This guide will walk you through the process of stopping the services, removing the application files, and dropping the associated databases. Step 1: Stop the Observium Cron Jobs
(Optional) Remove the specific database user created for Observium: DROP USER 'observium'@'localhost'; FLUSH PRIVILEGES; EXIT; Use code with caution. Step 4: Delete the Observium Files
If the output is empty (aside from your grep command), the uninstallation is successful. Summary Checklist Cron jobs deleted Apache/Nginx virtual host removed MySQL database and user dropped /opt/observium directory deleted Unused packages purged uninstall observium ubuntu
Warning: This command is permanent. Ensure you have backed up any custom templates or configurations if you plan to use them elsewhere. Step 5: Clean Up Dependencies (Optional)
You likely have an Apache or Nginx virtual host pointing to your Observium directory. You should disable and remove this to prevent the web server from throwing errors. Disable the site: sudo a2dissite observium.conf Use code with caution. Restart Apache: sudo systemctl restart apache2 Use code with caution. Delete the configuration file: sudo rm /etc/apache2/sites-available/observium.conf Use code with caution. For Nginx: Remove the symbolic link: sudo rm /etc/nginx/sites-enabled/observium Use code with caution. Restart Nginx: sudo systemctl restart nginx Use code with caution. Remove the site config: sudo rm /etc/nginx/sites-available/observium Use code with caution. Step 3: Drop the MySQL/MariaDB Database This guide will walk you through the process
sudo apt-get purge snmp snmpd fping ImageMagick sudo apt-get autoremove Use code with caution. Step 6: Verify Removal
Finally, check that no Observium-related processes are still running: ps aux | grep observium Use code with caution. You should disable and remove this to prevent
Are you planning to with another monitoring tool like LibreNMS or Zabbix , or are you decommissioning the server entirely?