Page 1 of 1

uninstall linux-nrpe-agent

Posted: Thu Dec 20, 2012 8:40 pm
by ajoshi
I am a linux new bee. Please be gentle.

I install the linux-nrpe-agent on a cents server, and need to uninstall it. Any help would be greatly appreciated.

Thank you in advance,

AJ

Re: uninstall linux-nrpe-agent

Posted: Fri Dec 21, 2012 10:02 am
by scottwilkerson
We do not have an "uninstall script" but you should be able to do the following

Code: Select all

delgroup nagios
deluser nagios
rm -f /etc/xinet.d/nrpe
service xinetd restart
rm -rf /usr/local/nagios

Re: uninstall linux-nrpe-agent

Posted: Fri Dec 21, 2012 1:17 pm
by ajoshi
Let me clarify, this is to remove the centos linux AGENT right? Would I also follow the same procedure to remove a Mac OS agent?

Re: uninstall linux-nrpe-agent

Posted: Fri Dec 21, 2012 3:04 pm
by slansing
Correct this is to remove the agent, to remove the OSX agent it may be a little different as directories change. You should look for the same things to remove.