==================================
!! DESTRUCTIVE UNINSTALL NOTICE !!
==================================
WARNING: This script will uninstall
Nagios
MySql
Postgresql
from this system as well as all data associated with these services.
This action is irreversible and will result in the removal of
all Nagios databases, configuration files, log files, and services.
Are you sure you want to continue? [y/N] y
Proceeding with uninstall...
Stopping services...
Failed to stop nagios.service: Unit nagios.service not loaded.
Failed to stop npcd.service: Unit npcd.service not loaded.
Failed to stop ndo2db.service: Unit ndo2db.service not loaded.
removing init files...
Removing users and suduoers...
userdel: user 'nagios' does not exist
groupdel: group 'nagcmd' does not exist
Removing crontabs...
Removing files...
Removing NagiosQL files...
Removing Apache configs...
Failed to restart httpd.service: Unit httpd.service not found.
Removing xinetd configs...
Failed to restart xinetd.service: Unit xinetd.service not found.
Removing Postgres and mysql databases...
uninstall_xi.sh: line 80: yum: command not found
Removing database backup scripts...
====================
UNINSTALL COMPLETED!
====================
We do not have a script that clean up and removes all the databases, directories and packages from the original install. and you would be left with fragments of files, logs etc that would not be relevant to the current install causing confusion.