Page 1 of 1
How to Uninstall Nagios nrpe agent
Posted: Tue Nov 29, 2016 10:03 pm
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
Re: How to Uninstall Nagios nrpe agent
Posted: Tue Nov 29, 2016 10:09 pm
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
Re: How to Uninstall Nagios nrpe agent
Posted: Wed Nov 30, 2016 10:25 am
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.
Re: How to Uninstall Nagios nrpe agent
Posted: Wed Nov 30, 2016 10:27 am
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.