[pve-devel] applied: [PATCH v6 pve-ha-manager 01/30] manager: send notifications via new notification module

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Aug 3 17:39:42 CEST 2023


Am 03/08/2023 um 14:16 schrieb Lukas Wagner:
> ... instead of using sendmail directly.
> 
> If the new 'notify.target-fencing' parameter from datacenter config
> is set, we use it as a target for notifications. If it is not set,
> we send the notification to the default target (mail-to-root).
> 
> There is also a new 'notify.fencing' paramter which controls if
> notifications should be sent at all. If it is not set, we
> default to the old behavior, which is to send.
> 
> Also add dependency to the `libpve-notify-perl` package to d/control.
> 
> Signed-off-by: Lukas Wagner <l.wagner at proxmox.com>
> ---
>  debian/control           |  2 ++
>  src/PVE/HA/Env.pm        |  6 ++---
>  src/PVE/HA/Env/PVE2.pm   | 21 +++++++++-------
>  src/PVE/HA/NodeStatus.pm | 52 ++++++++++++++++++++++++----------------
>  src/PVE/HA/Sim/Env.pm    | 10 ++++++--
>  5 files changed, 57 insertions(+), 34 deletions(-)
> 
>

applied, thanks!





More information about the pve-devel mailing list