-
Committer:
mergebot at canonical
-
Author(s):
"Haw Loeung"
-
Date:
2020-08-11 05:13:51 UTC
-
mfrom:
(280.1.3 ubuntu-repository-cache-charm)
-
Revision ID:
mergebot@juju-139df4-prod-is-toolbox-0.canonical.com-20200811051351-bphbnypj22ng5j36
Only ship out the nagios checks when nrpe related
By default, checks are configured and updated even if nrpe relation isn't available (or service related to nrpe). This fixes that and also adds extra logging as to when function to update checks and restart/reload nrpe fires.
Reviewed-on: https://code.launchpad.net/~hloeung/ubuntu-repository-cache/nagios-checks-only-when-nrpe-related/+merge/389056
Reviewed-by: Paul Collins <paul.collins@canonical.com>