summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorМАН69К <MAH69IK@users.noreply.github.com>2023-09-06 15:38:22 +0300
committerGitHub <noreply@github.com>2023-09-06 12:38:22 +0000
commit825503c171b83ee4534436c4f9d3d382ec2b11bc (patch)
treec2511de4d743ab2e01893a037cfc5a1ad59a0468
parentf059f4da7d04deecbf1b40f2c585cd58f45debe4 (diff)
Replace _ with spaces for name variable for ntfy (#15909)
-rwxr-xr-xhealth/notifications/alarm-notify.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/health/notifications/alarm-notify.sh.in b/health/notifications/alarm-notify.sh.in
index 3cff33db93..e8dfe45d0d 100755
--- a/health/notifications/alarm-notify.sh.in
+++ b/health/notifications/alarm-notify.sh.in
@@ -2454,7 +2454,7 @@ send_ntfy() {
msg="${host} ${status_message}: ${alarm} - ${info}"
httpcode=$(docurl -X POST \
-H "Icon: https://raw.githubusercontent.com/netdata/netdata/master/web/gui/dashboard/images/favicon-196x196.png" \
- -H "Title: ${host}: ${name}" \
+ -H "Title: ${host}: ${name//_/ }" \
-H "Tags: ${emoji}" \
-H "Priority: ${priority}" \
-H "Actions: view, View node, ${goto_url}, clear=true;" \