Uninstall Observium Ubuntu |verified|
sudo mysql -u root -p
Observium uses a web server to display its dashboard. You need to remove its virtual host configuration to keep your web server clean. For Apache Users: Disable the Observium virtual host website: sudo a2dissite observium.conf Use code with caution. Delete the configuration file: sudo rm /etc/apache2/sites-available/observium.conf Use code with caution. Reload Apache to apply changes: sudo systemctl reload apache2 Use code with caution. For Nginx Users: Delete the server block configuration file:
Before deleting files, ensure the web interface and background processes are stopped to avoid locked files. sudo systemctl stop apache2 (or nginx ). Stop SNMP Daemon: sudo systemctl stop snmpd . 2. Remove Scheduled Cron Jobs uninstall observium ubuntu
Next, delete the dedicated database user created during installation. Replace 'observium' with your actual Observium DB username if you customized it: DROP USER 'observium'@'localhost'; Use code with caution. Flush the privileges to apply the changes and exit: FLUSH PRIVILEGES; EXIT; Use code with caution. Step 4: Delete the Observium Installation Files
# If you created a symbolic link in sites-enabled, remove it: sudo rm /etc/apache2/sites-enabled/observium.conf sudo mysql -u root -p Observium uses a
sudo userdel observium sudo groupdel observium
Open a browser and navigate to the server’s IP address (or the Observium virtual host’s server name). You should no longer see the Observium login page. sudo systemctl stop apache2 (or nginx )
Observium stores all its device data, event logs, and configurations in a MySQL or MariaDB database. Removing the database is a critical step to ensure a complete uninstallation.










