Uninstall Observium Ubuntu 2021 [UPDATED]
In this article, we will walk you through the step-by-step process of uninstalling Observium on Ubuntu. Before we dive into the uninstallation process, let's briefly discuss Observium and its components.
By default, Observium installs into the /opt/observium directory. This houses the PHP source code, web files, RRD metrics, and logs.
: sudo rm /etc/nginx/sites-available/observium.conf and then sudo systemctl reload nginx . 5. Optional: Remove Dependencies
Observium’s RRD files and logs can be very large—sometimes several gigabytes. Ensure you deleted /opt/observium and its logs. If disk space is still low, check for other large files or system logs. uninstall observium ubuntu
If a dedicated group was created and wasn't automatically deleted, remove it as well: sudo delgroup observium Use code with caution.
If you created a specific system user for Observium during installation, you can remove it now: sudo deluser observium sudo delgroup observium Use code with caution. Copied to clipboard 6. Do You Need to Remove Dependencies? Observium requires several packages to run, such as mariadb-server If you are switching to another monitoring tool (like
By default, Observium recommends installing its web files and scripts to /opt/observium . This directory contains the PHP frontend, the RRD (Round Robin Database) traffic files, and your unique configuration details. In this article, we will walk you through
Search for any leftover files that might have been created outside the standard directory:
Observium requires several packages like PHP, MariaDB, and SNMP. If you no longer need these for other applications, you can remove them using the standard Ubuntu uninstall method: Run: sudo apt purge php* mariadb-server snmp snmpd Run: sudo apt autoremove to clean up unused dependencies.
Are you planning to on this same server? This houses the PHP source code, web files,
sudo systemctl restart apache2
The default installation directory for Observium is /opt/observium . Deleting this folder will remove the PHP files, the RRD data (graphs), and any logs stored there. Run: sudo rm -rf /opt/observium 6. Clean Up Dependencies (Cautiously)