Then, exit the MySQL shell:
# Navigate to the Observium install directory cd /opt/observium
Observium stores its configuration and device information in a MySQL/MariaDB database. : sudo mysql -u root -p . Delete the database : DROP DATABASE observium; .
Many installation guides modify the default virtual host ( 000-default.conf ) to point to /opt/observium/html . If you only altered the default configuration, you may want to restore the original file or simply remove the Observium‑specific lines from it. uninstall observium ubuntu
Step two was to unplug the web interface. He removed the symlink:
sudo find / -name "*observium*" -type f 2>/dev/null
sudo systemctl stop apache2 sudo systemctl stop mysql sudo systemctl stop snmpd sudo systemctl stop fpm Then, exit the MySQL shell: # Navigate to
Observium is a fantastic low-maintenance auto-discovering network monitoring platform, but sometimes your infrastructure needs change. Whether you are migrating to another tool like Zabbix or LibreNMS or simply cleaning up an old server, uninstalling it isn't as simple as a single command. Because Observium is often installed manually via a web stack (Apache/PHP/MySQL), you have to dismantle several layers to ensure a clean removal.
Uninstalling Observium from Ubuntu requires more than a simple rm -rf . By following this guide, you have ensured that:
sudo mysql -u root -p
sudo a2dissite observium.conf sudo rm -f /etc/apache2/sites-available/observium.conf
Save and exit.
: Depending on your setup, stop either Apache or Nginx. For Apache: sudo systemctl stop apache2 . For Nginx: sudo systemctl stop nginx . Many installation guides modify the default virtual host
Observium stores its configuration and historical data in a MariaDB or MySQL database. You should remove this to free up resources and ensure a clean uninstall. Drop Database : Log into your SQL server and run: DROP DATABASE observium; Remove SQL User : Delete the associated user to maintain security: DROP USER 'observium'@'localhost'; 3. Delete Application Files