How to Uninstall Nagios nrpe agent

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
steelwedge
Posts: 69
Joined: Fri Apr 24, 2015 4:58 am

How to Uninstall Nagios nrpe agent

Post by steelwedge »

Hello Team,

Earlier we used Nagios nrpe agent to monitor the linux ubuntu machines, due to some issue we disabled it and using SNMP monitoring now. Please let us know the steps to uninstall the nagios agent and its service xinetd from ubuntu servers.

-Mohan
steelwedge
Posts: 69
Joined: Fri Apr 24, 2015 4:58 am

Re: How to Uninstall Nagios nrpe agent

Post by steelwedge »

We followed the below steps however still we are able to see the service "xinetd" in the services list and able to start and stop it. Please suggest the steps to remove it's entries from linux services list completely.

delgroup nagios
deluser nagios
rm -f /etc/xinet.d/nrpe
service xinetd restart
rm -rf /usr/local/nagios
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: How to Uninstall Nagios nrpe agent

Post by rkennedy »

xinetd is a service that may be running on your machine regardless of Nagios, so we do not generally touch that. With the instructions you posted, that should cover it.
Former Nagios Employee
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: How to Uninstall Nagios nrpe agent

Post by avandemore »

xinetd is not written or maintained by Nagios. To disable it at boot, you would follow the same steps you would for any service on your OS. To uninstall it, do the same. If memory serves me correctly, it would something like apt-get remove --purge xinetd for Ubuntu.
Previous Nagios employee
Locked