Completely uninstall Nagios from CentOS 6?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
xpac
Posts: 54
Joined: Mon Aug 25, 2014 3:43 pm

Completely uninstall Nagios from CentOS 6?

Post by xpac »

I installed this from source, now I would like it completely removed. I tried the script that I found after some googling, but it doesn't work. Besides, I feel like it would probably be a good thing to know how to do manually.
xpac
Posts: 54
Joined: Mon Aug 25, 2014 3:43 pm

Re: Completely uninstall Nagios from CentOS 6?

Post by xpac »

Since I installed from source, is it just a matter of tracking down all the spots where Nagios files were created and removing them manually?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Completely uninstall Nagios from CentOS 6?

Post by abrist »

If you used the source defaults, you only need to remove:

Code: Select all

/usr/local/nagios
/path/to/init-scripts/nagios
There may be a few other files that escape me at the moment.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
xpac
Posts: 54
Joined: Mon Aug 25, 2014 3:43 pm

Re: Completely uninstall Nagios from CentOS 6?

Post by xpac »

Ok thanks, I also removed the nagios web conf file and the nagios user/nagcmd group which I think should cover everything.
Locked