summaryrefslogtreecommitdiffstats
path: root/health
diff options
context:
space:
mode:
authorthiagoftsm <thiagoftsm@gmail.com>2019-09-17 08:44:14 +0000
committerChris Akritidis <43294513+cakrit@users.noreply.github.com>2019-09-17 10:44:14 +0200
commit7485fed6ba94ccd6c6382944bd5bf917db0fae49 (patch)
treef04d59c357d4c30a924fec66ec0aa0d4d779b39b /health
parentfab0d4bdba30a4a37c2cc9d910bf9e9075c2afb3 (diff)
Center the chart on timeframe when an alarm is raised (#6391)
##### Summary When an alarm happens, we were sending notification for our users, but the notifications were missing an important information that allows to centralize the Chart to demonstrate to our users. ##### Component Name UI ##### Additional Information Closes #5810
Diffstat (limited to 'health')
-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 bbb9609189..c421713435 100755
--- a/health/notifications/alarm-notify.sh.in
+++ b/health/notifications/alarm-notify.sh.in
@@ -1783,7 +1783,7 @@ url_family="${REPLY}"
urlencode "${name}" >/dev/null
url_name="${REPLY}"
-redirect_params="host=${url_host}&chart=${url_chart}&family=${url_family}&alarm=${url_name}&alarm_unique_id=${unique_id}&alarm_id=${alarm_id}&alarm_event_id=${event_id}"
+redirect_params="host=${url_host}&chart=${url_chart}&family=${url_family}&alarm=${url_name}&alarm_unique_id=${unique_id}&alarm_id=${alarm_id}&alarm_event_id=${event_id}&alarm_when=${when}"
GOTOCLOUD=0
if [ "${NETDATA_REGISTRY_URL}" == "https://registry.my-netdata.io" ]; then