Uninstall Observium Ubuntu -
Observium is installed as a package on Ubuntu, and you can remove it using the apt-get command. Run the following command to remove the Observium package:
While this is optional, you may decide you no longer need certain dependencies that were installed for Observium. This is especially relevant if you are not using them for any other applications on your server. These often include packages like apache2 , mysql-server , php , snmp , and various PHP extensions (e.g., php-mysql , php-gd ).
sudo grep -E 'db_host|db_user|db_pass|db_name' /opt/observium/config.php
If you intend to keep historical monitoring data while removing the software, simply stop the services and archive the /opt/observium directory and the MySQL database dump. The software itself can be removed later. uninstall observium ubuntu
sudo mysql -uroot -p<password> mysql> drop database observium;
💡 If you are moving away from Observium, consider other monitoring platforms like Zabbix , Prometheus , or Nagios , all of which can be installed on Ubuntu with different architectural approaches. As always, make sure to back up important data before performing any system‑wide uninstallation.
If you have added Observium cron jobs to a user’s crontab (e.g., crontab -u root -e ), you may also need to manually edit those entries. Observium is installed as a package on Ubuntu,
, there is no single "uninstall" command. You must manually remove its directory, database, and system configurations. 1. Stop Active Services & Cron Jobs
# Check if Observium was installed as a package dpkg -l | grep observium
sudo apt purge --autoremove mysql-server mysql-client mysql-common sudo rm -rf /var/lib/mysql # Delete MySQL data directory sudo rm -rf /etc/mysql # Remove MySQL configuration files These often include packages like apache2 , mysql-server
If nothing appears, the uninstall is complete.
If Observium was the only monitoring tool on this server, you may have packages installed that are no longer needed, such as RRDTool, Graphviz, or specific PHP modules.