[pve-devel] [PATCH docs v5 15/16] notifications: describe new notification metadata fields
Lukas Wagner
l.wagner at proxmox.com
Mon Apr 15 10:26:13 CEST 2024
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 57053c8..0eeed6a 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