Page 1 of 1

Uninstall nagios agent from redhat

Posted: Wed Jun 07, 2017 8:59 am
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

Re: Uninstall nagios agent from redhat

Posted: Wed Jun 07, 2017 10:54 am
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.