diff options
Diffstat (limited to '')
-rw-r--r-- | web/gui/dashboard/goto-host-from-alarm.html (renamed from web/gui/goto-host-from-alarm.html) | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/web/gui/goto-host-from-alarm.html b/web/gui/dashboard/goto-host-from-alarm.html index 7d12f8480..5d424c698 100644 --- a/web/gui/goto-host-from-alarm.html +++ b/web/gui/dashboard/goto-host-from-alarm.html @@ -2,13 +2,6 @@ <!-- SPDX-License-Identifier: GPL-3.0-or-later --> <html lang="en"> <head> - <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': - new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], - j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= - 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); - })(window,document,'script','dataLayer','GTM-N6CBMJD'); - dataLayer.push({"anonymous_statistics" : "false"}); - </script> <title>Goto a host you know...</title> <meta name="application-name" content="netdata"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> @@ -70,6 +63,9 @@ var urlOptions = { alarm_id: 0, alarm_event_id: 0, alarm_when: 0, + alarm_status: null, + alarm_chart: null, + alarm_value: null, hasProperty: function(property) { return typeof this[property] !== 'undefined'; } @@ -103,6 +99,9 @@ function netdataURL(url) { + ';alarm_id=' + urlOptions.alarm_id.toString() + ';alarm_event_id=' + urlOptions.alarm_event_id.toString() + ';alarm_when=' + urlOptions.alarm_when.toString() + + ';alarm_status=' + urlOptions.alarm_status + + ';alarm_value=' + encodeURIComponent(urlOptions.alarm_value) + + ';alarm_chart=' + urlOptions.alarm_chart ; } |