February 8, 20242 yr Hi all I'm a bit stuck with getting agent notifications working I've been toying with NTFY as a push notification service, however I noticed that NTFY does not feature in the list of Notification Agents. I found a write up where someone tested their ntfy.sh script by just placing it in the /boot/config/plugins/dynamix/notifications/agents directory and made sure the checkboxes for "Agents" was ticked in the Notifications settings page. It seems that when the Agents checkboxes are enabled unRaid will run any script in the agents directory. The instructions are here: unRAID Notifications with ntfy.sh I have two unRaid servers - the problem I'm facing is that this works for me only on one of my servers. The "problem" server simply doesn't fire off anything. On the "working" server I receive all the enabled notifications via NTFY using the method described in the link above. Doing a manual test to my NTFY topic from the "problem" server go through work. unRaid 6.12.6 Was hoping to get to the bottom of this here - I can post syslog if required?
November 13, 2025Nov 13 If you want to use the public ntfy.sh service (and there is no bearer authentication token available, to the best of my knowledge), you need to edit the agent file:root@Tower:~# nano /boot/config/plugins/dynamix/notifications/agents/ntfy.sh.sh #!/bin/bash ############ SERVER_URL="https://ntfy.sh" NTFY_TOKEN="YOUR NTFY.SH TOKEN" TOPIC="madrian-dc4f2f63-3e25-4eb7-8f56-6c9149675e4c" TITLE="$SUBJECT" MESSAGE="$DESCRIPTION" ############ MESSAGE=$(echo -e "$MESSAGE") case "$IMPORTANCE" in 'normal' ) PRIORITY="default" ;; 'warning' ) PRIORITY="high" ;; 'alert' ) PRIORITY="urgent" ;; esac # Remove any trailing slash SERVER_URL=${SERVER_URL%/} curl \ -H "Priority: $PRIORITY" \ -H "Icon: https://raw.githubusercontent.com/unraid/webgui/master/emhttp/plugins/dynamix.vm.manager/templates/images/unraid.png" \ -H "Authorization: Bearer $NTFY_TOKEN" \ -H "Title: $TITLE" \ -d "$MESSAGE" \ $SERVER_URL/$TOPICYou need to remove -H "Authorization: Bearer $NTFY_TOKEN" \ (actual line may differ slightly—I’m writing this from memory since I already deleted it and tested)The developers of Unraid should consider allowing an empty token when configuring through the GUI:
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.