private address supplied to Nagios, but Nagios public addr set in nrpe.cfg

Bug #1832671 reported by Xav Paice
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
NRPE Charm
New
Undecided
Unassigned

Bug Description

I have two models, both using Openstack instances. Both are in the same Openstack network.

The model with Nagios is connected to nrpe via cross model relation.

When I look at nrpe.cfg, the public (i.e. floating) IP address of the Nagios host is specified as allowed. When I check the host definitions in Nagios, the private (non-floating) address is used. This means that Nagios doesn't have permission to connect to NRPE because it uses it's private address.

This is intermittent - somehow one iteration of config-changed supplied private, and then after reboots etc the other address was used and we were unable to reach nrpe.

This has also been observed with manual machines outside Openstack instances, where the nagios host has multiple addresses and is attempting to use one not listed to connect to the manually added machine.

Related branches

Tom Haddon (mthaddon)
summary: - private addresse supplied to Nagios, but Nagios public addr set in
+ private address supplied to Nagios, but Nagios public addr set in
nrpe.cfg
Revision history for this message
Aurelien Lourot (aurelien-lourot) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.