sudo rm -rf /opt/observium/rrd # already removed above, but check for external locations sudo rm -rf /var/log/observium # if logs were stored outside the install dir
Observium stores device inventories, event logs, syslogs, and user credentials inside a MySQL or MariaDB database. We need to drop this database and delete the dedicated database user. Log into your MySQL/MariaDB terminal as root: sudo mysql -u root -p Use code with caution.
sudo apt-get purge php.* sudo apt-get autoremove
sudo userdel observium sudo groupdel observium
DROP DATABASE observium;
Observium is a popular network monitoring and management platform that provides a comprehensive overview of network infrastructure. While it is a powerful tool, there may be instances where you need to uninstall it from your Ubuntu system. This could be due to various reasons such as upgrading to a newer version, switching to a different monitoring tool, or simply removing unused software.
Observium relies heavily on cron jobs to poll network devices and discover new systems.
This command will remove the Observium packages, configuration files, and dependencies.
Observium relies on cron for polling and discovery. You need to delete the specific cron file created during installation. Run: sudo rm /etc/cron.d/observium
Observium stores all device metrics, user accounts, and historical alerts in a SQL database. You need to drop this database and remove the dedicated database user. Log into your MySQL/MariaDB server as root: sudo mysql -u root -p Use code with caution.
Observium typically runs through a web server, such as Apache or Nginx. You should remove any configuration files that were explicitly created for Observium. Look in directories like /etc/apache2/sites-available/ , /etc/apache2/sites-enabled/ , /etc/nginx/sites-available/ , and /etc/nginx/sites-enabled/ .
Uninstalling Observium on Ubuntu is a straightforward process that can be completed in a few steps. By following this guide, you can remove Observium from your system, whether you installed it using the package manager or from source.
Note: If you customized your RRD or log directories to different locations during installation, ensure you remove those manually as well.