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
How to Uninstall Nagios nrpe agent
-
steelwedge
- Posts: 69
- Joined: Fri Apr 24, 2015 4:58 am
Re: How to Uninstall Nagios nrpe agent
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
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
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
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