Replace alarm redirection link for cloud (#9688)
As per #9487, the redirection links only work now with private registries. Temporarily replacing the goto_url with a simple link to the cloud.
Chris Akritidis committed
Aug 10, 2020 at 11:48 UTC
9954ccf952893428475e7b3da58b8df57659fd13
1 file changed
+3
-1
health/notifications/alarm-notify.sh.in
+3
-1
@@ -2044,7 +2044,9 @@ fi
2044
if [ ${GOTOCLOUD} -eq 0 ]; then
2045
goto_url="${NETDATA_REGISTRY_URL}/goto-host-from-alarm.html?${redirect_params}"
2046
else
2047
- goto_url="${NETDATA_REGISTRY_CLOUD_BASE_URL}/alarms/redirect?agentID=${NETDATA_REGISTRY_UNIQUE_ID}&${redirect_params}"
2047
+ # Temporarily disable alarm redirection, as the cloud endpoint no longer exists. This functionality will be restored after discussion on #9487. For now, just lead to netdata.cloud
2048
+ #goto_url="${NETDATA_REGISTRY_CLOUD_BASE_URL}/alarms/redirect?agentID=${NETDATA_REGISTRY_UNIQUE_ID}&${redirect_params}"
2049
+ goto_url="${NETDATA_REGISTRY_CLOUD_BASE_URL}"
2050
fi
2051
2052
# the severity of the alarm