NRPE lacks IPv6 support

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Tilman
Posts: 7
Joined: Sun Feb 17, 2013 8:38 am

NRPE lacks IPv6 support

Post 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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: NRPE lacks IPv6 support

Post 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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Tilman
Posts: 7
Joined: Sun Feb 17, 2013 8:38 am

Re: NRPE lacks IPv6 support

Post 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?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: NRPE lacks IPv6 support

Post 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.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: NRPE lacks IPv6 support

Post 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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Tilman
Posts: 7
Joined: Sun Feb 17, 2013 8:38 am

Re: NRPE lacks IPv6 support

Post 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. ;)
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: NRPE lacks IPv6 support

Post 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.
Former Nagios employee
Locked