charm-nagios:stable/20.02

Last commit made on 2020-02-28
Get this branch:
git clone -b stable/20.02 https://git.launchpad.net/charm-nagios
Members of Llama (LMA) Charmers can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
stable/20.02
Repository:
lp:charm-nagios

Recent commits

cf997fe... by Alvaro Uria

Update maintainer

e3e2f75... by Angelos Kolaitis

Added a configuration option to change default 'nagiosadmin' user name

LP: 1671831

Reviewed-on: https://code.launchpad.net/~aggkolaitis/nagios-charm/+git/nagios-charm/+merge/374089
Reviewed-by: Xav Paice <email address hidden>
Reviewed-by: Stuart Bishop <email address hidden>
Reviewed-by: Andrea Ieri <email address hidden>

ac353d3... by Andrea Ieri

Write all password files with mode 0400

Reviewed-on: https://code.launchpad.net/~aieri/nagios-charm/+git/nagios-charm/+merge/378116
Reviewed-by: Xav Paice <email address hidden>
Reviewed-by: Giuseppe Petralia <email address hidden>

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>

06b9eee... by Angelos Kolaitis

Fallback to nagiosadmin when config is empty

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>