Observium Ubuntu — Uninstall
Then, exit the MySQL shell:
Note: -r will attempt to remove the user’s home and mail spool, but since Observium had no real home directory, it just cleans up the system entries.
Remove the dedicated Observium database user to keep your database secure: DROP USER 'observium'@'localhost'; Use code with caution. Flush the privileges and exit the database prompt: FLUSH PRIVILEGES; EXIT; Use code with caution. Step 5: Remove Apache Web Server Configurations uninstall observium ubuntu
If you enabled the continuous polling system or used syslog daemons associated with Observium, stop and disable them:
Here is a clean, safe way to completely remove Observium while keeping the rest of your server intact. 1. Stop the Background Services Then, exit the MySQL shell: Note: -r will
Run htop or ps aux | grep observium to guarantee no background PHP scripts or pollers are still running.
💡 If you only want to stop the service without deleting data, just disable the Apache site and remove the cron file. If you'd like to: Step 5: Remove Apache Web Server Configurations If
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.
Alternatively, if you added the cron jobs to the root user's crontab, open it using: sudo crontab -e Use code with caution.
# Remove the user and its home directory sudo userdel -r observium