Browse Source

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 4 years ago
parent
commit
9954ccf952
1 changed files with 3 additions and 1 deletions
  1. 3 1
      health/notifications/alarm-notify.sh.in

+ 3 - 1
health/notifications/alarm-notify.sh.in

@@ -2044,7 +2044,9 @@ fi
 if [ ${GOTOCLOUD} -eq 0 ]; then
 	goto_url="${NETDATA_REGISTRY_URL}/goto-host-from-alarm.html?${redirect_params}"
 else
-	goto_url="${NETDATA_REGISTRY_CLOUD_BASE_URL}/alarms/redirect?agentID=${NETDATA_REGISTRY_UNIQUE_ID}&${redirect_params}"
+	# 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
+	#goto_url="${NETDATA_REGISTRY_CLOUD_BASE_URL}/alarms/redirect?agentID=${NETDATA_REGISTRY_UNIQUE_ID}&${redirect_params}"
+	goto_url="${NETDATA_REGISTRY_CLOUD_BASE_URL}"
 fi
 
 # the severity of the alarm