Merge "Fix missing part of commit 4d4c998"

This commit is contained in:
Zuul 2018-09-23 08:24:30 +00:00 committed by Gerrit Code Review
commit 927ed22bb7
1 changed files with 0 additions and 5 deletions

View File

@ -627,11 +627,6 @@ def update_nrpe_checks():
elif os.path.isfile(STATS_CRONFILE):
os.remove(STATS_CRONFILE)
if config('management_plugin'):
rsync(os.path.join(charm_dir(), 'scripts',
'check_rabbitmq_cluster.py'),
os.path.join(NAGIOS_PLUGINS, 'check_rabbitmq_cluster.py'))
# Find out if nrpe set nagios_hostname
hostname = nrpe.get_nagios_hostname()
myunit = nrpe.get_nagios_unit_name()