diff options
author | МАН69К <MAH69IK@users.noreply.github.com> | 2023-09-06 15:38:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-06 12:38:22 +0000 |
commit | 825503c171b83ee4534436c4f9d3d382ec2b11bc (patch) | |
tree | c2511de4d743ab2e01893a037cfc5a1ad59a0468 | |
parent | f059f4da7d04deecbf1b40f2c585cd58f45debe4 (diff) |
Replace _ with spaces for name variable for ntfy (#15909)
-rwxr-xr-x | health/notifications/alarm-notify.sh.in | 2 |
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;" \ |