Page 1 of 1

Failure to Restart or Remove NRPE Agent

Posted: Sun Jul 05, 2020 11:27 pm
by aphk
I downloaded nrpe agent from https://assets.nagios.com/downloads/nag ... ine.tar.gz. After, installed it on Debain 10 as follows.

root@debian:~# wget http://assets.nagios.com/downloads/nagi ... ent.tar.gz
root@debian:~# tar xzf linux-nrpe-agent.tar.gz
root@debian:~# cd linux-nrpe-agent
root@debian:~# ./fullinstall

Next, I changed configuration in /usr/local/nagios/etc/nrpe.cfg. Still, I do not know how to restart nrpe agent. Besides, how do I remove nrpe agent?

Re: Failure to Restart or Remove NRPE Agent

Posted: Mon Jul 06, 2020 1:33 pm
by benjaminsmith
Hi @aphk,

Welcome to the Nagios Support Forum! Glad to have you in the community. Some good questions and I will try my best to answer.

When you install the NRPE Linux Agent, the NRPE service is running under xinetd, so after making configuration changes, restart this service.

Code: Select all

systemctl restart xinetd.service
If you want to remove this agent, we have a guide on our knowledge base with step-by-step instructions.
NRPE - How To Uninstall NRPE

I Hope that helps and let me know if you have any other questions.