From 8a9d1d2a697ebc3e5702be460300440160e5add0 Mon Sep 17 00:00:00 2001 From: Liam Young Date: Sun, 19 Apr 2015 10:03:07 +0100 Subject: [PATCH] [gnuoy,trivial] Pre-release charmhelper sync --- hooks/charmhelpers/contrib/charmsupport/nrpe.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hooks/charmhelpers/contrib/charmsupport/nrpe.py b/hooks/charmhelpers/contrib/charmsupport/nrpe.py index 9d961cfb..95a79c2e 100644 --- a/hooks/charmhelpers/contrib/charmsupport/nrpe.py +++ b/hooks/charmhelpers/contrib/charmsupport/nrpe.py @@ -247,7 +247,9 @@ class NRPE(object): service('restart', 'nagios-nrpe-server') - for rid in relation_ids("local-monitors"): + monitor_ids = relation_ids("local-monitors") + \ + relation_ids("nrpe-external-master") + for rid in monitor_ids: relation_set(relation_id=rid, monitors=yaml.dump(monitors))