[pve-devel] [PATCH v2 pve-docs 21/22] notifications: describe new notification metadata fields
Lukas Wagner
l.wagner at proxmox.com
Wed Dec 13 17:38:00 CET 2023
Signed-off-by: Lukas Wagner <l.wagner at proxmox.com>
---
notifications.adoc | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/notifications.adoc b/notifications.adoc
index f087dda..62a1cee 100644
--- a/notifications.adoc
+++ b/notifications.adoc
@@ -289,19 +289,22 @@ Notification Events
[width="100%",options="header"]
|===========================================================================
-| Event | `type` | Severity | Metadata fields (in addition to `type`)
-| System updates available |`package-updates` | `info` | `hostname`
-| Cluster node fenced |`fencing` | `error` | `hostname`
-| Storage replication failed |`replication` | `error` | -
-| Backup finished |`vzdump` | `info` (`error` on failure) | `hostname`
-| Mail for root |`system-mail` | `unknown`| -
+| Event | `type` | Severity | Metadata fields (in addition to `type`)
+| System updates available |`package-updates` | `info` | `hostname`
+| Cluster node fenced |`fencing` | `error` | `hostname`
+| Storage replication job failed |`replication` | `error` | `hostname`, `replication-job`
+| Backup succeeded |`vzdump` | `info` | `hostname`, `backup-job` (only for backup jobs)
+| Backup failed |`vzdump` | `error` | `hostname`, `backup-job` (only for backup jobs)
+| Mail for root |`system-mail` | `unknown`| `hostname`
|===========================================================================
[width="100%",options="header"]
|=======================================================================
-| Field name | Description
-| `type` | Type of the notifcation
-| `hostname` | Hostname, without domain (e.g. `pve1`)
+| Field name | Description
+| `type` | Type of the notifcation
+| `hostname` | Hostname, without domain (e.g. `pve1`)
+| `backup-job` | Backup job ID
+| `replication-job` | Replication job ID
|=======================================================================
System Mail Forwarding
--
2.39.2
More information about the pve-devel
mailing list