Page 1 of 1
NRPE lacks IPv6 support
Posted: Sun Feb 17, 2013 5:51 pm
by Tilman
It seems that although Nagios itself does of course support IPv6, the NRPE plugin check_nrpe does not:
Code: Select all
[ts@bombur ~]$ host galadriel.example.com
galadriel.example.com has IPv6 address 2001:db8:f004:8::32
[ts@bombur ~]$ /usr/lib64/nagios/plugins/check_nrpe -n -H galadriel.example.com
Invalid host name 'galadriel.example.com'
[ts@bombur ~]$ /usr/lib64/nagios/plugins/check_nrpe -n -H 2001:db8:f004:8::32
Invalid host name '2001:db8:f004:8::32'
[ts@bombur ~]$
(With obvious sanitization.)
How come? Any plans when that's going to be fixed?
Thanks,
Tilman
Re: NRPE lacks IPv6 support
Posted: Mon Feb 18, 2013 12:27 pm
by abrist
This may be just a bone, but nrpe version 2.12 has an ipv6 source patch:
http://marc.info/?l=nagios-devel&m=133335805403077 and
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484575
There was an attempt (though the project seems to be abandoned) to make nrpe 3.0 with ipv6 support:
https://github.com/KristianLyng/nrpe
Re: NRPE lacks IPv6 support
Posted: Mon Feb 18, 2013 5:45 pm
by Tilman
Thanks. I was aware of those two efforts, but somewhat unsure regarding their status.
It makes me a bit nervous that none of them has made it into the main development branch.
There must be a reason for that.
Is any of them ready for use in a production environment?
Re: NRPE lacks IPv6 support
Posted: Tue Feb 19, 2013 10:49 am
by slansing
I personally am unsure, we have a Dev who works on the NRPE lists who comes in on Fridays, we can ask him and try to get more solid answers. As far as I know not many people have been comfortable switching their infrastructure over to IPV6 and this may be the reason, though it would be good to support it for the few who have. I will send him an email and see if he has time to answer you on this thread.
Re: NRPE lacks IPv6 support
Posted: Tue Feb 19, 2013 10:54 am
by abrist
The 2.12 patch is used by a number of production environments. Unfortunately, there were some issues with the patch that were resolved in the comments of the patch. Additionally, some of those that use it in production might have an internal fork.
Re: NRPE lacks IPv6 support
Posted: Mon Oct 26, 2015 9:55 am
by Tilman
JFTR, NRPE version 2.15 added IPv6 support. I've opened a new subject for the first problem I've encountered with that.

Re: NRPE lacks IPv6 support
Posted: Mon Oct 26, 2015 10:00 am
by tmcdonald
Linked here for the record:
https://support.nagios.com/forum/viewto ... 40#p158440
I'm going to close this thread now, we will continue in the other.