all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Constantin Herold via pve-devel <pve-devel@lists.proxmox.com>
To: pve-devel@lists.proxmox.com
Cc: Constantin Herold <proxmox8914@herold.me>,
	Lukas Wagner <l.wagner@proxmox.com>,
	Thomas Lamprecht <t.lamprecht@proxmox.com>
Subject: Re: [pve-devel] [PATCH pve-manager 0/1] feat: pass backup status to hook script on job-end/job-abort
Date: Sat, 27 Sep 2025 13:13:36 +0200	[thread overview]
Message-ID: <mailman.450.1758971626.390.pve-devel@lists.proxmox.com> (raw)
In-Reply-To: <mailman.379.1758732519.390.pve-devel@lists.proxmox.com>

[-- Attachment #1: Type: message/rfc822, Size: 5613 bytes --]

From: Constantin Herold <proxmox8914@herold.me>
To: pve-devel@lists.proxmox.com
Cc: Thomas Lamprecht <t.lamprecht@proxmox.com>, Lukas Wagner <l.wagner@proxmox.com>
Subject: Re: [pve-devel] [PATCH pve-manager 0/1] feat: pass backup status to hook script on job-end/job-abort
Date: Sat, 27 Sep 2025 13:13:36 +0200
Message-ID: <54300259-e13c-44c8-8382-872591d7bfcc@herold.me>

So I wanted to migrate to the notification system now, but since you 
can't limit webhooks by type e.g. `backup result` it's not possible 
without another custom middleware service which would add unnecessary 
maintenance overhead and an additional point of failure.


On 24.09.25 18:48, Constantin Herold via pve-devel wrote:
>
> Re: [PATCH pve-manager 0/1] feat: pass backup status to hook script.eml
>
> Subject:
> Re: [PATCH pve-manager 0/1] feat: pass backup status to hook script on 
> job-end/job-abort
> From:
> Constantin Herold <proxmox8914@herold.me>
> Date:
> 24.09.25, 18:48
>
> To:
> Thomas Lamprecht <t.lamprecht@proxmox.com>, pve-devel@lists.proxmox.com
> CC:
> Lukas Wagner <l.wagner@proxmox.com>
>
>
> Thanks Thomas, I wasn't aware of the builtin webhook support, seems 
> like I can do what I need with the builtin `handlebars` templating 
> engine.
>
> I still think my patch would be a great addition given that scripting 
> capabilities are not limited in any way.
>
> Let me know if I need to do anything else for the Proxmox Team to 
> review it.
>
>
> On 24.09.25 11:40, Thomas Lamprecht wrote:
>> FWIW, for this the notification system might be better suited, it 
>> already
>> has support for various targets, including web hooks. That doesn't mean
>> adding info to the hook is not needed, just wanted to mention that it 
>> exist
>> and that one option might be to provide support for trigger a dedicated
>> notification for each single backup "sub-job", which would avoid the 
>> need
>> for having a custom hook if it's just to get a dedicated notification 
>> / hook
>> ASAP for each failed backup of a guest (vs. the overall result of the 
>> backups
>> of all guests).
>>
>>
>
>
> _______________________________________________
> pve-devel mailing list
> pve-devel@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

  reply	other threads:[~2025-09-27 11:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20250923174007.84121-1-proxmox8914@herold.me>
2025-09-23 17:40 ` [pve-devel] [PATCH pve-manager 1/1] " Constantin Herold via pve-devel
2025-09-24  9:40 ` [pve-devel] [PATCH pve-manager 0/1] " Thomas Lamprecht
2025-09-24 16:48   ` Constantin Herold via pve-devel
2025-09-27 11:13     ` Constantin Herold via pve-devel [this message]
     [not found]     ` <54300259-e13c-44c8-8382-872591d7bfcc@herold.me>
2025-09-27 12:33       ` Thomas Lamprecht
2025-09-23 17:40 Constantin Herold via pve-devel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=mailman.450.1758971626.390.pve-devel@lists.proxmox.com \
    --to=pve-devel@lists.proxmox.com \
    --cc=l.wagner@proxmox.com \
    --cc=proxmox8914@herold.me \
    --cc=t.lamprecht@proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal