Page 1 of 1

Invalid IPv6 address in ACL

Posted: Wed Jun 04, 2014 1:27 pm
by nytstevenlu
Hi,

My allowed_host config looks like this:

allowed_hosts=127.0.0.1,nagios01.prd.iad1.nyt.net,nagios02.prd.iad1.nyt.net

When I start nrpe I got the following errors:

Jun 4 18:11:41 ip-10-212-12-236 nrpe[16522]: Invalid IPv6 address in ACL: nagios01.prd.iad1.nyt.net
Jun 4 18:11:41 ip-10-212-12-236 nrpe[16522]: Invalid IPv6 address in ACL: nagios02.prd.iad1.nyt.net

I'm running nrpe.x86_64 2.15-2.el6 from EPEL.

What am I doing wrong?

Thanks,
Steven

Re: Invalid IPv6 address in ACL

Posted: Wed Jun 04, 2014 3:53 pm
by sreinhardt
Well first issue I am noticing is that nagios01 and nagios02 are both getting the same result, which appears to be a ptr record with IP and hyphens instead of periods. What do you get from an nslookup?

Code: Select all

nslookup nagios01.prd.iad1.nyt.net
Also you could really easily resolve this by just using an IP instead of the hostname, if you wanted.