~lihuiguo/charm-nrpe:bug/1988360

Last commit made on 2022-09-01
Get this branch:
git clone -b bug/1988360 https://git.launchpad.net/~lihuiguo/charm-nrpe
Only Linda Guo can upload to this branch. If you are Linda Guo please log in for upload directions.

Branch merges

Branch information

Name:
bug/1988360
Repository:
lp:~lihuiguo/charm-nrpe

Recent commits

1ebac36... by Linda Guo

Cache memory shouldn't change used_memory_kb

If we count caches as free, it should only
impact the free memory, shouldn't change
used_memory_kb because used_memory_kb=total_memory-available_memory

0783006... by Mert Kirpici

Set default cpu_governor values for specific principle charms

Reviewed-on: https://code.launchpad.net/~mertkirpici/charm-nrpe/+git/charm-nrpe/+merge/427905
Reviewed-by: Eric Chen <email address hidden>
Reviewed-by: Robert Gildein <email address hidden>

b050270... by Mert Kirpici

tests/unit: add tests for cpu governor check

Signed-off-by: Mert Kırpıcı <email address hidden>

f8d459c... by Mert Kirpici

nrpe_helpers: set default cpu governor checks

From now on we are setting a default check of the value "performance"
for selected principle charms within the nrpe charm code. The old
behavior was to get this default value through the
nrpe-external-master relation.

One side effect to note is that `juju config` will report empty
configuration, however that was also the case for the previous
implementation. This new approach is saving us from updating every
single charm code that we want to introduce a default behavior.

Signed-off-by: Mert Kırpıcı <email address hidden>

89ab360... by Mert Kirpici

Make unittests and lint targets green again

Reviewed-on: https://code.launchpad.net/~mertkirpici/charm-nrpe/+git/charm-nrpe/+merge/428201
Reviewed-by: Eric Chen <email address hidden>

0b2353f... by Mert Kirpici

tests/unit: adjust cis_audit default arg change

Related: #1983350
Signed-off-by: Mert Kırpıcı <email address hidden>

83d4ab4... by Mert Kirpici

lint: add line break in check_ro_filesystem.py

Signed-off-by: Mert Kırpıcı <email address hidden>

39071e1... by Nikita Koltsov

Change default value for max-age to fix 1983350

Reviewed-on: https://code.launchpad.net/~nkoltsov/charm-nrpe/+git/charm-nrpe/+merge/427713
Reviewed-by: Eric Chen <email address hidden>

12724fd... by Felipe Reyes

Add Jammy support.

Reviewed-on: https://code.launchpad.net/~freyes/charm-nrpe/+git/nrpe-charm/+merge/425257
Reviewed-by: Eric Chen <email address hidden>
Reviewed-by: Przemyslaw Lal <email address hidden>
Reviewed-by: Corey Bryant <email address hidden>

63eaa23... by Nikita Koltsov

Change default value for max-age to fix 1983350