Skip to content

Instantly share code, notes, and snippets.

@x-magic
Created February 23, 2025 15:09
Show Gist options
  • Select an option

  • Save x-magic/742c25ee5b43327d746264712a175c9c to your computer and use it in GitHub Desktop.

Select an option

Save x-magic/742c25ee5b43327d746264712a175c9c to your computer and use it in GitHub Desktop.

Revisions

  1. x-magic renamed this gist Feb 23, 2025. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. x-magic created this gist Feb 23, 2025.
    17 changes: 17 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    To setup Pushover.net notification in Proxmox VE, go to:
    `Datacenter -> Notifications -> Notification Targets -> Add -> Webhook`

    Set up the following fields:
    - __Endpoint Name:__ `pushover` (or whatever you want, note the character limitation)
    - __Method/URL:__ `POST`, `https://api.pushover.net/1/messages.json`
    - __Headers:__ Add one set of key-value pairs:
    - `Content-Type` -> `application/json`
    - __Body:__: See `pushover_proxmox-notification-webhook.json` file below
    - __Secrets:__ Add two sets of key-value pairs:
    - `apptoken` -> `Pushover App Token`
    - `userkey` -> `Pushover User Key`
    - __Comment:__ `Pushover.net Notification` (or whatever you want)

    Adjust Pushover priority accordingly. Documentation of Pushover API can be found [here](https://pushover.net/api).

    More about Proxmox VE Webhook notifications: [here](https://pve-beta.bhgs.lan:8006/pve-docs/chapter-notifications.html#notification_targets_webhook)
    8 changes: 8 additions & 0 deletions pushover_proxmox-notification-webhook.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    {
    "token": "{{ secrets.apptoken }}",
    "user": "{{ secrets.userkey }}",
    "message": "{{ escape message }}",
    "priority": 0,
    "title": "{{ title }}",
    "timestamp": {{ timestamp }}
    }