summaryrefslogtreecommitdiffstats
path: root/health
diff options
context:
space:
mode:
authorChris Akritidis <43294513+cakrit@users.noreply.github.com>2019-01-31 14:51:06 +0100
committerGitHub <noreply@github.com>2019-01-31 14:51:06 +0100
commitde2f21c22c8f967c8698e88b5ee2a1705e5b5a0d (patch)
treed078f9c1af574dec51b49e3b3bbc8dbca3d9327b /health
parent9c334bb2ef4b8562fe5c28dab94579288ed467c1 (diff)
registrypath is not used and causes issues in slack (#5302)
Diffstat (limited to 'health')
-rwxr-xr-xhealth/notifications/alarm-notify.sh.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/health/notifications/alarm-notify.sh.in b/health/notifications/alarm-notify.sh.in
index b96ab52f79..dd3cda9178 100755
--- a/health/notifications/alarm-notify.sh.in
+++ b/health/notifications/alarm-notify.sh.in
@@ -1827,8 +1827,7 @@ fi
if [ ${GOTOCLOUD} -eq 0 ] ; then
goto_url="${NETDATA_REGISTRY_URL}/goto-host-from-alarm.html?${redirect_params}"
else
- urlencode "${NETDATA_REGISTRY_URL}/goto-host-from-alarm.html" >/dev/null; url_registrypath="${REPLY}"
- goto_url="https://netdata.cloud/alarms/redirect?agentID=${NETDATA_REGISTRY_UNIQUE_ID}&registrypath=${url_registrypath}&${redirect_params}"
+ goto_url="https://netdata.cloud/alarms/redirect?agentID=${NETDATA_REGISTRY_UNIQUE_ID}&${redirect_params}"
fi
# the severity of the alarm