Page 1 of 1

Uninstall standalone NRPE

Posted: Fri Apr 21, 2017 3:00 pm
by InscrutableDude
Hi,

I installed the agent on multiple servers. On one, the ./fullinstall script seems to have installed both xinetd version AND the standalone, and so they are conflicting trying to use the same port. What commands would I use to uninstall ONLY the standalone?

Environment:
Ubuntu 16.04

Thanks in advance!

Re: Uninstall standalone NRPE

Posted: Mon Apr 24, 2017 10:42 am
by mcapra
You could either remove the xinetd configuration for nrpe (/etc/xinetd.d/nrpe) or remove the init.d script for nrpe. Both of those things leverage the exact same binary, they just do it in different ways.

Re: Uninstall standalone NRPE

Posted: Mon Apr 24, 2017 10:26 pm
by tacolover101
a handy tool i've found is locate, which might help you -

Code: Select all

apt-get install mlocate

let it finish... then run...

updatedb

now let's make this easy to find the NRPE files...

locate nrpe

Re: Uninstall standalone NRPE

Posted: Tue Apr 25, 2017 9:58 am
by cdienger
Thanks tacolover101. InscrutableDude, did the above help?