Page 1 of 1

NRPE without xinetd?

Posted: Mon Mar 30, 2020 5:50 pm
by nagisami
Hello,

In NRPE 3.2.1, I see it has "TCP Wrapper Available". In this case, there is no need of xinetd right? If that's right, how does NRPE provide TCP wrapper support of its own?

Please advise.

Thanks

Re: NRPE without xinetd?

Posted: Mon Mar 30, 2020 6:16 pm
by nagisami
/etc/hosts.*. files should be supported in that case I think. I just tried adding a few hosts in /etc/hosts.allow but nrpe daemon as a systemd service ( not running under xinetd) says it is not allowed to talk to us.

Re: NRPE without xinetd?

Posted: Tue Mar 31, 2020 12:43 pm
by scottwilkerson
when running under systemd, you need to add the allowed hosts in the nrpe.cfg

Re: NRPE without xinetd?

Posted: Thu Apr 02, 2020 7:23 pm
by nagisami
Ok since I wanted to make use the TCP wrapper, I had hosts updated in the /etc/hosts.allow. I also had the "allowed_hosts" setting which was making NRPE to look as a first option. Per readme in the cfg it is supposed to ignore this setting but it wasn't. After commenting out the setting, it worked okay.

Thanks

Re: NRPE without xinetd?

Posted: Fri Apr 03, 2020 7:37 am
by scottwilkerson
nagisami wrote:Ok since I wanted to make use the TCP wrapper, I had hosts updated in the /etc/hosts.allow. I also had the "allowed_hosts" setting which was making NRPE to look as a first option. Per readme in the cfg it is supposed to ignore this setting but it wasn't. After commenting out the setting, it worked okay.

Thanks
Great!

Locking thread