nagios_context must match related nrpe nagios_host_context
Bug #1606410 reported by
Michael Nelson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
haproxy (Juju Charms Collection) |
New
|
Undecided
|
Unassigned |
Bug Description
Not sure if this is a bug or intended, but I assumed by setting the nagios_context on the haproxy charm, that it would take precedence over that defined in the related nrpe_external_
Turns out it only half does, leading to a broken configuration, because the haproxy charm (well, charmhelper's) write the service__ configs correctly using the haproxy nagios_context value, while the nrpe_external_
To post a comment you must log in.
The inconsistency seems to be fixed by a newer version of charmhelpers than in used in this charm, which uses the hostname from the nrpe subordinate if it's defined, before defaulting to that used in the charm config:
See
http:// bazaar. launchpad. net/~charm- helpers/ charm-helpers/ devel/view/ head:/charmhelp ers/contrib/ charmsupport/ nrpe.py# L301