Uninstall Observium Ubuntu · High Speed
He checked for leftovers. Configuration files? sudo find / -name "*observium*" -type f 2>/dev/null . A few old logrotate snippets in /etc/logrotate.d/ . He deleted those too. He checked PHP modules he’d installed specifically for Observium— php7.4-mysqlnd , php7.4-snmp . He left them for now. No need to break other things.
sudo mysql -uroot -p<password>
: If you want to remove the web server and PHP (be careful if other apps use them), you can use APT purge : sudo apt-get purge apache2 mariadb-server php* sudo apt autoremove uninstall observium ubuntu
The web interface configuration files are stored in the /etc/observium directory. You can remove this directory by running the following command:
Use the rm command with the recursive and force flags to remove the entire Observium directory and its subfolders. sudo rm -rf /opt/observium Use code with caution. Step 3: Delete the Database and Database User He checked for leftovers
How to Uninstall Observium from Ubuntu: A Complete Step-by-Step Guide
Next, check the main root crontab to ensure no custom pollers are running: sudo crontab -e Use code with caution. A few old logrotate snippets in /etc/logrotate
After uninstalling Observium, you need to restart Apache to ensure that the changes take effect:
(Note: If you created the user with a different hostname or allowed it on all hosts, make sure to adjust 'localhost' accordingly.)
sudo apt-get purge fping rrdtool subversion whois mtr-tiny ipmitool graphviz imagemagick snmp snmpd Use code with caution.
sudo mysql -e "DROP DATABASE observium;" sudo mysql -e "REVOKE ALL PRIVILEGES, GRANT OPTION FROM 'observium'@'localhost';" sudo mysql -e "DROP USER 'observium'@'localhost';" sudo mysql -e "FLUSH PRIVILEGES;"
Leave Reply