~przemeklal/charm-nagios:master

Last commit made on 2022-05-13
Get this branch:
git clone -b master https://git.launchpad.net/~przemeklal/charm-nagios
Only Przemyslaw Lal can upload to this branch. If you are Przemyslaw Lal please log in for upload directions.

Branch merges

Branch information

Name:
master
Repository:
lp:~przemeklal/charm-nagios

Recent commits

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>

81b0ffe... by Paul Goins

More black/lint fixes

de233bd... by Paul Goins

Allow for limiting email notifications

By setting email_max_notifications to a positive value, email
notifications will be sent only up to N times per alert, after which
no more mails will be sent.

This is intended to be used in conjunction with a non-zero
notification_interval, allowing for alerts to re-notify but without
sending emails on each re-notification.