Revert "Added NRPE requested governor CPU check"
This is being handled in the nrpe charm now. See MP #427905 in LP: https://code.launchpad.net/~mertkirpici/charm-nrpe/+git/charm-nrpe/+merge/427905 This reverts commit 7d240fa35479028793f7059530b68b538c4a6bd8. Signed-off-by: Mert Kırpıcı <mert.kirpici@canonical.com> Change-Id: Iad0cf612e1333a1d89b6ccaca5161e84b7b020aa
This commit is contained in:
parent
a3f65978a7
commit
9905ca13ee
@ -1132,12 +1132,6 @@ def update_nrpe_config():
|
||||
critical=critical_threads)
|
||||
)
|
||||
nrpe_setup.write()
|
||||
# request CPU governor check from nrpe relation to be performance
|
||||
rel_settings = {
|
||||
'requested_cpu_governor': 'performance',
|
||||
}
|
||||
for rid in relation_ids('nrpe-external-master'):
|
||||
relation_set(relation_id=rid, relation_settings=rel_settings)
|
||||
|
||||
|
||||
@hooks.hook('master-relation-joined')
|
||||
|
Loading…
x
Reference in New Issue
Block a user