charm-nagios:bug-1938737

Last commit made on 2022-08-26
Get this branch:
git clone -b bug-1938737 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:
bug-1938737
Repository:
lp:charm-nagios

Recent commits

f829cac... by Facundo Ciccioli

Move the '-r' flag depending on sender_email's logic to the template

Less python code is always better.

89d2e53... by Garrett Neugent

Add config support for a sender email.

Addresses bug 1938737 [0] by adding the "-r" flag for /usr/bin/mail
when an address is provided.

[0] https://bugs.launchpad.net/charm-nagios/+bug/1938737

c15b7a7... by Gabriel Cocenza

Fix functional CI

1. charm-nrpe deprecated the disk_root config option and is passing an
empty string as default. This is stopping the creation of the disk_root
checks and test_nrpe_monitors_config fails.

2. public_address from python-libjuju is deprecated and in some cases is
returning None. Updating the method to get_public_address.

Reviewed-on: https://code.launchpad.net/~gabrielcocenza/charm-nagios/+git/charm-nagios/+merge/421547
Reviewed-by: Alvaro Uria <email address hidden>
Reviewed-by: 🤖 prod-jenkaas-bootstack <email address hidden>

44812a2... by Gabriel Cocenza

Fix functional CI

1. charm-nrpe deprecated the disk_root config option and is passing an
empty string as default. This is stopping the creation of the disk_root
checks and test_nrpe_monitors_config fails.

2. public_address from python-libjuju is deprecated and in some cases is
returning None. Updating the method to use get_public_address.

aeea850... by Alvaro Uria

Update Pagerduty configuration details in README

Reviewed-on: https://code.launchpad.net/~aluria/charm-nagios/+git/nagios-charm/+merge/416949
Reviewed-by: James Troup <email address hidden>
Reviewed-by: 🤖 prod-jenkaas-bootstack <email address hidden>

e3a52e8... by Alvaro Uria

Update Pagerduty configuration details in README

35ee4c0... by Xav Paice

update charmcraft.yaml

Reviewed-on: https://code.launchpad.net/~xavpaice/charm-nagios/+git/nagios-charm/+merge/416443
Reviewed-by: James Troup <email address hidden>
Reviewed-by: 🤖 prod-jenkaas-bootstack <email address hidden>

4884993... by Xav Paice

add missing scripts dir to charmcraft

58839b7... by Xav Paice

update charmcraft.yaml

1af4a9c... by Xav Paice

Allow for tuning of notification interval

    Notification interval is handled at the level of the base
    generic-service and generic-host objects. generic-service and
    generic-host are not defined by the charm, but rather by the installed
    nagios3 package. This patch uses PyNag to tweak those values, similar
    to how the update_localhost function works for tweaking the localhost
    host object.

Reviewed-on: https://code.launchpad.net/~vultaire/charm-nagios/+git/charm-nagios/+merge/415009
Reviewed-by: James Troup <email address hidden>
Reviewed-by: 🤖 prod-jenkaas-bootstack <email address hidden>