esunar / test4

GNU General Public License v3.0
0 stars 0 forks source link

Missing 'guest' suffix for nrpe application deployed in KVM #217

Closed esunar closed 1 year ago

esunar commented 1 year ago

Configuration of nrpe application deployed in KVM guest might be different than it's configuration targeting physical host.

One example is to disable swap checks on KVM guest deployed by Juju to silence Nagios false positive alerts about missing swap.

To differentiate nrpe-host and nrpe-container from nrpe deployed in KVM guest, it is suggested to give it a different name, e.g. nrpe-kvm-guest.

Then a new 'guest' suffix needs to be added to juju-lint configuration, so that the new nrpe flavor is recognized correctly.

nrpe: where: container aware # and except nagios host-suffixes: [host, physical, guest] <-- here container-suffixes: [lxd, container]


Imported from Launchpad using lp2gh.