Skip to content

Uninstall Observium Ubuntu -

Uninstalling Observium from Ubuntu requires a manual cleanup because it is typically installed from source or a tarball into the /opt directory rather than through a standard package manager. Step 1: Stop Services and Cron Jobs

Cron Jobs: Remove or comment out the Observium cron file to stop automated polling. sudo rm /etc/cron.d/observium Use code with caution. Copied to clipboard uninstall observium ubuntu

sudo rm -rf /opt/observium /var/www/observium /var/log/observium sudo mysql -u root -p -e "DROP DATABASE IF EXISTS observium; DROP USER IF EXISTS 'observium'@'localhost'; FLUSH PRIVILEGES;" sudo rm /etc/apache2/sites-available/observium.conf /etc/apache2/sites-enabled/observium.conf sudo a2dissite observium.conf || true sudo systemctl reload apache2 Uninstalling Observium from Ubuntu requires a manual cleanup

By default, Observium is installed in /opt/observium. This directory contains the configuration files, logs, and RRD (graph) data. Ubuntu/Debian Install - Observium , as removing core PHP or SNMP libraries

sudo rm /var/www/html/observium

, as removing core PHP or SNMP libraries can break other monitoring tools or system functions. To ensure your system is fully clean, you can use the Observium Community Mailing List

Finally, he ran sudo apt autoremove to clean up orphaned packages. A library called libsnmp-dev was removed. He didn't even know what that was for.

Special cases

  • Multi-instance or clustered setups: repeat removal for each node; check centralized DB and external storage locations.
  • Remote poller installations: remove poller-specific files and systemd services on poller hosts.
  • SNMP daemons: Observium does not require a dedicated SNMP daemon besides snmpd for local monitoring; only remove snmpd if you do not need it for other services.

Log in to your database server: