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
NRPE without xinetd?
Re: NRPE without xinetd?
/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.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NRPE without xinetd?
when running under systemd, you need to add the allowed hosts in the nrpe.cfg
Re: NRPE without xinetd?
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
Thanks
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NRPE without xinetd?
Great!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
Locking thread