[phpBB Debug] PHP Warning: in file /websites/coastercrazy.com/exchange/detail.php on line 554: Undefined variable $reviseButtonCode
Uninstall Observium | Ubuntu

Uninstall Observium | Ubuntu

sudo apt --fix-broken install sudo apt --purge autoremove

Observium requires several packages to run, including PHP modules, RRDTool, Graphviz, FPING, and Net-SNMP. If you are no longer using this server for network monitoring, you can remove these packages to free up disk space and reduce security attack surfaces.

By default, Observium installs into the /opt/observium directory. This folder contains the core PHP scripts, the web front-end files, and the RRD files (which hold your historical performance graphs and can take up gigabytes of space). Force-remove the entire directory structure: sudo rm -rf /opt/observium Use code with caution.

to delete the core application, including your RRD files and configuration. Note: If you installed it elsewhere (like /var/www/html/observium ), remove that directory instead. TurnKey Linux 3. Drop the MySQL/MariaDB Database

Before uninstalling Observium, you need to stop its services. Run the following commands: uninstall observium ubuntu

sudo apt-get purge apache2 nginx mysql-server mariadb-server Use code with caution.

Alternatively, if they were added to the system crontab: sudo crontab -e

Delete the dedicated Observium database user. Check your original config.php if you forgot the exact username: DROP USER 'observium'@'localhost'; Use code with caution. Flush the privileges to apply changes and exit: FLUSH PRIVILEGES; EXIT; Use code with caution. Step 3: Remove the Observium Installation Files

Next, delete the actual configuration file from the available sites directory: sudo rm -f /etc/apache2/sites-available/observium.conf Use code with caution. Restart Apache to apply the changes: sudo systemctl restart apache2 Use code with caution. For Nginx Users: Delete the symlink from the enabled sites directory: sudo rm -f /etc/nginx/sites-enabled/observium.conf Use code with caution. Delete the primary configuration file: sudo rm -f /etc/nginx/sites-available/observium.conf Use code with caution. Restart Nginx to refresh the configurations: sudo systemctl restart nginx Use code with caution. Step 3: Drop the Observium MySQL/MariaDB Database sudo apt --fix-broken install sudo apt --purge autoremove

ps aux | grep -i observium

Use the apt purge command with the --dry-run option to see what would be removed and confirm it's safe.

sudo rm -f /etc/nginx/sites-available/observium sudo rm -f /etc/nginx/sites-enabled/observium

Remove the dedicated Observium database user (replace observium_user with your actual username): DROP USER 'observium_user'@'localhost'; Use code with caution. Flush privileges and exit: FLUSH PRIVILEGES; EXIT; Use code with caution. Step 5: Remove Web Server Configurations This folder contains the core PHP scripts, the

Then, simply remove the entire Observium directory.

: Delete the dedicated cron configuration, usually located at /etc/cron.d/observium Stop Web Server

Many installation guides modify the default virtual host ( 000-default.conf ) to point to /opt/observium/html . If you only altered the default configuration, you may want to restore the original file or simply remove the Observium‑specific lines from it.

Then, remove the configuration file:

How To Uninstall A .deb Package On Debian And Ubuntu - OSTechNix