~aieri/charm-nagios:bug/1811997

Last commit made on 2020-01-30
Get this branch:
git clone -b bug/1811997 https://git.launchpad.net/~aieri/charm-nagios
Only Andrea Ieri can upload to this branch. If you are Andrea Ieri please log in for upload directions.

Branch merges

Branch information

Name:
bug/1811997
Repository:
lp:~aieri/charm-nagios

Recent commits

f71f6cc... by Andrea Ieri

Write all password files with mode 0400

Closes-Bug: 1811997

282cb09... by Edward Hope-Morley

Make admins contactgroup membership configurable

Reviewed-on: https://code.launchpad.net/~hopem/nagios-charm/+git/nagios-charm/+merge/376818
Reviewed-by: Haw Loeung <email address hidden>
Reviewed-by: James Hebden <email address hidden>

343ed3b... by Edward Hope-Morley

Make admins contactgroup membership configurable

This allows custom configs provide via the extraconfigs option
to provide new contacts and services/commands that use those
contacts.

Closes-Bug: 1844658

8a7c282... by James Hebden

Add flap detection configuration option.

This merge introduces a new configuration item "flap_detection".
It controls whether or not flap detection is enabled in Nagios. The default is true, which matches the present hard-coded default in the Nagios configuration template.

Additionally, I have added a function to the hooks library that will convert a python boolean type (which is returned by hookenv.config for a boolean type config item) into Nagios's preferred 0/1 integer representation for on/off states. This new setting uses the function, but I have not altered the behaviour of any existing settings and their rendering into the configuration file. It simply typecasts the boolean type as int, which achieves the desired result.

Reviewed-on: https://code.launchpad.net/~nagios-charmers/nagios-charm/+git/nagios-charm/+merge/375524
Reviewed-by: Joel Sing <email address hidden>

5792a71... by James Hebden

Add charm configuration for controlling flap detection

Signed-off-by: James Hebden <email address hidden>

7f3b310... by Alvaro Uria

Previous commit missed service redefinition

Reviewed-on: https://code.launchpad.net/~aluria/nagios-charm/+git/nagios-charm/+merge/374424
Reviewed-by: Peter Sabaini <email address hidden>

67109a9... by Alvaro Uria

Previous commit missed service redefinition

Previous commit added a fix to a command definition, and also changed
its name. However the 'generic-service' was not updated to use the new
command name. This merge proposal fixes it.

00b10a5... by Nicolas Pochet

Exclude virtual fs from local disk checks

Closes-Bug: 1836122

Reviewed-on: https://code.launchpad.net/~npochet/nagios-charm/+git/nagios-charm/+merge/371645
Reviewed-by: Jeremy Lounder <email address hidden>

5e77f5e... by Nicolas Pochet

Exclude virtual fs from local disk checks

Closes-Bug: 1836122

0ebcbda... by Thomas Cuthbert

Fix broken link in charm doco, LP#1836008

Reviewed-on: https://code.launchpad.net/~tcuthbert/nagios-charm/+git/nagios-charm/+merge/369932
Reviewed-by: Junien Fridrick <email address hidden>