Uninstall Observium Ubuntu Better
DROP USER 'observium'@'localhost';
By default, Observium installs into the /opt/observium directory. This folder contains the PHP source files, web code, and RRD (Round Robin Database) files where performance graphs are stored.
How to Uninstall Observium from Ubuntu: A Complete Step-by-Step Guide uninstall observium ubuntu
You should remove the virtual host file created for Apache or Nginx. For Apache: sudo a2dissite observium.conf sudo rm /etc/apache2/sites-available/observium.conf sudo systemctl restart apache2 For Nginx: sudo rm /etc/nginx/sites-enabled/observium.conf sudo rm /etc/nginx/sites-available/observium.conf sudo systemctl restart nginx 5. Optional: Remove the Dedicated System User If you created a specific user during setup, you can safely remove it. sudo deluser observium sudo delgroup observium 6. Cleanup Dependencies (Caution) Observium requires packages like . Only remove these if they are being used by other applications. sudo apt purge rrdtool fping snmpd snmp sudo apt autoremove If you are running Observium in a Docker container
# If you created a symbolic link in sites-enabled, remove it: sudo rm /etc/apache2/sites-enabled/observium.conf For Apache: sudo a2dissite observium
Before deleting any files, stop the web server and the database engine to prevent file-locking issues or incomplete data deletion. sudo systemctl stop apache2 sudo systemctl stop mysql Use code with caution.
sudo apt --purge autoremove sudo apt autoclean If the user does not exist
apt-get purge fping graphviz rrdtool subversion whois mtr-tiny ipmitool snmp snmpd Use code with caution.
Navigate to your server's IP address or domain in a web browser to confirm that the interface throws a 404 error or displays your default web server index page.
If the user does not exist, you can skip this step.
Look for lines containing the path to your Observium installation (typically /opt/observium ). They usually look like this: