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:/charmhelpers/contrib/charmsupport/nrpe.py#L301
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