[pve-devel] applied: [PATCH manager] api: replication: don't send mails about failed replication only once

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Apr 27 10:30:42 CEST 2022


On 22.04.22 14:15, Fabian Ebner wrote:
> but rather multiple times becoming exponentially less frequent.
> 
> Suggested-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
> Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
> ---
>  PVE/API2/Replication.pm | 15 ++++++++++++++-
>  1 file changed, 14 insertions(+), 1 deletion(-)
> 
>

applied, thanks!

Added a follow up to always mail the first three tries to notice the admin that the
problem wasn't just a fluke.

I'm now also including some relevant info in the mail, like schedule, last successful
sync and next sync try, the actual fail count so that an admin can tell how often it
was tried (as the mail frequency doesn't matches that) and a note about reducing
notification frequency at $fail_count == 3, to avoid confusion.






More information about the pve-devel mailing list