Code: Select all
allowed_hosts=bombur.example.com
Code: Select all
% host bombur
bombur.example.com has address 192.0.2.28
bombur.example.com has IPv6 address 2001:db8:f00:ba8::28
But EPEL recently updated NRPE to release 2.15 which adds IPv6 support.
On all the hosts that got updated to NRPE 2.15, connections from the Nagios server are now rejected with the log message:
Code: Select all
nrpe[21665]: Host 2001:db8:f00:ba8::28 is not allowed to talk to us!
Mother Google found a report on NRPE supporting only one IP address per hostname.
I tried to work around this problem by creating two separate hostnames bombur-v4 and bombur-v6 each resolving to only one address, and changing the allowed_hosts directive to:
Code: Select all
allowed_hosts=bombur-v4.example.com,bombur-v6.example.com
Code: Select all
Allowing connections from: bombur-v4.example.com,bombur-v6.example.com
2001:db8:f00:ba8::28 is not allowed to talk to us!
Bug? Known problem? By design? Feature?