The problem is in charm-helpers, specifically in charmhelpers.contrib.charmsupport.nrpe.copy_nrpe_checks(). It assumes that the charmhelpers directory will always be in hooks, which (probably) was a good assumption until the PY3 work makes it very hard in some charms to not root the python path in the charmdir.
The solution is to change copy_nrpe_checks so that it works out where the files are and copies them.
The problem is in charm-helpers, specifically in charmhelpers. contrib. charmsupport. nrpe.copy_ nrpe_checks( ). It assumes that the charmhelpers directory will always be in hooks, which (probably) was a good assumption until the PY3 work makes it very hard in some charms to not root the python path in the charmdir.
The solution is to change copy_nrpe_checks so that it works out where the files are and copies them.