If you only used Apache for Observium, you can stop the service: sudo systemctl stop apache2 linuxhostsupport.com 2. Delete the Observium Directory Observium is most commonly installed in the directory. TurnKey Linux sudo rm -rf /opt/observium
(Or, if you stored them within the opt directory, the /opt/observium/rrd folder will already be gone from Step 2).
sudo systemctl stop mysql
How to Completely Uninstall Observium from Ubuntu Observium is a powerful network monitoring platform, but you may need to remove it to free up resources, migrate to another server, or switch to alternative software. Completely uninstalling Observium requires removing its web files, cron jobs, database, and associated configuration files.
During a standard installation, a dedicated system user named observium is often created to run the poller scripts safely without root permissions. uninstall observium ubuntu
Run the following command to automatically remove unused packages and dependencies: sudo apt-get autoremove --purge Use code with caution.
If you are looking to replace your monitoring setup, let me know:
before deleting everything (back up RRD files)? Reinstall a fresh version? Switch to a different monitoring tool like LibreNMS? Install Observium on Debian/Ubuntu
Delete the main application files located in the directory where you originally extracted the Observium tarball. sudo rm -rf /opt/observium Use code with caution. Copied to clipboard If you only used Apache for Observium, you
sudo userdel observium sudo groupdel observium
Note: Be careful not to remove packages required by other applications on your system.
To uninstall from an Ubuntu system, you must manually remove its installation directory, database, and associated services, as it is typically installed via a manual script rather than a standard package manager.
Check active listening ports: sudo ss -tulwn (Ensure no unexpected pollers are running). Your Ubuntu server is now entirely free of Observium. sudo systemctl stop mysql How to Completely Uninstall
# Completely remove Observium package and its configs sudo apt purge observium
Apply the changes to your web server by restarting the Apache service: sudo systemctl restart apache2 Use code with caution. Step 6: Remove Prerequisite Software (Optional)
Use the apt purge command with the --dry-run option to see what would be removed and confirm it's safe.