uninstall linux-nrpe-agent

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ajoshi
Posts: 2
Joined: Thu Dec 20, 2012 8:37 pm

uninstall linux-nrpe-agent

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: uninstall linux-nrpe-agent

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ajoshi
Posts: 2
Joined: Thu Dec 20, 2012 8:37 pm

Re: uninstall linux-nrpe-agent

Post 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?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: uninstall linux-nrpe-agent

Post 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.
Locked