summaryrefslogtreecommitdiffstats
path: root/src/health/notifications/alarm-notify.sh.in
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsrc/health/notifications/alarm-notify.sh.in (renamed from health/notifications/alarm-notify.sh.in)37
1 files changed, 19 insertions, 18 deletions
diff --git a/health/notifications/alarm-notify.sh.in b/src/health/notifications/alarm-notify.sh.in
index 9d95c21dc..9a5780de1 100755
--- a/health/notifications/alarm-notify.sh.in
+++ b/src/health/notifications/alarm-notify.sh.in
@@ -248,31 +248,32 @@ docurl() {
# Used in a couple of places to write more compact code.
method_names="
-email
-pushover
-pushbullet
-telegram
-slack
alerta
-flock
+awssns
+custom
discord
+dynatrace
+email
+fleep
+flock
+gotify
hipchat
-twilio
+irc
+kavenegar
+matrix
messagebird
-pd
-fleep
-syslog
-custom
msteams
-kavenegar
+ntfy
+pd
prowl
-irc
-awssns
+pushbullet
+pushover
rocketchat
+slack
sms
-dynatrace
-matrix
-ntfy
+syslog
+telegram
+twilio
"
# -----------------------------------------------------------------------------
@@ -2399,7 +2400,7 @@ send_ntfy() {
msg="${host} ${status_message}: ${alarm} - ${info}"
httpcode=$(docurl -X POST \
"${ntfy_auth_header[@]}" \
- -H "Icon: https://raw.githubusercontent.com/netdata/netdata/master/web/gui/dashboard/images/favicon-196x196.png" \
+ -H "Icon: https://raw.githubusercontent.com/netdata/netdata/master/src/web/gui/dashboard/images/favicon-196x196.png" \
-H "Title: ${host}: ${name//_/ }" \
-H "Tags: ${emoji}" \
-H "Priority: ${priority}" \