Uninstall nagios agent from redhat

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
tim0000
Posts: 1
Joined: Wed Jun 07, 2017 8:56 am

Uninstall nagios agent from redhat

Post by tim0000 »

I installed the nagios agent on redhat but now my machine is doing many process slowing down the computer. I want to uninstall the agent how do i go about that
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Uninstall nagios agent from redhat

Post by lmiltchev »

How did you install the agent? Did you follow our official document for installing the Linux agent (NRPE + Nagios Plugins)?

https://assets.nagios.com/downloads/nag ... _Agent.pdf

We don't have an official "uninstaller", but usually you could run the following commands to uninstall NRPE and Nagios plugins:

Code: Select all

delgroup nagios nagcmd
deluser nagios
rm -f /etc/xinet.d/nrpe
service xinetd restart
rm -rf /usr/local/nagios
Note: You may need to run different commands if you installed the agent from a repo. Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked