Notification not working

Behem0th

New Member
Dec 18, 2024
2
0
1
Hello.
PBS version 3.3.2
In notification Targets i add new target "Telegram" via webhoook. when i press "Test" i got message in Telegram.
In Notification Matchers in default-matcher in "Target to notify" tab i select new Telegram target.
I also try add new simple matcher which matching to any jobs.
In my both Datastor under <datastore> -> Options -> Notification mode, i select "Notification system"
But anyway i don`t get any notification.
Please help.
 

Attachments

  • matcher.webp
    matcher.webp
    9.8 KB · Views: 2
  • store.webp
    store.webp
    8.5 KB · Views: 2
  • target_1.jpg
    target_1.jpg
    29.7 KB · Views: 2
Hi,

what does the configuration of the webhook target look like (e.g. take screen shot of the dialog)?

Are there any errors in the task log / system log?

Some other users had troubles with webhook notifications for Discord because the length of the message body was too long. Not sure what kind of limits Telegram has, but you probably could easily verify this by replacing the {{ message }} with some static string and see if that goes through.
 
Thanks for your help.

Webhook
Code:
https://api.telegram.org/bot{{ secrets.BOT_TOKEN }}/sendMessage?chat_id={{ secrets.CHAT_ID }}&text={{ url-encode "Proxmox Notification" }}%0A%0ATitle :+{{ url-encode title }}%0AMessage:+{{ url-encode message }}%0ASeverity:+{{ url-encode severity }}%0ATime:+{{ timestamp }}

No error in Syslog or Task log. In Task log i also don`t see any notification task.

I change webhook to
Code:
https://api.telegram.org/bot{{ secrets.BOT_TOKEN }}/sendMessage?chat_id={{ secrets.CHAT_ID }}&text={{ url-encode "Proxmox Notification" }}%0A%0ATitle :+{{ url-encode title }}%0AMessage:+TESTmessageTEST%0ASeverity:+{{ url-encode severity }}%0ATime:+{{ timestamp }}

But don`t get any nothyfication after Verifycation job complete.
 

Attachments

  • tg_message.jpg
    tg_message.jpg
    12.4 KB · Views: 4

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!