diff options
Diffstat (limited to 'src/web/gui/v1/index.html')
-rw-r--r-- | src/web/gui/v1/index.html | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/web/gui/v1/index.html b/src/web/gui/v1/index.html new file mode 100644 index 00000000..bd92748e --- /dev/null +++ b/src/web/gui/v1/index.html @@ -0,0 +1,35 @@ +<!doctype html><html lang="en"><head><title>netdata dashboard</title><meta name="application-name" content="netdata"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"><meta name="author" content="costa@tsaousis.gr"><link rel="icon" href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAP9JREFUeNpiYBgFo+A/w34gpiZ8DzWzAYgNiHGAA5UdgA73g+2gcyhgg/0DGQoweB6IBQYyFCCOGOBQwBMd/xnW09ERDtgcoEBHB+zHFQrz6egIBUasocDAcJ9OxWAhE4YQI8MDILmATg7wZ8QRDfQKhQf4Cie6pAVGPA4AhQKo0BCgZRAw4ZSBpIWJNI6CD4wEKikBaFqgVSgcYMIrzcjwgcahcIGRiPYCLUPBkNhWUwP9akVcoQBpatG4MsLviAIqWj6f3Absfdq2igg7IIEKDVQKEzN5ofAenJCp1I8gJRTug5tfkGIdR1FDniMI+QZUjF8Amn5htOdHCAAEGACE6B0cS6mrEwAAAABJRU5ErkJggg=="/><meta property="og:locale" content="en_US"/><meta property="og:url" content="https://my-netdata.io"/><meta property="og:type" content="website"/><meta property="og:site_name" content="netdata"/><meta property="og:title" content="Get control of your Linux Servers. Simple. Effective. Awesome."/><meta property="og:description" content="Unparalleled insights, in real-time, of everything happening on your Linux systems and applications, with stunning, interactive web dashboards and powerful performance and health alarms."/><meta property="og:image" content="https://cloud.githubusercontent.com/assets/2662304/22945737/e98cd0c6-f2fd-11e6-96f1-5501934b0955.png"/><meta property="og:image:type" content="image/png"/><meta property="fb:app_id" content="1200089276712916"/><meta name="twitter:card" content="summary"/><meta name="twitter:site" content="@linuxnetdata"/><meta name="twitter:title" content="Get control of your Linux Servers. Simple. Effective. Awesome."/><meta name="twitter:description" content="Unparalleled insights, in real-time, of everything happening on your Linux systems and applications, with stunning, interactive web dashboards and powerful performance and health alarms."/><meta name="twitter:image" content="https://cloud.githubusercontent.com/assets/2662304/14092712/93b039ea-f551-11e5-822c-beadbf2b2a2e.gif"/><style>.loadOverlay{position:fixed;top:0;left:0;width:100%;height:100%;z-index:2000;font-size:10vh;font-family:sans-serif;padding:40vh 0 40vh 0;font-weight:700;text-align:center}</style><link href="./static/css/2.c454aab8.chunk.css" rel="stylesheet"><link href="./static/css/main.53ba10f1.chunk.css" rel="stylesheet"></head><body data-spy="scroll" data-target="#sidebar" data-offset="100"><div id="loadOverlay" class="loadOverlay" style="background-color:#fff;color:#888"><div style="font-size:3vh">You must enable JavaScript in order to use Netdata!<br/>You can do this in <a href="https://enable-javascript.com/" target="_blank">your browser settings</a>.</div></div><script type="text/javascript">// Cleanup JS warning. + document.documentElement.style.overflowY = "scroll"; + + // Change the loadOverlay colors ASAP to match the theme. + let theme; + const hash = document.location.hash; + if (hash.includes('theme=slate')) { + theme = 'slate'; + } else if (hash.includes('theme=white')) { + theme = 'white'; + } else { + theme = localStorage.getItem('netdataTheme') || 'slate'; + } + const overlayEl = document.getElementById('loadOverlay'); + overlayEl.innerHTML = 'netdata<br/><div style="font-size: 3vh;">Real-time performance monitoring, done right!</div>'; + overlayEl.style = theme == 'slate' ? "background-color: #272b30; color: #373b40;" : "background-color: #fff; color: #ddd;";</script><div id="root"></div><div class="navbar-highlight"><div id="navbar-highlight-content" class="navbar-highlight-content"></div></div><div class="container"><div class="row"><div class="charts-body" role="main"><div id="masthead" style="display:none"><div class="container"><div class="row"><div class="col-md-7"><h1>Netdata<p class="lead">Real-time performance monitoring, in the greatest possible detail</p></h1></div><div class="col-md-5"><div class="well well-lg"><div class="row"><div class="col-md-6"><b>Drag</b> charts to pan. <b>Shift + wheel</b> on them, to zoom in and out. <b>Double-click</b> on them, to reset. <b>Hover</b> on them too!</div><div class="col-md-6"><div class="netdata-container" data-netdata="system.cpu" data-dimensions="user" data-chart-library="dygraph" data-dygraph-theme="sparkline" data-dygraph-type="line" data-dygraph-strokewidth="3" data-dygraph-smooth="true" data-dygraph-highlightcirclesize="6" data-after="-90" data-height="60px" data-colors="#C66"></div></div></div></div></div></div></div></div><div id="charts_div"></div></div><div class="sidebar-body hidden-xs hidden-sm hidden-print" id="sidebar-body" role="complementary"><nav class="dashboard-sidebar hidden-print hidden-xs hidden-sm" id="sidebar" role="menu"></nav></div></div></div><div id="footer" class="container" style="display:none"><div class="row"><div class="col-md-10" role="main"><div class="p"><big><a href="https://github.com/netdata/netdata/wiki" target="_blank">Netdata</a></big><br/><br/><i class="fas fa-copyright"></i> Copyright 2020, <a href="mailto:info@netdata.cloud">Netdata, Inc</a>.<br/><br/><div class="terms-and-privacy"><a href="https://www.netdata.cloud/terms/" target="_blank">Terms and conditions</a> <a href="https://www.netdata.cloud/privacy/" target="_blank">Privacy Policy</a></div></div><div class="p">Released under <a href="http://www.gnu.org/licenses/gpl-3.0.en.html" target="_blank">GPL v3 or later</a>. Netdata uses <a href="https://github.com/netdata/netdata/blob/master/REDISTRIBUTED.md" target="_blank">third party tools</a>.<br/><br/></div></div></div></div><div class="modal fade" id="xssModal" tabindex="-1" role="dialog" aria-labelledby="xssModalLabel" data-keyboard="false" data-backdrop="static" style="z-index:3000"><div class="modal-dialog modal-lg" role="document"><div class="modal-content"><div class="modal-header"><h4 class="modal-title" id="xssModalLabel">XSS Protection</h4></div><div class="modal-body"><p>This dashboard is about to render data from server:</p><p style="font-size:1.25em"><code id="netdataXssModalServer"></code></p><p>To protect your privacy, the dashboard will <b>check all data transferred</b> for cross site scripting (XSS).<br/>This is CPU intensive, so your browser might be a bit slower.</p><p>If you <b>trust</b> the remote server, you can disable XSS protection.<br/>In this case, any remote dashboard decoration code (javascript) will also run.</p><p>If you <b>don't trust</b> the remote server, you should keep the protection on.<br/>The dashboard will run slower and remote dashboard decoration code will not run, but better be safe than sorry...</p></div><div class="modal-footer"><a href="#" onclick="return xssModalKeepXss()" type="button" class="btn btn-success" data-dismiss="modal">Keep protecting me</a> <a href="#" onclick="return xssModalDisableXss()" type="button" class="btn btn-danger" data-dismiss="modal">I don't need this, the server is mine</a></div></div></div></div><div class="modal fade" id="printPreflightModal" tabindex="-1" role="dialog" aria-labelledby="printPreflightModalLabel"><div class="modal-dialog modal-lg" role="document"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button><h4 class="modal-title" id="printPreflightModalLabel">Print this netdata dashboard</h4></div><div class="modal-body"><p>netdata dashboards cannot be captured, since we are lazy loading and hiding all but the visible charts.<br/>To capture the whole page with all the charts rendered, a new browser window will pop-up that will render all the charts at once. The new browser window will maintain the current pan and zoom settings of the charts. So, align the charts before proceeding.</p><p><small>This process will put some CPU and memory pressure on your browser.<br/>For the netdata server, we will sequentially download all the charts, to avoid congesting network and server resources.<br/><b>Please, do not print netdata dashboards on paper!</b></small></p></div><div class="modal-footer"><a href="#" onclick="return printPreflight(),!1" type="button" class="btn btn-default">Print</a> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button></div></div></div></div><div class="modal fade" id="loadSnapshotModal" tabindex="-1" role="dialog" aria-labelledby="loadSnapshotModalLabel"><div class="modal-dialog modal-lg" role="document"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button><h4 class="modal-title" id="loadSnapshotModalLabel">Import a netdata snapshot</h4></div><div id="loadSnapshotDragAndDrop" class="modal-body"><p>netdata can export and import dashboard snapshots. Any netdata can import the snapshot of any other netdata. The snapshots are not uploaded to a server. They are handled entirely by your web browser, on your computer.</p><p style="text-align:center"><label class="btn btn-default">Click here to select the netdata snapshot file to import <input type="file" id="loadSnapshotSelectFiles" value="Import" style="display:none" onchange="loadSnapshotPreflight()"></label></p><div id="loadSnapshotStatus" class="alert alert-info" role="alert">Browse for a snapshot file (or drag it and drop it here), then click <b>Import</b> to render it.</div><p><table class="table"><tbody><tr><th>Filename</th><td id="loadSnapshotFilename"></td></tr><tr><th>Hostname</th><td id="loadSnapshotHostname"></td></tr><tr><th>Origin URL</th><td id="loadSnapshotURL"></td></tr><tr><th>Charts Info</th><td id="loadSnapshotCharts"></td></tr><tr><th>Snapshot Info</th><td id="loadSnapshotInfo"></td></tr><tr><th>Time Range</th><td id="loadSnapshotTimeRange"></td></tr><tr><th>Comments</th><td id="loadSnapshotComments"></td></tr></tbody></table></p></div><div class="modal-footer"><span style="display:inline-block;padding-right:20px">Snapshot files contain both data and javascript code. Make sure <b>you trust the files</b> you import!</span> <a id="loadSnapshotImport" href="#" onclick="return loadSnapshot(),!1" type="button" class="btn btn-success disabled">Import</a> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button></div></div></div></div><div class="modal fade" id="saveSnapshotModal" tabindex="-1" role="dialog" aria-labelledby="saveSnapshotModalLabel" data-keyboard="false" data-backdrop="static"><div class="modal-dialog modal-lg" role="document"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button><h4 class="modal-title" id="saveSnapshotModalLabel">Export a snapshot</h4></div><div class="modal-body"><div id="saveSnapshotModalProgressSection" hidden>Please wait while we collect all the dashboard data...<div class="progress progress-striped active" style="height:2em!important"><div id="saveSnapshotModalProgressBar" class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="min-width:2em"><span id="saveSnapshotModalProgressBarText" style="padding-left:10px;padding-top:4px;font-size:1.2em;text-align:left;width:100%;position:absolute;display:block"></span></div></div></div><div id="saveSnapshotResolutionRadio" style="text-align:center">Select the desired resolution of the snapshot. This is the <b>seconds of data per point</b>.<br/> <br/> <br/><input id="saveSnapshotResolutionSlider" data-slider-id="saveSnapshotResolutionSlider" style="width:80%" tabindex="0"/><br/> <br/><div class="input-group"><span class="input-group-addon" id="sizing-saveSnapshotFilename" style="width:100px">Filename</span> <input id="saveSnapshotFilename" class="form-control" placeholder="Filename of the generated snapshot" aria-describedby="sizing-saveSnapshotFilename" tabindex="2"/><div class="input-group-btn"><div class="input-group-btn"><button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><span id="saveSnapshotCompressionName">Compression</span> <span class="caret"></span></button><ul class="dropdown-menu dropdown-menu-right"><li class="disabled"><a href="#" class="disabled">Select Compression</a></li><li role="separator" class="divider"></li><li><a href="#" onclick='return saveSnapshotSetCompression("none"),!1'>uncompressed</a></li><li role="separator" class="divider"></li><li><a href="#" onclick='return saveSnapshotSetCompression("pako.deflate"),!1'>pako.deflate (gzip, binary)</a></li><li><a href="#" onclick='return saveSnapshotSetCompression("pako.deflate.base64"),!1'>pako.deflate.base64 (gzip, ascii)</a></li><li role="separator" class="divider"></li><li><a href="#" onclick='return saveSnapshotSetCompression("lzstring.uri"),!1'>lzstring.uri (LZ, ascii)</a></li><li><a href="#" onclick='return saveSnapshotSetCompression("lzstring.utf16"),!1'>lzstring.utf16 (LZ, utf16)</a></li><li><a href="#" onclick='return saveSnapshotSetCompression("lzstring.base64"),!1'>lzstring.base64 (LZ, ascii)</a></li></ul></div></div></div><div class="input-group" style="padding-top:10px;width:100%"><span class="input-group-addon" id="sizing-saveSnapshotComments" style="width:100px">Comments</span> <input id="saveSnapshotComments" class="form-control" placeholder="Any comments about this snapshot?" aria-describedby="sizing-saveSnapshotComments" tabindex="3"/></div></div> <div id="saveSnapshotStatus" class="alert alert-info" role="alert">Select snaphost resolution. This controls the size the snapshot file.</div><p>The generated snapshot will include all charts of this dashboard, <b>for the visible timeframe</b>, so align, pan and zoom the charts as needed. The scroll position of the dashboard will also be saved. The snapshot will be downloaded as a file, to your computer, that can be imported back into any netdata dashboard (no need to import it back on this server).</p><p><small>Snapshot files include all the information of the dashboard, including the URL of the origin server, its netdata unique ID, etc. So, if you share the snapshot file with third parties, they will be able to access the origin server, if this server is exposed on the internet.<br/>Snapshots are handled entirely by the web browser. The netdata servers are not aware of them.</small></p></div><div class="modal-footer"><a id="saveSnapshotExport" href="#" onclick="return saveSnapshot(),!1" type="button" class="btn btn-success" tabindex="4">Export</a> <button type="button" class="btn btn-default" data-dismiss="modal" tabindex="5">Cancel</button></div></div></div></div><div class="modal fade" id="alarmsModal" tabindex="-1" role="dialog" aria-labelledby="alarmsModalLabel"><div class="modal-dialog modal-lg" role="document" style="display:table"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button><h4 class="modal-title" id="alarmsModalLabel">netdata alarms</h4></div><div class="modal-body"><ul class="nav nav-tabs" role="tablist"><li role="presentation" class="active"><a href="#alarms_active" aria-controls="alarms_active" role="tab" data-toggle="tab">Active</a></li><li role="presentation"><a href="#alarms_all" aria-controls="alarms_all" role="tab" data-toggle="tab">All</a></li><li role="presentation"><a href="#alarms_log" aria-controls="alarms_log" role="tab" data-toggle="tab">Log</a></li></ul><div class="tab-content"><div role="tabpanel" class="tab-pane active" id="alarms_active">loading...</div><div role="tabpanel" class="tab-pane" id="alarms_all">loading...</div><div role="tabpanel" class="tab-pane" id="alarms_log">loading...</div></div></div><div class="modal-footer"><button type="button" class="btn btn-default" data-dismiss="modal">Close</button></div></div></div></div><div class="modal fade" id="optionsModal" tabindex="-1" role="dialog" aria-labelledby="optionsModalLabel"><div class="modal-dialog modal-lg" role="document"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button><h4 class="modal-title" id="optionsModalLabel">netdata dashboard options</h4></div><div class="modal-body"><center><small style="color:#bbb">These are browser settings. Each viewer has its own. They do not affect the operation of your netdata server.<br/>Settings take effect immediately and are saved permanently to browser local storage (except the refresh on focus / always option).<br/>To reset all options (including charts sizes) to their defaults, click <a href="#" onclick="return resetDashboardOptions(),!1">here</a>.</small></center><div style="padding:10px"></div><ul class="nav nav-tabs" role="tablist"><li role="presentation" class="active"><a href="#settings_performance" aria-controls="settings_performance" role="tab" data-toggle="tab">Performance</a></li><li role="presentation"><a href="#settings_sync" aria-controls="settings_sync" role="tab" data-toggle="tab">Synchronization</a></li><li role="presentation"><a href="#settings_visual" aria-controls="settings_visual" role="tab" data-toggle="tab">Visual</a></li><li role="presentation"><a href="#settings_locale" aria-controls="settings_locale" role="tab" data-toggle="tab">Locale</a></li></ul><div class="tab-content"><div role="tabpanel" class="tab-pane active" id="settings_performance"><form id="optionsForm1" class="form-horizontal"><div class="form-group"><table><tr class="option-row"><td class="option-control"><input id="stop_updates_when_focus_is_lost" type="checkbox" checked="checked" data-toggle="toggle" data-offstyle="danger" data-onstyle="success" data-on="On Focus" data-off="Always" data-width="110px"></td><td class="option-info"><strong>When to refresh the charts?</strong><br/><small>When set to <b>On Focus</b>, the charts will stop being updated if the page / tab does not have the focus of the user. When set to <b>Always</b>, the charts will always be refreshed. Set it to <b>On Focus</b> it to lower the CPU requirements of the browser (and extend the battery of laptops and tablets) when this page does not have your focus. Set to <b>Always</b> to work on another window (i.e. change the settings of something) and have the charts auto-refresh in this window.</small></td></tr><tr class="option-row"><td class="option-control"><input id="eliminate_zero_dimensions" type="checkbox" checked="checked" data-toggle="toggle" data-on="Non Zero" data-off="All" data-width="110px"></td><td class="option-info"><strong>Which dimensions to show?</strong><br/><small>When set to <b>Non Zero</b>, dimensions that have all their values (within the current view) set to zero will not be transferred from the netdata server (except if all dimensions of the chart are zero, in which case this setting does nothing - all dimensions are transferred and shown). When set to <b>All</b>, all dimensions will always be shown. Set it to <b>Non Zero</b> to lower the data transferred between netdata and your browser, lower the CPU requirements of your browser (fewer lines to draw) and increase the focus on the legends (fewer entries at the legends).</small></td></tr><tr class="option-row"><td class="option-control"><input id="destroy_on_hide" type="checkbox" data-toggle="toggle" data-on="Destroy" data-off="Hide" data-width="110px"></td><td class="option-info"><strong>How to handle hidden charts?</strong><br/><small>When set to <b>Destroy</b>, charts that are not in the current viewport of the browser (are above, or below the visible area of the page), will be destroyed and re-created if and when they become visible again. When set to <b>Hide</b>, the not-visible charts will be just hidden, to simplify the DOM and speed up your browser. Set it to <b>Destroy</b>, to lower the memory requirements of your browser. Set it to <b>Hide</b> for faster restoration of charts on page scrolling.</small></td></tr><tr class="option-row"><td class="option-control"><input id="async_on_scroll" type="checkbox" data-toggle="toggle" data-on="Async" data-off="Sync" data-width="110px"></td><td class="option-info"><strong>Page scroll handling?</strong><br/><small>When set to <b>Sync</b>, charts will be examined for their visibility immediately after scrolling. On slow computers this may impact the smoothness of page scrolling. To update the page when scrolling ends, set it to <b>Async</b>. Set it to <b>Sync</b> for immediate chart updates when scrolling. Set it to <b>Async</b> for smoother page scrolling on slower computers.</small></td></tr></table></div></form></div><div role="tabpanel" class="tab-pane" id="settings_sync"><form id="optionsForm2" class="form-horizontal"><div class="form-group"><table><tr class="option-row"><td class="option-control"><input id="parallel_refresher" type="checkbox" checked="checked" data-toggle="toggle" data-on="Parallel" data-off="Sequential" data-width="110px"></td><td class="option-info"><strong>Which chart refresh policy to use?</strong><br/><small>When set to <b>parallel</b>, visible charts are refreshed in parallel (all queries are sent to netdata server in parallel) and are rendered asynchronously. When set to <b>sequential</b> charts are refreshed one after another. Set it to parallel if your browser can cope with it (most modern browsers do), set it to sequential if you work on an older/slower computer.</small></td></tr><tr class="option-row" id="concurrent_refreshes_row"><td class="option-control"><input id="concurrent_refreshes" type="checkbox" checked="checked" data-toggle="toggle" data-on="Resync" data-off="Best Effort" data-width="110px"></td><td class="option-info"><strong>Shall we re-sync chart refreshes?</strong><br/><small>When set to <b>Resync</b>, the dashboard will attempt to re-synchronize all the charts so that they are refreshed concurrently. When set to <b>Best Effort</b>, each chart may be refreshed with a little time difference to the others. Normally, the dashboard starts refreshing them in parallel, but depending on the speed of your computer and the network latencies, charts start having a slight time difference. Setting this to <b>Resync</b> will attempt to re-synchronize the charts on every update. Setting it to <b>Best Effort</b> may lower the pressure on your browser and the network.</small></td></tr><tr class="option-row"><td class="option-control"><input id="sync_selection" type="checkbox" checked="checked" data-toggle="toggle" data-on="Sync" data-off="Don't Sync" data-onstyle="success" data-offstyle="danger" data-width="110px"></td><td class="option-info"><strong>Sync hover selection on all charts?</strong><br/><small>When enabled, a selection on one chart will automatically select the same time on all other visible charts and the legends of all visible charts will be updated to show the selected values. When disabled, only the chart getting the user's attention will be selected. Enable it to get better insights of the data. Disable it if you are on a very slow computer that cannot actually do it.</small></td></tr></table></div></form></div><div role="tabpanel" class="tab-pane" id="settings_visual"><form id="optionsForm3" class="form-horizontal"><div class="form-group"><table><tr class="option-row"><td class="option-control"><input id="legend_right" type="checkbox" checked="checked" data-toggle="toggle" data-on="Right" data-off="Below" data-width="110px"></td><td class="option-info"><strong>Where do you want to see the legend?</strong><br/><small>Netdata can place the legend in two positions: <b>Below</b> charts (the default) or to the <b>Right</b> of charts.<br/><b>Switching this will reload the dashboard</b>.</small></td></tr><tr class="option-row"><td class="option-control"><input id="netdata_theme_control" type="checkbox" checked="checked" data-toggle="toggle" data-offstyle="danger" data-onstyle="success" data-on="Dark" data-off="White" data-width="110px"></td><td class="option-info"><strong>Which theme to use?</strong><br/><small>Netdata comes with two themes: <b>Dark</b> (the default) and <b>White</b>.<br/><b>Switching this will reload the dashboard</b>.</small></td></tr><tr class="option-row"><td class="option-control"><input id="show_help" type="checkbox" checked="checked" data-toggle="toggle" data-on="Help Me" data-off="No Help" data-width="110px"></td><td class="option-info"><strong>Do you need help?</strong><br/><small>Netdata can show some help in some areas to help you use the dashboard. If all these balloons bother you, disable them using this switch.<br/><b>Switching this will reload the dashboard</b>.</small></td></tr><tr class="option-row"><td class="option-control"><input id="pan_and_zoom_data_padding" type="checkbox" checked="checked" data-toggle="toggle" data-on="Pad" data-off="Don't Pad" data-width="110px"></td><td class="option-info"><strong>Enable data padding when panning and zooming?</strong><br/><small>When set to <b>Pad</b> the charts will be padded with more data, both before and after the visible area, thus giving the impression the whole database is loaded. This padding will happen only after the first pan or zoom operation on the chart (initially all charts have only the visible data). When set to <b>Don't Pad</b> only the visible data will be transferred from the netdata server, even after the first pan and zoom operation.</small></td></tr><tr class="option-row"><td class="option-control"><input id="smooth_plot" type="checkbox" checked="checked" data-toggle="toggle" data-on="Smooth" data-off="Rough" data-width="110px"></td><td class="option-info"><strong>Enable Bézier lines on charts?</strong><br/><small>When set to <b>Smooth</b> the charts libraries that support it, will plot smooth curves instead of simple straight lines to connect the points.<br/>Keep in mind <a href="http://dygraphs.com" target="_blank">dygraphs</a>, the main charting library in netdata dashboards, can only smooth line charts. It cannot smooth area or stacked charts. When set to <b>Rough</b>, this setting can lower the CPU resources consumed by your browser.</small></td></tr></table></div></form></div><div role="tabpanel" class="tab-pane" id="settings_locale"><form id="optionsForm4" class="form-horizontal"><div class="form-group"><table><tr class="option-row"><td colspan="2" align="center"><small><b>These settings are applied gradually, as charts are updated. To force them, refresh the dashboard now</b>.</small></td></tr><tr class="option-row"><td class="option-control"><input id="units_conversion" type="checkbox" checked="checked" data-toggle="toggle" data-on="Scale Units" data-off="Fixed Units" data-onstyle="success" data-width="110px"></td><td class="option-info"><strong>Enable auto-scaling of select units?</strong><br/><small>When set to <b>Scale Units</b> the values shown will dynamically be scaled (e.g. 1000 kilobits will be shown as 1 megabit). Netdata can auto-scale these original units: <code>kilobits/s</code>, <code>kilobytes/s</code>, <code>KB/s</code>, <code>KB</code>, <code>MB</code>, and <code>GB</code>. When set to <b>Fixed Units</b> all the values will be rendered using the original units maintained by the netdata server.</small></td></tr><tr id="settingsLocaleTempRow" class="option-row"><td class="option-control"><input id="units_temp" type="checkbox" checked="checked" data-toggle="toggle" data-on="Celsius" data-off="Fahrenheit" data-width="110px"></td><td class="option-info"><strong>Which units to use for temperatures?</strong><br/><small>Set the temperature units of the dashboard.</small></td></tr><tr id="settingsLocaleTimeRow" class="option-row"><td class="option-control"><input id="seconds_as_time" type="checkbox" checked="checked" data-toggle="toggle" data-on="Time" data-off="Seconds" data-onstyle="success" data-width="110px"></td><td class="option-info"><strong>Convert seconds to time?</strong><br/><small>When set to <b>Time</b>, charts that present <code>seconds</code> will show <code>DDd:HH:MM:SS</code>. When set to <b>Seconds</b>, the raw number of seconds will be presented.</small></td></tr></table></div></form></div></div></div><div class="modal-footer"><button type="button" class="btn btn-default" data-dismiss="modal">Close</button></div></div></div></div><div class="modal fade" id="updateModal" tabindex="-1" role="dialog" aria-labelledby="updateModalLabel"><div class="modal-dialog" role="document"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button><h4 class="modal-title" id="updateModalLabel">Update Check</h4></div><div class="modal-body">Your netdata version: <b><code><span id="netdataVersion">Unknown</span></code></b><br/><br/><div style="padding:10px"></div><div id="versionCheckLog">Not checked yet. Please press the Check Now button.</div><div><hr/></div><div>For progress reports and key netdata updates: <strong><a href="https://community.netdata.cloud">Join the Netdata Community</a></strong><br/>You can also <a href="https://twitter.com/linuxnetdata" target="_blank">follow netdata on <i class="fab fa-twitter"></i> twitter</a>, <a href="https://www.facebook.com/linuxnetdata/" target="_blank">follow netdata on <i class="fab fa-facebook"></i> facebook</a>, or <a href="https://github.com/netdata/netdata" target="_blank">watch netdata on <i class="fab fa-github"></i> github</a>.</div></div><div class="modal-footer"><a href="#" onclick="return notifyForUpdate(!0),!1" type="button" class="btn btn-default">Check Now</a> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button></div></div></div></div><div class="modal fade" id="signInModal" tabindex="-1" role="dialog" aria-labelledby="signInModalLabel"><div class="modal-dialog" role="document"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button><h4 class="modal-title" id="signInModalLabel">Sign In</h4></div><div class="modal-body"><p>Signing-in to netdata.cloud will synchronize the list of your netdata monitored nodes known at registry <strong><span id="sim-registry"></span></strong>. This may include server hostnames, urls and identification GUIDs.</p><p>After you upgrade all your netdata servers, your private registry will not be needed any more.</p><p>Are you sure you want to proceed?</p></div><div class="modal-footer"><button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button> <a href="#" onclick="return explicitlySignIn(),!1" type="button" class="btn btn-success">Sign In</a></div></div></div></div><div class="modal fade" id="deleteRegistryModal" tabindex="-1" role="dialog" aria-labelledby="deleteRegistryModalLabel"><div class="modal-dialog" role="document"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button><h4 class="modal-title" id="deleteRegistryModalLabel">Delete <span id="deleteRegistryServerName"></span>?</h4></div><div class="modal-body">You are about to delete, from your personal list of netdata servers, the following server:<p style="text-align:center;padding-top:10px;padding-bottom:10px;line-height:2"><b><span id="deleteRegistryServerName2"></span></b><br/><b><span id="deleteRegistryServerURL"></span></b></p>Are you sure you want to do this?<br/><div style="padding:10px"></div><small>Keep in mind, this server will be added back if and when you visit it again.</small><br/><div id="deleteRegistryResponse" style="display:block;width:100%;text-align:center;padding-top:20px"></div></div><div class="modal-footer"><button type="button" class="btn btn-success" data-dismiss="modal">keep it</button> <a href="#" onclick="return notifyForDeleteRegistry(),!1" type="button" class="btn btn-danger">delete it</a></div></div></div></div><div class="modal fade" id="switchRegistryModal" tabindex="-1" role="dialog" aria-labelledby="switchRegistryModalLabel"><div class="modal-dialog" role="document"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button><h4 class="modal-title" id="switchRegistryModalLabel">Switch Netdata Registry Identity</h4></div><div class="modal-body">You can copy and paste the following ID to all your browsers (e.g. work and home).<br/>All the browsers with the same ID will identify <b>you</b>, so please don't share this with others.<div style="text-align:center;padding-top:10px;padding-bottom:10px;line-height:2"><form action="#"><input class="form-control" id="switchRegistryPersonGUID" placeholder="your personal ID" maxlength="36" autocomplete="off" style="text-align:center;font-size:1.4em"></form></div>Either copy this ID and paste it to another browser, or paste here the ID you have taken from another browser.<div style="padding-top:10px"><small>Keep in mind that:<ul><li>when you switch ID, your previous ID will be lost forever - this is irreversible.</li><li>both IDs (your old and the new) must list this netdata at their personal lists.</li><li>both IDs have to be known by the registry: <b><span id="switchRegistryURL"></span></b>.</li><li>to get a new ID, just clear your browser cookies.</li></ul></small></div><div id="switchRegistryResponse" style="display:block;width:100%;text-align:center;padding-top:20px"></div></div><div class="modal-footer"><button type="button" class="btn btn-success" data-dismiss="modal">cancel</button> <a href="#" onclick="return notifyForSwitchRegistry(),!1" type="button" class="btn btn-danger">impersonate</a></div></div></div></div><div class="modal fade" id="gotoServerModal" tabindex="-1" role="dialog" aria-labelledby="gotoServerModalLabel"><div class="modal-dialog" role="document"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button><h4 class="modal-title" id="gotoServerModalLabel"><span id="gotoServerName"></span></h4></div><div class="modal-body">Checking known URLs for this server...<div style="padding-top:20px"><table id="gotoServerList"></table></div><p style="padding-top:10px"><small>Checks may fail if you are viewing an HTTPS page and the server to be checked is HTTP only.</small></p><div id="gotoServerResponse" style="display:block;width:100%;text-align:center;padding-top:20px"></div></div><div class="modal-footer"><button type="button" class="btn btn-default" data-dismiss="modal">Close</button></div></div></div></div><div id="modal-root"></div><iframe id="ssoifrm" width="0" height="0"></iframe><div id="hiddenDownloadLinks" style="display:none" hidden></div><script type="text/javascript" src="dashboard-react.js"></script><script>const show404 = function() { + const overlayEl = document.getElementById('loadOverlay'); + overlayEl.innerHTML = '404 Page not found<br/><div style="font-size: 3vh;">We cannot load files from this path - No Netdata server detected</div>'; + window.NETDATA = null + } + + const pathname = location.pathname.replace("/v1", "") + fetch(location.origin + pathname + "/version.txt").then(function(res) { + if (res.url && /index\.html/.test(res.url)) { + show404() + return + } + return res.text() + }).then(function(payload) { + if (/</.test(payload)) { + show404() + } + }).catch(function() { + show404() + })</script><script>!function(i){function e(e){for(var t,r,n=e[0],o=e[1],a=e[2],u=0,c=[];u<n.length;u++)r=n[u],Object.prototype.hasOwnProperty.call(d,r)&&d[r]&&c.push(d[r][0]),d[r]=0;for(t in o)Object.prototype.hasOwnProperty.call(o,t)&&(i[t]=o[t]);for(h&&h(e);c.length;)c.shift()();return l.push.apply(l,a||[]),f()}function f(){for(var e,t=0;t<l.length;t++){for(var r=l[t],n=!0,o=1;o<r.length;o++){var a=r[o];0!==d[a]&&(n=!1)}n&&(l.splice(t--,1),e=p(p.s=r[0]))}return e}var r={},s={1:0},d={1:0},l=[];function p(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return i[e].call(t.exports,t,t.exports,p),t.l=!0,t.exports}p.e=function(l){var e=[];s[l]?e.push(s[l]):0!==s[l]&&{4:1}[l]&&e.push(s[l]=new Promise(function(e,n){for(var t="static/css/"+({}[l]||l)+"."+{3:"31d6cfe0",4:"a36e3b73",5:"31d6cfe0",6:"31d6cfe0",7:"31d6cfe0",8:"31d6cfe0",9:"31d6cfe0",10:"31d6cfe0"}[l]+".chunk.css",o=p.p+t,r=document.getElementsByTagName("link"),a=0;a<r.length;a++){var u=(i=r[a]).getAttribute("data-href")||i.getAttribute("href");if("stylesheet"===i.rel&&(u===t||u===o))return e()}var c=document.getElementsByTagName("style");for(a=0;a<c.length;a++){var i;if((u=(i=c[a]).getAttribute("data-href"))===t||u===o)return e()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onload=e,f.onerror=function(e){var t=e&&e.target&&e.target.src||o,r=new Error("Loading CSS chunk "+l+" failed.\n("+t+")");r.code="CSS_CHUNK_LOAD_FAILED",r.request=t,delete s[l],f.parentNode.removeChild(f),n(r)},f.href=o,document.getElementsByTagName("head")[0].appendChild(f)}).then(function(){s[l]=0}));var r=d[l];if(0!==r)if(r)e.push(r[2]);else{var t=new Promise(function(e,t){r=d[l]=[e,t]});e.push(r[2]=t);var n,o=document.createElement("script");o.charset="utf-8",o.timeout=120,p.nc&&o.setAttribute("nonce",p.nc),o.src=p.p+"static/js/"+({}[l]||l)+"."+{3:"f137faca",4:"2dbcd906",5:"2f783a54",6:"e1951239",7:"c2417fb0",8:"b4161ea2",9:"a4363968",10:"a5cd7d0e"}[l]+".chunk.js";var a=new Error;n=function(e){o.onerror=o.onload=null,clearTimeout(u);var t=d[l];if(0!==t){if(t){var r=e&&("load"===e.type?"missing":e.type),n=e&&e.target&&e.target.src;a.message="Loading chunk "+l+" failed.\n("+r+": "+n+")",a.name="ChunkLoadError",a.type=r,a.request=n,t[1](a)}d[l]=void 0}};var u=setTimeout(function(){n({type:"timeout",target:o})},12e4);o.onerror=o.onload=n,document.head.appendChild(o)}return Promise.all(e)},p.m=i,p.c=r,p.d=function(e,t,r){p.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},p.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},p.t=function(t,e){if(1&e&&(t=p(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(p.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)p.d(r,n,function(e){return t[e]}.bind(null,n));return r},p.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return p.d(t,"a",t),t},p.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},p.p="./",p.oe=function(e){throw console.error(e),e};var t=this["webpackJsonp@netdata/dashboard"]=this["webpackJsonp@netdata/dashboard"]||[],n=t.push.bind(t);t.push=e,t=t.slice();for(var o=0;o<t.length;o++)e(t[o]);var h=n;f()}([])</script><script src="./static/js/2.62d105c5.chunk.js"></script><script src="./static/js/main.e248095a.chunk.js"></script></body></html>
\ No newline at end of file |