charm-nagios:stable/20.05

Last commit made on 2020-05-01
Get this branch:
git clone -b stable/20.05 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.05
Repository:
lp:charm-nagios

Recent commits

73961bb... by Alvaro Uria

Merge remote-tracking branch 'sandor/bug/1864968'

Reviewed-on: https://code.launchpad.net/~szeestraten/charm-nagios/+git/nagios-charm/+merge/379943
Reviewed-by: Alvaro Uria <email address hidden>
Signed-off-by: Alvaro Uria <email address hidden>

0a9f9c8... by Sandor Zeestraten

Add config options for default contact definition

Add the following config options for the default contact definition:
* service_notification_period
* host_notification_period
* service_notification_options
* host_notification_options
* service_notification_commands
* host_notification_commands

LP: 1864968

388f009... by Andrea Ieri

Force postfix to only listen on localhost

Closes-Bug: 1843863

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>