Observium relies heavily on cron jobs to poll network devices and discover new systems.

sudo lsattr /opt/observium sudo chattr -i /opt/observium/config.php

sudo systemctl stop apache2 sudo systemctl stop mysql # or mariadb, depending on your installation

sudo apt purge rrdtool snmp snmpd

Run the following commands inside the MySQL prompt: DROP DATABASE observium; DROP USER 'observium'@'localhost'; FLUSH PRIVILEGES; EXIT; 4. Remove Logs and Dependencies (Optional)

Observium stores device inventories, user accounts, and alert logs in a MySQL or MariaDB database. You need to drop this database to clean up your database server. Log into your database server as the root user: sudo mysql -u root -p Use code with caution.

sudo rm -f /etc/cron.d/observium

To remove this user along with their home directory (if one was created), execute: sudo deluser observium Use code with caution.

Open the Observium specific cron file or check the system crontab: sudo rm /etc/cron.d/observium Use code with caution.

This contains your device configurations, alerting rules, and event logs.

sudo apt-get purge apache2 nginx mysql-server mariadb-server Use code with caution.