Closed zxhdaze closed 6 months 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]
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]