Notifications
The fan-out engine that takes events from every collector inside the Monitor and delivers them to Telegram, Discord, Email, Gotify, Pushover and ~80 extra services via Apprise — with deduplication, cooldown, burst aggregation, per-event and per-channel toggles, an optional AI rewriter, and a queryable history.
Where messages come from
How it works
Every notification follows the same path through the Monitor process. Events are produced by a handful of independent collectors, normalised into a structured payload, passed through a dispatch pipeline that decides whether to send and in what shape, optionally rewritten by an LLM, and finally fanned out to whichever channels the user has configured.
High-level flow. Every actual dispatch attempt — successful, aggregated or failed — is recorded in the SQLite history table for retrospective inspection. Events suppressed by the cooldown stage are not logged.
Enabling the panel
On a fresh install the Notifications card on the Settings tab shows a Disabled badge and a single Enable Notifications button. Nothing is dispatched and no PVE config is touched until you press it.

Pressing the button does three things in sequence:
- Flips the panel to its Active state and unfolds the channel form below.
- Registers a Proxmox webhook target in
/etc/pve/notifications.cfg. Without Monitor HTTPS, it usesPOST http://127.0.0.1:8008/api/notifications/webhook; with HTTPS enabled, it uses the HTTP loopback listener on port 8009. PVE notifications then enter the Monitor’s dispatch process. See PVE webhook integration below. - Starts the dispatch background thread. The thread polls the event queue and walks every event through the pipeline diagrammed above.

Event sources
Six source types feed the notification engine: background collectors, the webhook receiver and direct emitters inside the process. They produce structured NotificationEvent objects.
| Collector | Watches | Typical events |
|---|---|---|
| Health Monitor | Ten categories, every 5 minutes | new_error, error_resolved, error_escalated, health_degraded, health_persistent. |
| Journal watcher | journalctl --follow with pattern matching for SSH / web auth failures, Fail2Ban bans (when the optional jail is installed), kernel I/O errors, OOM, smartd events. | auth_fail, ip_block, oom_kill, disk_io_error, service_fail. |
| Task watcher | Polls /var/log/pve/tasks/index for new task UPIDs and follows their per-file logs. | backup_start, backup_complete, backup_warning, backup_fail, migration_*, snapshot_complete. |
| Proxmox webhook hook | Receives POST /api/notifications/webhook. PVE versions with webhook notification targets can forward their notifications here after setup (see below). | Anything PVE emits — including events the Monitor would otherwise miss (HA, replication, vzdump from the GUI). |
| Polling collector | Periodic comparisons (cluster nodes online, certificate expiry, GPU passthrough state, PVE / ProxMenux update availability). | node_disconnect, node_reconnect, pve_update, proxmenux_update, gpu_mode_switch, pci_passthrough_conflict. |
| In-process emitters | Direct calls from ProxMenux scripts and from the Monitor itself (notification_manager.emit_event(...)). | system_startup, system_shutdown, system_reboot, ai_model_migrated, custom test events. |
Every event carries a stable event_type (the catalogue is below), a severity (INFO, WARNING, CRITICAL), a category (used for emoji enrichment and per-group filters) and a data payload with anything the template needs (vmid, device, source_ip, reason…).
Each event_type has a matching template in notification_templates.py that renders the structured event into a plain-text body before anything else happens. That templated body is what travels through the dispatch pipeline, and what the optional AI layer rewrites if enabled. See the AI Assistant page for how the rewrite layer interacts with this templated body.
Channel walkthroughs
Six channels are currently supported: Telegram, Discord, Gotify, Email (SMTP), Pushover and Apprise. The first five are native integrations with their own configuration fields. Apprise is a generic hub that adds around 80 additional services (ntfy, Matrix, Slack, Teams, Pushbullet, AWS SNS, Mattermost…) through a single URL field. They are all documented step by step below.
Where credentials live
/usr/local/share/proxmenux/. Sensitive values are protected and masked in the interface. They never leave the host except to reach their respective services. A backup of that directory is enough to recover the configured channels.Telegram
Two pieces of information are required: a Bot Token (one per bot, reusable across chats) and a Chat ID (where the bot should post — your private chat, a group, or a topic inside a supergroup). The in-app guide below contains the full step-by-step; the rest of this section repeats it as text plus the two shapes the Chat ID can take.

1 · Create a bot with BotFather
- Open Telegram and start a chat with @BotFather (the one with the blue verification tick — copies are common).
- Send
/newbot. - Pick a display name (e.g. ProxMenux Lab). It can be changed later.
- Pick a username ending in
bot(e.g. proxmenux_lab_bot). It must be unique across Telegram. - BotFather replies with a token of the form
123456789:ABCdef…— that is the Bot Token. Treat it as a password.
2 · Get the Chat ID
The Chat ID identifies where the bot posts. It takes one of two shapes depending on the target.
Private chat (you receive the alerts on your own account):
- Start a chat with your new bot and send any message (e.g.
/start). - Open a chat with @userinfobot (or @myidbot) and send
/start. It replies with your numeric user ID — that is the Chat ID. It is a positive number.

Group or supergroup with topics:
- Add the bot to the group as a member (and make it admin if the group requires it to post).
- Send any message in the group.
- Open
https://api.telegram.org/bot<YOUR_TOKEN>/getUpdatesin a browser. Look forchat.idin the JSON response — for groups it is a negative number, for supergroups it starts with-100. - For supergroups with Topics enabled, also note the
message_thread_idof the topic you want to target — set a fallback in Default Topic ID (optional), or assign a dedicated Topic ID per notification category (e.g. Backups, Security, Storage) in edit mode.

-100…, Default Topic ID sets the fallback thread, and individual categories can override it with their own Topic ID.3 · Save and test
Paste the Bot Token and Chat ID into the Telegram tab, save, and press Send Test at the bottom of the panel. A test message should arrive within a second; if it doesn't, the History section records the failure with the exact reason (invalid token, bot not in group, blocked by user, etc.).
Discord
Discord channels accept incoming messages through a Webhook URL tied to a single channel. The Monitor needs that URL and nothing else.
- In Discord, open the server where you want notifications to land and go to Server Settings → Integrations → Webhooks.
- Click New Webhook. Give it a name (e.g. ProxMenux) and pick the channel it should post to. An avatar is optional.
- Click Copy Webhook URL — it looks like
https://discord.com/api/webhooks/<id>/<token>. - Paste it in the Webhook URL field of the Discord tab in the Notifications panel and save.

Gotify
Gotify is a self-hosted push server. You need its base URL and an Application Token generated from the Gotify admin UI.
- If you don't already have a Gotify instance, install one — see the official install guide.
- Open the Gotify web UI, log in as admin, go to Apps → Create Application. Give it a name (e.g. ProxMenux). Gotify generates a token — copy it.
- In the Gotify tab of the Notifications panel, set Server URL to the base URL of your instance (e.g.
https://gotify.example.com) and paste the App Token. - Save and press Send Test.

Email (SMTP)
Email is the most flexible channel — and the one with the most fields. You need an SMTP server, a port, a TLS mode, optionally a username and password, a sender address and at least one recipient.

The Monitor uses password-based SMTP authentication. Gmail may require an app password. Microsoft support depends on the service and tenant policy; an app password does not override a ban on Basic authentication. Verify that your SMTP service permits this method.
Gmail app password
Gmail app passwords require 2-Step Verification to be active on the Google account. If it isn't, the App passwords page won't exist.
- Open myaccount.google.com/security and turn on 2-Step Verification if it's not already on.
- Go to myaccount.google.com/apppasswords.
- Type a name (e.g. ProxMenux) and click Create. Google shows a 16-character password — copy it.
- Fill the Email tab with: Host
smtp.gmail.com, Port587, TLS ModeSTARTTLS, Username your Gmail address, Password the 16-character app password.
Microsoft / Outlook app password
Microsoft app passwords require two-step verification, but their availability does not guarantee SMTP compatibility. Where the service or tenant requires OAuth2, the Monitor’s password-based SMTP client cannot authenticate. Use an SMTP relay that supports the required upstream authentication.
- Open account.microsoft.com/security and enable two-step verification.
- If your account offers Advanced security options → App passwords, choose Create a new app password. This option alone does not establish that your mail service accepts password-based SMTP.
- If Microsoft generates an app password, copy it and verify that your SMTP service accepts it.
- Only if your provider permits password-based SMTP, fill in its approved settings: SMTP host
smtp.office365.comfor Exchange Online, Port587, TLS modeSTARTTLS, Username your mailbox address, and Password the permitted SMTP credential. Personal Outlook.com settings and authentication requirements are different; do not assume these credentials will work.
Self-hosted SMTP relay
Pushover
Pushover is a mobile push service with official apps for iOS, Android and desktop browsers. The dedicated ProxMenux channel talks directly to the Pushover API, so no Apprise URL is required.
Setup
- Create a Pushover account, install the official app on the devices that should receive alerts and sign in.
- Copy the User Key shown on your Pushover dashboard. A group key can be used instead when several people or devices must receive the same alert.
- Open Create an Application/API Token, create an application named ProxMenux and copy its 30-character API token.
- In Settings → Notifications → Pushover, paste the user or group key and the application API token. The device and sound fields are optional.
- Save the settings and press Send test. The Pushover app should receive the message immediately.
Priority mapping
Protect both values
Apprise (generic hub for ~80 services)
Apprise is an open-source notification library that speaks the protocol of around 80 different services through a single URL format. Adding it as one more channel inside the Monitor means you can deliver alerts to services that don't have a dedicated tab — ntfy, Matrix, Slack, Microsoft Teams, Mattermost, Pushbullet, AWS SNS, Pushsafer, Rocket.Chat, Signal API and many others — without ProxMenux having to implement each integration separately. Pushover can also be reached through Apprise, although its dedicated tab is simpler for a single Pushover destination.
The full list of supported services and the exact URL format for each one is available in the official Apprise documentation:
- Apprise service documentation — full index of supported services.
- URL basics — how Apprise URLs are structured.
Steps
- Pick the target service in the Apprise wiki and copy the URL template for it. Each service page shows the exact scheme to use (
ntfy://,matrix://,pover://,slack://…) plus any required tokens, channels or hostnames. - Fill in the placeholders with your own credentials. For example, an ntfy.sh topic looks like
ntfy://ntfy.sh/my-topic; a Pushover URL looks likepover://user@token; a Matrix URL looks likematrix://user:pass@host:port/#room. - Paste the final URL into the Apprise URL field in the Apprise tab of the Notifications panel and save.
- Press Send Test to verify the URL is reachable and the credentials are accepted.
What gets delivered
One URL per Apprise channel
Rich messages, categories and per-channel filtering
Below the channel form every channel exposes the same three controls: a Rich messages toggle at the top (highlighted with the arrow in the screenshot), the collapsible Notification Categories with per-event toggles, and a Send Test button at the bottom.

Rich messages
With Rich messages on, every event header is prefixed with a category emoji and the body is rendered using the channel's native formatting (Telegram HTML, Discord embed with severity colour). With it off, the Monitor sends a plain-text version with the same information minus the visual cues. Same content, different presentation:
[INFO] vm_start VM 101 (homeassistant) started on node pve-01 host: home-lab
🟢 VM started VM 101 (homeassistant) is now running on node pve-01 🏠 home-lab
The toggle is per-channel: leave Email plain for inbox-rule readability while letting Telegram and Discord render the rich version. Channels that don't support inline formatting (plain-text email, Gotify) ignore the formatting and fall back to text either way.
Per-event categories
Each channel independently controls categories and individual event types. Turning a category off suppresses its events for that channel. Individual event toggles apply within enabled categories; there is no global master-event filter in the dispatcher.
- Per-channel category toggle. For example, disabling the VM/CT category suppresses
vm_startand its peers for that channel. Category preferences are stored as<channel>.events.<group>. - Per-channel event toggle. Within an enabled category, you can choose send
backup_completeto Discord but not Telegram. Individual preferences are stored as<channel>.event.<event_type>. - Per-category Telegram Topic ID. On Telegram, each enabled category also accepts an optional Topic ID override (
telegram.topic_id.<group>). When set, events in that category route to that supergroup topic; when left empty, they fall back to the channel's Default Topic ID.
Each category header in the screenshot also shows the count of events currently enabled / total for that group, and a category-level toggle that flips every event inside it on or off in one click — the shortcut for muting a whole group (e.g. all info backups, all update-related events) without expanding the section.
Quiet Hours
Quiet Hours is a per-channel time window during which the dispatcher only lets CRITICAL events through. Everything else — INFO, WARNING, action events — is held back, persisted to disk, and delivered as a single grouped summary the moment the window closes. The channel still gets the urgent things in real time; the noise waits until you're likely to want it.

What it is for
- Don't wake me at 03:00 for an update notice. Backups, app updates, post-install optimisations and other INFO-level events stop pinging your phone at night.
- Critical events still arrive. Events actually classified as CRITICAL bypass Quiet Hours. The event name alone does not make it critical: the journal watcher emits Fail2Ban blocks and host shutdown/reboot notices as INFO, so those can be buffered.
- Don't miss anything either. The events suppressed during the window aren't silently dropped — they sit in a SQLite buffer until you're back on the clock.
How it works
- Per-channel toggle. Each channel has its own Quiet Hours config — Telegram can be silent 22:00–07:00 while email keeps receiving everything 24/7.
- Start and end time in your local timezone, half-open interval (start inclusive, end exclusive). The window can cross midnight (e.g. 22:00–07:00 means tonight until tomorrow morning).
- Live preview line right below the inputs shows whether the window is currently active and when the next transition happens. Saves opening a clock.
- During the window: CRITICAL events still fire through the normal dispatch pipeline. INFO and WARNING events are routed to a persistent buffer (
quiet_pendingtable in the Monitor's SQLite DB). - When the window closes: a single grouped notification is sent with everything that accumulated — one line per buffered event, in chronological order. The buffer is cleared only after the channel confirms delivery, so a transient Telegram / SMTP outage doesn't lose the night's context.
- Across restarts. If the Monitor restarts mid-window, the buffer is intact on disk. If the restart happens just after the window closed, the next dispatch cycle detects the pending rows and flushes them with a single "recovery" summary — no notifications are lost to a deploy or a reboot.
What counts as CRITICAL
Daily digest of INFO events
The Daily Digest is an opt-in setting that collects eligible INFO notices, such as available updates, into one summary at 09:00 or another chosen time. Backup and replication results and live-action events are exempt. Quiet Hours instead delays non-critical messages during a daily window.
It lives in the same channel-settings card as Quiet Hours (see the figure under Quiet Hours), right underneath. You enable each one independently.
What it is for
- The morning "everything that happened" recap. If you check on the host once a day with a coffee, one digest at 09:00 carries the same information as 20 individual pings throughout the previous day, without you reading 20 Telegram bubbles.
- Separate noise from signal. INFO events answer "what happened"; CRITICAL and WARNING answer "what do I need to do right now". The digest handles the first; everything else keeps its live delivery.
How it works
- Per-channel opt-in. Off by default — Telegram doesn't silently batch your alerts. You enable it on the channels where you want a digest, leaving others on live delivery.
- Delivery time in your local timezone. Defaults to 09:00 but you can pick any time; the dispatcher fires the digest within ~60 s of that minute.
- Included in the digest: eligible generic events with severity INFO. Examples include application update available, Tailscale update available, ProxMenux optimisation update available and APT security updates pending. Backup results and other exempt action events remain live.
- What is never delayed:
- CRITICAL events always go through immediately.
- WARNING events always go through immediately.
- Live-action events — VM/CT start, stop, shutdown, restart and failure; backup start and results; replication results; host shutdown and reboot — bypass the digest even at INFO severity. Quiet Hours can still delay non-critical events.
- Persistence. Pending events sit in a SQLite table (
digest_pending) until the configured hour. The Monitor can restart freely without losing what the digest will eventually contain. - Empty days are silent. If nothing INFO-level happened, no digest is sent — the channel stays quiet rather than receiving a "no events to report" message.
Combining Quiet Hours and Daily Digest
Display Name
Every notification carries a Display Name — the label that identifies which host produced the alert. It is the value you see at the bottom of the rich-messages example above (🏠 home-lab) and inside the email subject prefix.

If the field is empty, the Monitor falls back to the system hostname. The override is mostly useful when you run several ProxMenux hosts that send to the same Telegram chat or inbox — a friendlier label (home-lab, office-pve) is easier to read than pve01.lan or pmx-prod-01.
Dispatch pipeline
The table describes three related mechanisms. The actual flow begins with burst aggregation, then delivery-claim/cooldown checks and group rate limiting, followed by rendering and per-channel delivery controls:
| Stage | What it does | Tunable? |
|---|---|---|
| Fingerprint deduplication | Each event is hashed into a fingerprint (event_type + key fields from data). Identical fingerprints inside a short window are considered duplicates of the first one. | No — internal dispatcher logic. |
| Cooldown | After successful delivery, repeated fingerprints are suppressed and the state is saved in notification_last_sent. Base defaults for CRITICAL, WARNING and INFO are 86 400 s, as are resources and updates. Exceptions include 5 s for VM/CT actions and host shutdown/reboot, 10 s for backup/replication results, and 1 800–3 600 s for several health-state categories. Explicit event/group settings can override these values. | Only through the settings API — a cooldown.<event_type> or cooldown.<group> key overrides the defaults; there is no control in the UI. |
| Burst aggregation | When N events of a kind arrive inside a short window (e.g. an SSH brute-force flood), they are merged into a single burst_* message with a count and a sample. | No — window and threshold are hard-coded per event type. |
Dispatch happens in a background thread
Optional AI rewrite
Eligible events can be rewritten by an LLM before delivery. Backup results (backup_complete and backup_fail) are not rewritten; with AI Suggestions on, the AI only appends an explanation when a backup reports errors. AI is off by default and runs in the dispatch thread when enabled. If the call fails or times out, the original template text is used.
Six providers are supported (OpenAI, Anthropic, Google Gemini, Groq, OpenRouter and local Ollama), with per-channel detail level (brief, standard, detailed), output language, prompt mode (default or custom) and an optional custom prompt. Full configuration walk-through, captures and prompt examples live in the dedicated AI Assistant page.
Privacy note
PVE webhook integration
Proxmox’s notification system uses targets, including sendmail, Gotify, SMTP and, on versions supporting it, webhook. Enabling Monitor notifications registers a webhook target. PVE-emitted notifications such as HA, replication and GUI backup reports can then enter the same dispatch process.
The target is visible from the Proxmox GUI at Datacenter → Notifications → Notification Targets:

What gets registered:
- Method and URL.
POST http://127.0.0.1:8008/api/notifications/webhookwhen Monitor HTTPS is off. With HTTPS enabled, the target uses the separate HTTP loopback listener on port 8009. Both stay on the same host. - Body template. A JSON body using PVE's native Handlebars helpers — stored base64-encoded in the config file by PVE, but it expands to:
{ "title": "{{ escape title }}", "message": "{{ escape message }}", "severity": "{{ severity }}", "timestamp": "{{ timestamp }}", "fields": {{ json fields }} } - Matcher. A companion
matcher: proxmenux-matcherblock withmode allso every PVE notification reaches the target. - Private configuration. Setup writes the matching
webhook: proxmenux-webhookblock in/etc/pve/priv/notifications.cfgwith asecretentry named X-Webhook-Secret, encoded in base64. The public target block holds only the body template, method and URL. The private block is not an empty stub.
How the receiver is secured
The webhook receiver at POST /api/notifications/webhook applies different security layers depending on where the request comes from:
- Local sources (
127.0.0.1/::1). Rate limiting applies, but the remote secret/timestamp/replay checks are skipped. The receiver also treats addresses assigned to the host’s own interfaces as local. The automatically configured PVE target uses loopback. - Remote callers. In addition to rate limiting, the receiver checks the configured secret in
X-Webhook-Secret, a timestamp fromX-ProxMenux-Timestampor the JSON body, replay detection and an optional IP allowlist. The secret is stored in SQLite; setup also writes a base64-encoded copy to/etc/pve/priv/notifications.cfgso PVE can send the header.
In practice
http://127.0.0.1:8008 without HTTPS, or HTTP port 8009 with Monitor HTTPS. For external integrations at https://<monitor-host>:<port>/api/notifications/webhook, send the configured X-Webhook-Secret and a current timestamp, and satisfy replay and IP checks. A secret header alone is not sufficient.The Monitor manages this target through three actions on the Settings tab:
- Setup — runs automatically when you enable Notifications. Creates the entry in
/etc/pve/notifications.cfg. The file is written only when its content has to change, and a copy of the previous one is kept in/usr/local/share/proxmenux/backups/pve-notifications/(the three newest). Nothing is written while/etc/pveis not mounted: a Monitor that starts during a restart ofpve-clusterregisters the entry once it is back. - Cleanup — removes the entry. The previous backup of the file is kept.
- Read config — shows the current targets and matchers as PVE sees them. This is how you confirm the Monitor's entry is the one firing when PVE has multiple notification routes configured.
Cluster nodes
/etc/pve/ is shared across cluster nodes, including the target URL and secret. Each node calls its own loopback listener: 127.0.0.1:8008 without HTTPS, or HTTP port 8009 with HTTPS. Run Monitor on each relevant node and keep the shared target consistent with every node’s listener configuration.Event catalogue
Events are grouped into the categories of the Notifications panel, which renders one collapsible section per group with a toggle for every event inside it. Each event is on by default unless marked (off by default). The Monitor of a Proxmox Backup Server host has no Notifications panel: see ProxMenux Monitor on Proxmox Backup Server.
| Group | Events |
|---|---|
| VM / CT | vm_start, vm_start_warning, vm_stop (off by default), vm_shutdown (off by default), vm_fail, vm_restart (off by default), ct_start, ct_start_warning, ct_stop (off by default), ct_shutdown (off by default), ct_fail, ct_restart (off by default), migration_start, migration_complete, migration_warning, migration_fail, replication_complete (off by default), replication_fail, lxc_updates_available (off by default), lxc_update_applied, oci_update_completed, oci_update_failed, oci_recreate_completed, oci_recreate_failed, oci_modify_completed, oci_modify_failed, oci_watchdog_restarted, oci_watchdog_failed. |
| Backups | backup_start (off by default), backup_complete, backup_warning, backup_fail, snapshot_complete (off by default), snapshot_fail, host_backup_start (off by default), host_backup_complete, host_backup_fail. |
| Resources | cpu_high, ram_high, temp_high, load_high. |
| Storage | disk_space_low, disk_io_error, storage_unavailable, smart_test_complete, smart_test_failed, mount_stale, mount_readonly, lxc_disk_low, vm_disk_low, lxc_mount_low, pve_storage_full, zfs_pool_full. |
| Network | network_down, network_latency (off by default). |
| Security | auth_fail, ip_block, firewall_issue, user_permission_change. |
| Cluster | split_brain, node_disconnect, node_reconnect. |
| Services | system_startup, system_shutdown, system_reboot, system_problem, service_fail, oom_kill, system_mail, system_restore_completed, kernel_warning, cron_output (off by default). |
| Health Monitor | new_error, error_resolved, error_escalated, health_degraded, health_persistent, health_issue_new, state_change (off by default). |
| Updates | update_summary, pve_update, update_complete (off by default), proxmenux_update, app_update_available, docker_stack_update_available, apt_listchanges, post_install_update, secure_gateway_update_available, nvidia_driver_update_available, coral_driver_update_available. |
| Hardware | gpu_mode_switch, gpu_passthrough_blocked, pci_passthrough_conflict. |
| System | custom, ai_model_migrated. |
A handful of burst_* aggregation types (burst_auth_fail, burst_ip_block, burst_disk_io, etc.) exist only in the dispatcher — they replace bursts of individual events with a single summary message and are not exposed as toggles in the UI. They inherit the on/off state of their parent event type.
Backup results
A notification about a Proxmox backup job states how the job ended. The result is read from the report Proxmox sends, and it sets the title, the icon shown with Rich messages on, and the status row of the email.
| Icon | Result | When |
|---|---|---|
| 💾✅ | Backup complete | Every guest of the job finished and the report carries no warnings. |
| 💾⚠️ | Backup completed with warnings | Every guest finished and the report carries at least one warning line. |
| 💾❌ | Backup error reported | A guest failed, or the job stopped with an error. |
| 💾❔ | Backup outcome unconfirmed | The report is incomplete or does not state a result for every guest. |
- The title names what the job was about. It carries the storage and, for a job with a single guest, its type, name and ID. A failed job names the guest that failed.
- The body lists each guest with its own result, size, duration and archive, followed by a line with the totals of the job.
- Warnings and errors are listed once. Repeated lines are shown a single time with the main cause first; past eight lines, the rest is counted in a closing line and stays in the Proxmox task log.
- A job that fails before its first guest shows the cause Proxmox gave, for example a storage that does not exist.
- Summaries preserve the result. A backup in the Quiet Hours summary keeps its own result icon. Backup result events bypass the Daily Digest.
History
Every dispatch attempt the dispatcher actually performs is recorded in the notification_history SQLite table. Each row stores the timestamp (sent_at), channel, event type, severity, title, rendered message body, a success flag and — when the send failed — the error returned by the provider in error_message. Burst-aggregated events appear as a single row with the burst_* event type. Events suppressed by the cooldown stage are not logged: they never become a dispatch attempt.
Settings → Notifications has a Notification history section, closed by default, with the last 20 entries: the result of each send, its channel and date, the error when it failed and, for each daily digest run, whether it had something to send. The page does not offer to erase it: Audit & Report reads the same history to check the delivery of each channel.
The same data is exposed at GET /api/notifications/history with optional limit, offset, severity and channel query parameters, and can be cleared with DELETE /api/notifications/history.
API endpoints
| Endpoint | Method | Use |
|---|---|---|
| /api/notifications/settings | GET / POST | Read or write the full configuration (channels, per-event toggles, AI rewriter, Display Name). |
| /api/notifications/test | POST | Send a test notification to one channel: {"channel":"telegram"}. |
| /api/notifications/test-ai | POST | Render and rewrite a sample event without dispatching it. |
| /api/notifications/provider-models | POST | List available models for the selected AI provider. |
| /api/notifications/send | POST | Emit an event from outside (custom integrations). |
| /api/notifications/history | GET / DELETE | Read history with filters; clear it. |
| /api/notifications/webhook | POST | Receives Proxmox notifications. Local source addresses skip remote authentication checks but remain rate-limited. Remote requests are checked against X-Webhook-Secret, a timestamp in X-ProxMenux-Timestamp or the JSON body, replay detection and any configured IP allowlist. |
| /api/notifications/proxmox/setup-webhook | POST | Register the Monitor as a target in /etc/pve/notifications.cfg. |
| /api/notifications/proxmox/cleanup-webhook | POST | Remove the Monitor target from PVE's notification config. |
| /api/notifications/proxmox/read-cfg | GET | Show the current PVE notification config as PVE sees it. |
# Send a test notification to Discord
curl -X POST http://<host>:8008/api/notifications/test \
-H "Authorization: Bearer <api-token>" \
-H "Content-Type: application/json" \
-d '{"channel":"discord"}'
# Emit a custom event from a script
curl -X POST http://<host>:8008/api/notifications/send \
-H "Authorization: Bearer <api-token>" \
-H "Content-Type: application/json" \
-d '{"event_type":"custom","severity":"warning","data":{"message":"Cron job took >10 min"}}'
# Pull the last 50 history entries for one channel
curl -H "Authorization: Bearer <api-token>" \
'http://<host>:8008/api/notifications/history?channel=telegram&limit=50' | jq
# Test an AI provider connection (verifies the API key and model)
curl -X POST http://<host>:8008/api/notifications/test-ai \
-H "Authorization: Bearer <api-token>" \
-H "Content-Type: application/json" \
-d '{"provider":"openai","api_key":"sk-...","model":"gpt-6-luna"}'Where to next
- AI Assistant — providers, models, prompt modes, languages, per-channel detail levels.
- Health Monitor — the largest single producer of events, with its own per-category suppression durations.
- Architecture — where the SQLite tables (
notification_last_sent,notification_history) and the dispatch thread fit into the wider Monitor process. - Access & Authentication — how API tokens are minted for scripts that call
/api/notifications/send. - Dashboard → System Logs — the live view of the same journal that feeds the journal watcher.