Software: nrpe v3.1.1-2
OS: RHEL 6.9
I am using the default configuration file /etc/nagios/nrpe.cfg with the following key/value:
allowed_hosts=127.0.0.1,::1
The message apears in /var/log/messages when the nrpe service is started:
... nrpe[20187]: add_ipv4_to_acl: Error, ip-address >::1< incorrect length
The message does not appear if I use the following key/value instead in /etc/nagios/nrpe.cfg:
allowed_hosts=127.0.0.1
add_ipv4_to_acl: Error, ip-address >::1< incorrect length
-
- Posts: 3
- Joined: Wed Sep 09, 2015 1:29 am
Re: add_ipv4_to_acl: Error, ip-address >::1< incorrect lengt
Check out this Github issue:
https://github.com/NagiosEnterprises/nrpe/issues/128
You might try updating to the latest version of NRPE, which is 3.2.0 as of this post, and see if that fixes the issue.
https://github.com/NagiosEnterprises/nrpe/issues/128
You might try updating to the latest version of NRPE, which is 3.2.0 as of this post, and see if that fixes the issue.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: add_ipv4_to_acl: Error, ip-address >::1< incorrect lengt
Correct, the previous version wasn't accounting correctly for IPv6 addressesmcapra wrote:Check out this Github issue:
https://github.com/NagiosEnterprises/nrpe/issues/128
You might try updating to the latest version of NRPE, which is 3.2.0 as of this post, and see if that fixes the issue.
-
- Posts: 3
- Joined: Wed Sep 09, 2015 1:29 am
Re: add_ipv4_to_acl: Error, ip-address >::1< incorrect lengt
Thank you for the quick response, it's greatly appreciated!
I will update nrpe to v3.2.0 or greater once fedora/red hat generate rpms. (Project policy requirement).
I will update nrpe to v3.2.0 or greater once fedora/red hat generate rpms. (Project policy requirement).
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact: