[gnuoy,trivial] Pre-release charmhelper sync
This commit is contained in:
parent
ee0a1067c4
commit
8a9d1d2a69
@ -247,7 +247,9 @@ class NRPE(object):
|
|||||||
|
|
||||||
service('restart', 'nagios-nrpe-server')
|
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))
|
relation_set(relation_id=rid, monitors=yaml.dump(monitors))
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user