sudo a2dissite observium.conf sudo rm -f /etc/apache2/sites-available/observium.conf

Do not run this step if other websites or applications on your server rely on Apache, Nginx, MySQL, or PHP.

Stop the Observium service, remove Observium files (usually /opt/observium or /usr/local/observium), drop the observium MySQL/MariaDB database and user, remove webserver virtual host and PHP config, delete cron jobs and monitoring users, and optionally remove RRDtool/Graphing data and dependencies.

(Optional) If you created a dedicated database user for Observium (usually named observium ), remove that user as well: DROP USER 'observium'@'localhost'; Use code with caution.

Run the following command to clean up orphaned packages and configurations that are no longer required by the system:

sudo a2dissite observium.conf sudo rm -f /etc/apache2/sites-available/observium.conf sudo systemctl reload apache2

Alternatively, check the full list:

getent passwd observium

To remove packages commonly installed alongside Observium that you may no longer need: