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 7d240fa354.

Signed-off-by: Mert Kırpıcı <mert.kirpici@canonical.com>
Change-Id: Iad0cf612e1333a1d89b6ccaca5161e84b7b020aa
This commit is contained in:
Mert Kırpıcı 2022-08-12 19:30:59 +03:00
parent a3f65978a7
commit 9905ca13ee
1 changed files with 0 additions and 6 deletions

View File

@ -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')