Uninstall standalone NRPE

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
InscrutableDude
Posts: 47
Joined: Mon Mar 27, 2017 10:19 am

Uninstall standalone NRPE

Post 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!
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Uninstall standalone NRPE

Post 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.
Former Nagios employee
https://www.mcapra.com/
User avatar
tacolover101
Posts: 432
Joined: Mon Apr 10, 2017 11:55 am

Re: Uninstall standalone NRPE

Post 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
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Uninstall standalone NRPE

Post by cdienger »

Thanks tacolover101. InscrutableDude, did the above help?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked