Invalid IPv6 address in ACL

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nytstevenlu
Posts: 12
Joined: Mon Mar 10, 2014 10:34 am

Invalid IPv6 address in ACL

Post 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
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Invalid IPv6 address in ACL

Post 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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked