Uninstall nagios network analyzer on Linux
Posted: Fri Jul 20, 2018 5:14 am
I have installed nagios following this guide: https://assets.nagios.com/downloads/nag ... 1532076035
I have also tried to uninstall it with script uninstall_xi.sh downloaded from here: https://support.nagios.com/forum/viewto ... f=6&t=7102
It shows:
and when I run again ./fullinstall, it shows:
I have also tried to uninstall it with script uninstall_xi.sh downloaded from here: https://support.nagios.com/forum/viewto ... f=6&t=7102
It shows:
Code: Select all
==================================
!! 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!
====================
and when I run again ./fullinstall, it shows:
Code: Select all
It looks like Nagios Network Analyzer is already installed.