~xavpaice/charm-nagios:update_charmcraft

Last commit made on 2022-03-08
Get this branch:
git clone -b update_charmcraft https://git.launchpad.net/~xavpaice/charm-nagios
Only Xav Paice can upload to this branch. If you are Xav Paice please log in for upload directions.

Branch merges

Branch information

Name:
update_charmcraft
Repository:
lp:~xavpaice/charm-nagios

Recent commits

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.

50d518f... by Paul Goins

Lint fix

4056750... by Paul Goins

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.

1b72935... by Linda Guo

Return empty string if JUJU_CHARM_DIR is not set because None+"/icon.svg" would raise exception

Reviewed-on: https://code.launchpad.net/~lihuiguo/charm-nagios/+git/charm-nagios/+merge/409880
Reviewed-by: James Troup <email address hidden>

07c917c... by Linda Guo

Return empty string if JUJU_CHARM_DIR is not set

None+"/icon.svg" would raise exception

9ad5dc8... by Linda Guo

add registration relation to register nagios to Homer dashboard[1]

[1] https://launchpad.net/charm-homer-dashboard

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