# Proxmox 9.3 Notification Rules: Alert Only on Failures

Title: Proxmox 9.3 Notification Rules: Alert Only on Failures
Canonical URL: https://www.mrplanb.com/blog/proxmox-9-3-notification-matcher-rules
Published: 2026-12-06T14:30:00
Author: Mr.PlanB
Language: en

Proxmox VE 9.3 lets notification matcher rules nest like a tree, so one matcher can send failed backups at any time and warnings only in office hours. In our 9.3.1 lab on 1 December 2026, a successful backup sent nothing to the phone webhook and a failed one sent exactly one message. A dead target did not block the backup, but it delayed the alert by 10 seconds.

This page goes with our lab video on the same test. For the rest of the release, see [what is new in Proxmox VE 9.3](https://www.mrplanb.com/blog/proxmox-ve-9-3-release-whats-new) and our [9.2 to 9.3 upgrade guide](https://www.mrplanb.com/blog/upgrade-proxmox-ve-9-2-to-9-3).

[Video: Proxmox Backup Alerts That Only Fire When It Matters: 9.3 Nested Notification Rules (Lab Test)](https://youtu.be/bPofEATr1_8)

Video: Proxmox Backup Alerts That Only Fire When It Matters: 9.3 Nested Notification Rules (Lab Test)

![One nested Proxmox notification matcher and the timeline of a failed backup alert with a dead target in the list](https://www.mrplanb.com/images/blog/proxmox-9-3-notification-matcher-rules-diagram.svg)

## What changed in Proxmox VE 9.3

Per the [Proxmox VE 9.3 release notes](https://pve.proxmox.com/wiki/Roadmap#Proxmox_VE_9.3):

* Match rules can be nested and combined inside a single matcher. The matcher editor shows them as a tree, where you reorder and move rules with drag and drop. A new rule type matches only if exactly one of its sub-rules matches.
* Processes that send a notification now add it to a queue on the local node, and the new `pve-notify-worker` service sends it. Slow or unreachable targets no longer block the sender, such as the HA Manager. Messages about sending a notification go to the journal of `pve-notify-worker` instead of the task log.
* Notification emails for manual guest backups can now be turned off.

The [notifications chapter of the Proxmox VE docs](https://pve.proxmox.com/pve-docs/chapter-notifications.html) has the full rule reference, the list of event types (`vzdump`, `fencing`, `replication`, `package-updates`, `system-mail` and more), and webhook examples for ntfy and Discord.

## The lab setup

One Proxmox VE 9.3.1 node nested in Hyper-V on a mini PC, `pve-notify-worker` active. A small webhook receiver on the node stood in for ntfy, Gotify or Discord. Out of the box there is one matcher:

```text
default-matcher builtin targets: ['mail-to-root']
```

Every notification goes to root's mailbox. After a few weeks of nightly backups, nobody reads it.

## Step 1: a webhook target

```bash
pvesh create /cluster/notifications/endpoints/webhook --name phone --url http://127.0.0.1:9000/alert --method post --body e3sgc2V2ZXJpdHkgfX06IHt7IHRpdGxlIH19
pvesh create /cluster/notifications/targets/phone/test
```

The body is base64 for `{{ severity }}: {{ title }}`. The test arrived at the receiver as `info: Test notification`.

## Step 2: one matcher, three branches

```bash
pvesh create /cluster/notifications/matchers --name phone-alerts --target phone \
  --comment 'failed backups any time, warnings in office hours' \
  --expression '{"any-of":[{"all-of":[{"match":{"type":"field","field":"type","values":["vzdump"]}},{"match":{"type":"severity","severities":["error"]}}]},{"all-of":[{"match":{"type":"severity","severities":["warning"]}},{"match":{"type":"calendar","schedule":"mon..fri 09:00-17:00"}}]},{"match":{"type":"field","field":"type","values":["fencing"]}}]}'
```

In words: any of (a backup with severity error), (a warning on a weekday between 09:00 and 17:00), or (any fencing event). In `/etc/pve/notifications.cfg` this is stored as one `expression` line of JSON. The GUI draws it as a tree:

![Match Rules tab of the Proxmox VE 9.3.1 notification matcher editor showing the nested rule tree](https://www.mrplanb.com/images/blog/proxmox-9-3-notification-matcher-rules-tree.webp)

## Step 3: a good backup and a broken one

A normal backup of container 102 finished and the receiver got nothing:

```text
INFO: Finished Backup of VM 102 (00:00:00)
INFO: Backup job finished successfully
webhook messages: 0
```

To break a backup on purpose, we pointed it at a 2 MB tmpfs storage:

```bash
mkdir -p /mnt/tiny && mount -t tmpfs -o size=2m tmpfs /mnt/tiny
pvesm add dir tiny --path /mnt/tiny --content backup --is_mountpoint 1
vzdump 102 --storage tiny --mode stop
```

The backup failed and the receiver got exactly one message:

```text
webhook messages: 1
13:27:26 /alert error: vzdump backup status (pve.lab.local): backup failed
```

The worker journal shows the same notification matched both `default-matcher` and `phone-alerts`, so root still got the email. That is fine: keep email as a record, and let the phone carry only what needs action.

## Step 4: a dead target in the list

We added a second webhook, `dead-hook`, with a matcher for every backup, and pointed it at an address that does not answer.

First at 10.0.2.99, which refused at once. The worker gave up in about 3 seconds and the phone alert followed:

```text
Dec 01 13:27:46 pve pve-notify-worker[1079]: notification matched the following matchers: all-backups-dead, default-matcher, phone-alerts. ...
Dec 01 13:27:49 pve pve-notify-worker[1079]: could not notify via target `dead-hook`: HTTP request failed: io: No route to host (os error 113)
Dec 01 13:27:49 pve pve-notify-worker[1079]: notified via target `phone`
```

Then at 192.0.2.1, which just hangs. The backup command returned after 3 seconds, at 13:29:07, so the queue did its job and the job was not blocked. But the alert waited:

```text
Dec 01 13:29:09 pve pve-notify-worker[1079]: notification matched the following matchers: all-backups-dead, default-matcher, phone-alerts. ...
Dec 01 13:29:19 pve pve-notify-worker[1079]: could not notify via target `dead-hook`: HTTP request failed: timeout: global
Dec 01 13:29:19 pve pve-notify-worker[1079]: notified via target `phone`
```

The worker spent 10 seconds on the dead target before it sent to the phone. One dead target costs one timeout per alert. Several would add up.

## Checklist

1. Add a target you actually read: ntfy, Gotify, Discord or another webhook. Keep tokens in the webhook's secrets, not in the URL.
2. One phone matcher: failed backups and fencing at any time, warnings in office hours.
3. Keep email as a record, not a to-do list.
4. Press Test on every target after setup and after each upgrade.
5. Delete dead targets: each one adds its timeout before the next alert.
6. Fire drill: break one backup on purpose with the tmpfs storage above, check your phone, then remove the storage with `pvesm remove tiny` and `umount /mnt/tiny`.

## What we did not test

Real ntfy, Gotify or Discord services, SMTP targets, clusters, and the warning branch of the matcher (no warning event fired during the test). Lab output on this page is from our own node on 1 December 2026; anything marked as opinion is ours. If backups are the reason you care about alerts, our [backup advisor](https://backup.mrplanb.com/backup-advisor) helps choose a setup for Proxmox.

## FAQ

### What are nested notification rules in Proxmox VE 9.3?

Per the release notes, match rules can now be nested and combined inside one matcher, and the web interface shows them as a tree. A new rule type matches only when exactly one sub-rule matches.

### How do I get Proxmox to alert only on failed backups?

Create a matcher with an all-of rule for type vzdump and severity error, and point it at a target you read, such as a webhook to ntfy or Discord. In our lab a successful backup sent 0 webhook messages and a failed one sent exactly 1.

### What is pve-notify-worker in Proxmox VE 9.3?

A new service that sends notifications from a local queue, so slow or unreachable targets no longer block the sender. Messages about sending are logged to its journal instead of the task log.

### Can a dead notification target delay other Proxmox alerts?

Yes, in our lab. With an unreachable webhook in the list, the worker waited 10 seconds for it to time out before it sent the alert to the working target. The backup job itself was not held up.

Source: https://www.mrplanb.com/blog/proxmox-9-3-notification-matcher-rules
