~vultaire/charm-nrpe:host-container-check-rework

Last commit made on 2021-08-17
Get this branch:
git clone -b host-container-check-rework https://git.launchpad.net/~vultaire/charm-nrpe
Only Paul Goins can upload to this branch. If you are Paul Goins please log in for upload directions.

Branch merges

Branch information

Name:
host-container-check-rework
Repository:
lp:~vultaire/charm-nrpe

Recent commits

a01359b... by Paul Goins

Refactored out a helper function for comparing sets

a8dc2c8... by Paul Goins

Reworked some checks to only run on hosts

Some checks have limited to no meaning when run on containers. This
patch tries to change some of those checks so they're only enabled and
installed on host machines.

Do note that this does impact testing. Functional tests expect that
the main machines of the model are not containers, and a newly added
test for this functionality will fail if it is run on an LXD-based
Juju controller.

9472218... by Connor Chamberlain

Added "auto" option to nagios_hostname_type config

Reviewed-on: https://code.launchpad.net/~lcvcode/charm-nrpe/+git/charm-nrpe/+merge/406962
Reviewed-by: Drew Freiberger <email address hidden>
Reviewed-by: 🤖 prod-jenkaas-bootstack <email address hidden>
Reviewed-by: James Troup <email address hidden>

5071112... by Connor Chamberlain

Added "auto" option to nagios_hostname_type config

* "auto" is the new default value for this config
* When set, bare-metal hosts will provide their hostname to nagios
* When set, non-metal hosts will provide their unit name to nagios

3456a4f... by Connor Chamberlain

Added model uuid to monitors relation

Reviewed-on: https://code.launchpad.net/~lcvcode/charm-nrpe/+git/charm-nrpe/+merge/406843
Reviewed-by: Drew Freiberger <email address hidden>
Reviewed-by: 🤖 prod-jenkaas-bootstack <email address hidden>
Reviewed-by: James Troup <email address hidden>

01f5bab... by Connor Chamberlain

Added model uuid to monitors relation

7fad0fa... by Xav Paice

Improvements to functional testing

* Remove Trusty support
* Add functional tests for Focal
* charmhelpers update
* Lint fixes

Reviewed-on: https://code.launchpad.net/~xavpaice/charm-nrpe/+git/nrpe-charm/+merge/406421
Reviewed-by: Paul Goins <email address hidden>
Reviewed-by: 🤖 prod-jenkaas-bootstack <email address hidden>
Reviewed-by: Xiyue Wang <email address hidden>

aa9e5a7... by Xav Paice

Add submodules to build step

ecb7192... by Xav Paice

remove Trusty support

77dcc14... by Xav Paice

Update functests for Focal