Uninstall Observium Ubuntu =link= [ Edge COMPLETE ]
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.
Configuring for enterprise-grade infrastructure monitoring Share public link
Optionally, you can also remove the database user to further clean up your MySQL instance.
If an observium user was created during installation, remove it along with the observium group: uninstall observium ubuntu
: If you plan to migrate Observium to another server, you should not follow the removal steps, especially those for the database and RRD files. Instead, the Observium documentation provides a guide for server migration, which involves moving the database, RRD files, and config.php to the new server.
⚠️ If you want to preserve the RRD files (for a reinstall or migration), back up the /opt/observium/rrd directory before deletion.
Observium requires many PHP extensions ( php-mysql , php-snmp , php-gd , php-mcrypt , etc.). If you no longer need them for other applications, you can remove them. Be careful: other apps may depend on these. The standard Observium installation locates all web and
You need to remove the database and the dedicated user created during setup. Stack Overflow Log in to your database: sudo mysql -u root -p Drop the database: DROP DATABASE observium; Remove the user: DROP USER 'observium'@'localhost'; Exit the prompt: Stack Overflow 4. Cleanup Web Server Configurations
sudo rm -rf /opt/observium
Remove the dedicated database user created for Observium (typically named observium ): DROP USER 'observium'@'localhost'; Use code with caution. Flush privileges and exit: FLUSH PRIVILEGES; EXIT; Use code with caution. Step 4: Delete the Observium Source Files and RRD Data If an observium user was created during installation,
How to Completely Uninstall Observium from Ubuntu If you need to remove Observium from your Ubuntu system—whether to migrate to a different monitoring tool or to perform a clean reinstall—it is important to follow a structured process. Because Observium relies on a stack of components (Apache, MySQL/MariaDB, and Cron jobs), a simple directory deletion isn't enough.
sudo rm -rf /var/www/html/observium
DROP DATABASE observium;
Use sudo apt-get purge for specific tools like fping , snmp , or rrdtool if no other applications are using them.