This file is indexed.

/usr/share/netdata/web/dashboard.html is in netdata-data 1.9.0+dfsg-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
<!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">

    <meta property="og:locale" content="en_US" />
    <meta property="og:image" content="https://cloud.githubusercontent.com/assets/2662304/22945737/e98cd0c6-f2fd-11e6-96f1-5501934b0955.png"/>
    <meta property="og:url" content="http://my-netdata.io/"/>
    <meta property="og:type" content="website"/>
    <meta property="og:site_name" content="netdata"/>
    <meta property="og:title" content="netdata - real-time performance monitoring, done right!"/>
    <meta property="og:description" content="Stunning real-time dashboards, blazingly fast and extremely interactive. Zero configuration, zero dependencies, zero maintenance." />
</head>
<body>

<div class="container-fluid">

<h1>NetData Custom Dashboard <div data-netdata="system.cpu" data-chart-library="sparkline" data-height="30" data-after="-600" data-sparkline-linecolor="#888"></div></h1>

This is a template for building custom dashboards. To build a dashboard you just do this:

<pre>
&lt;!DOCTYPE html>
&lt;html lang="en">
&lt;head>
    &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    &lt;meta charset="utf-8">
    &lt;meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    &lt;meta name="viewport" content="width=device-width, initial-scale=1">
    &lt;meta name="apple-mobile-web-app-capable" content="yes">
    &lt;meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
&lt;/head>
&lt;body>
    &lt;div data-netdata="system.processes"
        data-chart-library="dygraph"
        data-width="600"
        data-height="200"
        data-after="-600"
        >&lt;/div>
&lt;/body>
&lt;script type="text/javascript" src="http://netdata.server:19999/dashboard.js">&lt;/script>
&lt;/html>
</pre>

<ul>
    <li>You can host your dashboard anywhere.</li>
    <li>You can add as many charts as you like.</li>
    <li>You can have charts from many different netdata servers (add <pre>data-host="http://another.netdata.server:19999/"</pre> to each chart).</li>
    <li>You can use different chart libraries on the same page: <b>peity</b>, <b>sparkline</b>, <b>dygraph</b>, <b>google</b>, <b>morris</b></li>
    <li>You can customize each chart to your preferences. For each chart library most of their attributes can be given in <b>data-</b> attributes.</li>
    <li>Each chart can have each own duration - it is controlled with the <b>data-after</b> attribute to give that many seconds of data.</li>
    <li>Depending on the width of the chart and <b>data-after</b> attribute, netdata will automatically refresh the chart when it needs to be updated. For example giving 600 pixels for width for -600 seconds of data, using a chart library that needs 3 pixels per point, will yeld in a chart updated once every 3 seconds.</li>
</ul>


<hr>
<h1>Sparkline Charts</h1>
Sparkline charts support 'NULL' values, so the charts can indicate that values are missing.
Sparkline charts stretch the values to show the variations between values in more detail.
They also have mouse-hover support.
<br/>
<b>Sparklines are fantastic</b>. You can inline charts in text. For example this
    <div    data-netdata="system.cpu"
            data-chart-library="sparkline"
            data-width="5%"
            data-height="20"
            data-after="-30"
            ></div> is my current cpu usage (last 30 seconds),
    while this
    <div    data-netdata="netdata.net"
            data-dimensions="out"
            data-chart-library="sparkline"
            data-width="10%"
            data-height="20"
            data-after="-60"
            ></div> is the bandwidth my netdata server is currently transmitting (last minute)
    and this
    <div    data-netdata="netdata.requests"
            data-chart-library="sparkline"
            data-width="20%"
            data-height="20"
            data-after="-180"
            ></div> is the requests/sec it serves (last 3 minutes).

<br/>
<div style="width: 33%; display: inline-block;">
    <div data-netdata="system.processes"
        data-chart-library="sparkline"
        data-width="100%"
        data-height="30"
        data-after="-300"
        data-dt-element-name="time101"
        ></div>
    <br/>
    <small>rendered in <span id="time101">X</span> ms</small>
</div>
<div style="width: 33%; display: inline-block;">
    <div data-netdata="system.ipv4"
        data-chart-library="sparkline"
        data-width="100%"
        data-height="30"
        data-after="-300"
        data-dt-element-name="time102"
        ></div>
    <br/>
    <small>rendered in <span id="time102">X</span> ms</small>
</div>
<div style="width: 33%; display: inline-block;">
    <div data-netdata="system.cpu"
        data-chart-library="sparkline"
        data-width="100%"
        data-height="30"
        data-after="-300"
        data-dt-element-name="time103"
        ></div>
    <br/>
    <small>rendered in <span id="time103">X</span> ms</small>
</div>



<hr>
<h1>Peity Charts</h1>
Peity charts do not support 'NULL' values, so the charts cannot indicate that values are missing.
Peity charts cannot have multiple dimensions on the charts - so netdata will use 'min2max' to show
the total of all dimensions.
<br/>
<div style="width: 33%; display: inline-block;">
    <div data-netdata="system.processes"
        data-chart-library="peity"
        data-width="100%"
        data-height="30"
        data-after="-300"
        data-dt-element-name="time001"
        ></div>
    <br/>
    <small>rendered in <span id="time001">X</span> ms</small>
</div>
<div style="width: 33%; display: inline-block;">
    <div data-netdata="system.ipv4"
        data-chart-library="peity"
        data-width="100%"
        data-height="30"
        data-after="-300"
        data-dt-element-name="time002"
        ></div>
    <br/>
    <small>rendered in <span id="time002">X</span> ms</small>
</div>
<div style="width: 33%; display: inline-block;">
    <div data-netdata="system.cpu"
        data-chart-library="peity"
        data-width="100%"
        data-height="30"
        data-after="-300"
        data-dt-element-name="time003"
        ></div>
    <br/>
    <small>rendered in <span id="time003">X</span> ms</small>
</div>




<hr>
<h1>Dygraph Charts</h1>
The fastest charting engine that can chart complete charts (not just sparklines).
The charts are zoomable (drag their contents to pan, shift with mouse wheel to zoom-in or zoom-out, double click to reset it).
<b>Netdata magic!</b> Realtime charts on your web page!
<br/>
Sparklines using dygraphs
    <div data-netdata="system.processes"
        data-chart-library="dygraph"
        data-dygraph-theme="sparkline"
        data-legend="no"
        data-width="15%"
        data-height="20"
        data-after="-300"
        ></div>
    are also possible! This
    <div data-netdata="system.ipv4"
        data-chart-library="dygraph"
        data-dygraph-theme="sparkline"
        data-legend="no"
        data-width="15%"
        data-height="20"
        data-after="-300"
        ></div>
    is an area chart, while this
    <div data-netdata="system.cpu"
        data-chart-library="dygraph"
        data-dygraph-theme="sparkline"
        data-legend="no"
        data-width="15%"
        data-height="20"
        data-after="-300"
        ></div> is a stacked area chart!


<br/>
<div style="width: 33%; display: inline-block;">
    <div data-netdata="system.processes"
        data-chart-library="dygraph"
        data-dygraph-theme="sparkline"
        data-width="100%"
        data-height="30"
        data-after="-300"
        data-dt-element-name="time501"
        ></div>
    <br/>
    <small>rendered in <span id="time501">X</span> ms</small>
</div>
<div style="width: 33%; display: inline-block;">
    <div data-netdata="system.ipv4"
        data-chart-library="dygraph"
        data-dygraph-theme="sparkline"
        data-width="100%"
        data-height="30"
        data-after="-300"
        data-dt-element-name="time502"
        ></div>
    <br/>
    <small>rendered in <span id="time502">X</span> ms</small>
</div>
<div style="width: 33%; display: inline-block;">
    <div data-netdata="system.cpu"
        data-chart-library="dygraph"
        data-dygraph-theme="sparkline"
        data-width="100%"
        data-height="30"
        data-after="-300"
        data-dt-element-name="time503"
        ></div>
    <br/>
    <small>rendered in <span id="time503">X</span> ms</small>
</div>



<br/>
<div style="width: 33%; display: inline-block;">
    <div data-netdata="system.processes"
        data-chart-library="dygraph"
        data-width="100%"
        data-height="200"
        data-after="-300"
        data-dt-element-name="time201"
        ></div>
    <br/>
    <small>rendered in <span id="time201">X</span> ms</small>
</div>
<div style="width: 33%; display: inline-block;">
    <div data-netdata="system.ipv4"
        data-chart-library="dygraph"
        data-width="100%"
        data-height="200"
        data-after="-300"
        data-dt-element-name="time202"
        ></div>
    <br/>
    <small>rendered in <span id="time202">X</span> ms</small>
</div>
<div style="width: 33%; display: inline-block;">
    <div data-netdata="system.cpu"
        data-chart-library="dygraph"
        data-width="100%"
        data-height="200"
        data-after="-300"
        data-dt-element-name="time203"
        ></div>
    <br/>
    <small>rendered in <span id="time203">X</span> ms</small>
</div>
<div style="width: 33%; display: inline-block;">
    <div data-netdata="system.io"
        data-chart-library="dygraph"
        data-width="100%"
        data-height="200"
        data-after="-300"
        data-dt-element-name="time204"
        ></div>
    <br/>
    <small>rendered in <span id="time204">X</span> ms</small>
</div>
<div style="width: 33%; display: inline-block;">
    <div data-netdata="apps.cpu"
        data-chart-library="dygraph"
        data-width="100%"
        data-height="200"
        data-after="-300"
        data-dt-element-name="time205"
        ></div>
    <br/>
    <small>rendered in <span id="time205">X</span> ms</small>
</div>
<div style="width: 33%; display: inline-block;">
    <div data-netdata="netdata.net"
        data-chart-library="dygraph"
        data-width="100%"
        data-height="200"
        data-after="-300"
        data-dt-element-name="time206"
        ></div>
    <br/>
    <small>rendered in <span id="time206">X</span> ms</small>
</div>
<div style="width: 33%; display: inline-block;">
    <div data-netdata="netdata.server_cpu"
        data-chart-library="dygraph"
        data-width="100%"
        data-height="200"
        data-after="-300"
        data-dt-element-name="time207"
        ></div>
    <br/>
    <small>rendered in <span id="time207">X</span> ms</small>
</div>
<div style="width: 33%; display: inline-block;">
    <div data-netdata="netdata.requests"
        data-chart-library="dygraph"
        data-width="100%"
        data-height="200"
        data-after="-300"
        data-dt-element-name="time208"
        ></div>
    <br/>
    <small>rendered in <span id="time208">X</span> ms</small>
</div>
<div style="width: 33%; display: inline-block;">
    <div data-netdata="net.gstag0"
        data-chart-library="dygraph"
        data-width="100%"
        data-height="200"
        data-after="-300"
        data-dt-element-name="time209"
        ></div>
    <br/>
    <small>rendered in <span id="time209">X</span> ms</small>
</div>



<hr>
<h1>EasyPieChart</h1>
<br/>
<div style="width: 33%; display: inline-block;">
    <div style="display: inline-block; position: relative;">
        <div data-netdata="system.processes"
            data-chart-library="easypiechart"
            data-width="200"
            data-height="200"
            data-after="-300"
            data-points="300"
            data-dt-element-name="time601"
            ></div>
        <br/>
        <small>rendered in <span id="time601">X</span> ms</small>
    </div>
    <div style="display: inline-block; position: relative;">
        <div data-netdata="system.processes"
            data-chart-library="easypiechart"
            data-width="150"
            data-height="150"
            data-after="-300"
            data-points="150"
            data-dt-element-name="time601a"
            ></div>
        <br/>
        <small>rendered in <span id="time601a">X</span> ms</small>
    </div>
</div>
<div style="width: 33%; display: inline-block;">
    <div style="display: inline-block; position: relative;">
        <div data-netdata="system.ipv4"
            data-chart-library="easypiechart"
            data-width="200"
            data-height="200"
            data-after="-300"
            data-points="300"
            data-dt-element-name="time602"
            ></div>
        <br/>
        <small>rendered in <span id="time602">X</span> ms</small>
    </div>
    <div style="display: inline-block; position: relative;">
        <div data-netdata="system.ipv4"
            data-chart-library="easypiechart"
            data-width="100"
            data-height="100"
            data-after="-300"
            data-points="150"
            data-dt-element-name="time602a"
            ></div>
        <br/>
        <small>rendered in <span id="time602a">X</span> ms</small>
    </div>
</div>
<div style="width: 33%; display: inline-block;">
    <div style="display: inline-block; position: relative;">
        <div data-netdata="system.cpu"
            data-chart-library="easypiechart"
            data-width="200"
            data-height="200"
            data-after="-300"
            data-points="300"
            data-dt-element-name="time603"
            ></div>
        <br/>
        <small>rendered in <span id="time603">X</span> ms</small>
    </div>
    <div style="display: inline-block; position: relative;">
        <div data-netdata="system.cpu"
            data-chart-library="easypiechart"
            data-width="75"
            data-height="75"
            data-after="-300"
            data-points="150"
            data-dt-element-name="time603a"
            ></div>
        <br/>
        <small>rendered in <span id="time603a">X</span> ms</small>
    </div>
</div>


<hr>
<h1>Gauge.js</h1>
<br/>
<div style="width: 33%; display: inline-block;">
    <div style="display: inline-block; position: relative;">
        <div data-netdata="system.processes"
            data-chart-library="gauge"
            data-width="250"
            data-height="200"
            data-after="-300"
            data-points="300"
            data-dt-element-name="time701"
            ></div>
        <br/>
        <small>rendered in <span id="time701">X</span> ms</small>
    </div>
    <div style="display: inline-block; position: relative;">
        <div data-netdata="system.processes"
            data-chart-library="gauge"
            data-width="125"
            data-height="100"
            data-after="-300"
            data-points="150"
            data-dt-element-name="time701a"
            ></div>
        <br/>
        <small>rendered in <span id="time701a">X</span> ms</small>
    </div>
</div>
<div style="width: 33%; display: inline-block;">
    <div style="display: inline-block; position: relative;">
        <div data-netdata="system.ipv4"
            data-chart-library="gauge"
            data-width="250"
            data-height="200"
            data-after="-300"
            data-points="300"
            data-dt-element-name="time702"
            ></div>
        <br/>
        <small>rendered in <span id="time702">X</span> ms</small>
    </div>
    <div style="display: inline-block; position: relative;">
        <div data-netdata="system.ipv4"
            data-chart-library="gauge"
            data-width="125"
            data-height="100"
            data-after="-300"
            data-points="150"
            data-dt-element-name="time702a"
            ></div>
        <br/>
        <small>rendered in <span id="time702a">X</span> ms</small>
    </div>
</div>
<div style="width: 33%; display: inline-block;">
    <div style="display: inline-block; position: relative;">
        <div data-netdata="system.cpu"
            data-chart-library="gauge"
            data-width="250"
            data-height="200"
            data-after="-300"
            data-points="300"
            data-dt-element-name="time703"
            ></div>
        <br/>
        <small>rendered in <span id="time703">X</span> ms</small>
    </div>
    <div style="display: inline-block; position: relative;">
        <div data-netdata="system.cpu"
            data-chart-library="gauge"
            data-width="125"
            data-height="100"
            data-after="-300"
            data-points="150"
            data-dt-element-name="time703a"
            ></div>
        <br/>
        <small>rendered in <span id="time703a">X</span> ms</small>
    </div>
</div>


<hr>
<h1>Google Charts</h1>
NetData was originaly developed with Google Charts.
NetData is a complete Google Visualization API provider.
<br/>
<div style="width: 33%; display: inline-block;">
    <div data-netdata="system.processes"
        data-chart-library="google"
        data-width="100%"
        data-height="200"
        data-after="-300"
        data-dt-element-name="time301"
        ></div>
    <br/>
    <small>rendered in <span id="time301">X</span> ms</small>
</div>
<div style="width: 33%; display: inline-block;">
    <div data-netdata="system.ipv4"
        data-chart-library="google"
        data-width="100%"
        data-height="200"
        data-after="-300"
        data-dt-element-name="time302"
        ></div>
    <br/>
    <small>rendered in <span id="time302">X</span> ms</small>
</div>
<div style="width: 33%; display: inline-block;">
    <div data-netdata="system.cpu"
        data-chart-library="google"
        data-width="100%"
        data-height="200"
        data-after="-300"
        data-dt-element-name="time303"
        ></div>
    <br/>
    <small>rendered in <span id="time303">X</span> ms</small>
</div>






<hr>
<h1>Morris Charts</h1>
Unfortunatelly, Morris Charts are very slow. Here we force them to lower their detail to get acceptable results.
<br/>
<div style="width: 33%; display: inline-block;">
    <div data-netdata="system.processes"
        data-chart-library="morris"
        data-width="100%"
        data-height="200"
        data-after="-300"
        data-dt-element-name="time401"
        ></div>
    <br/>
    <small>rendered in <span id="time401">X</span> ms</small>
</div>
<div style="width: 33%; display: inline-block;">
    <div data-netdata="system.ipv4"
        data-chart-library="morris"
        data-width="100%"
        data-height="200"
        data-after="-300"
        data-dt-element-name="time402"
        ></div>
    <br/>
    <small>rendered in <span id="time402">X</span> ms</small>
</div>
<div style="width: 33%; display: inline-block;">
    <div data-netdata="system.cpu"
        data-chart-library="morris"
        data-width="100%"
        data-height="200"
        data-after="-300"
        data-dt-element-name="time403"
        ></div>
    <br/>
    <small>rendered in <span id="time403">X</span> ms</small>
</div>


<hr>
<h1>C3 Charts</h1>
C3 charts are not usable in large scale. They suffer from the following issues:
<ul>
 <li>extreme use of transitions (implemented with D3 instead of CSS, meaning they are javascript rendered) that cannot be disabled - even opacity is hardcoded in the javascript library</li>
 <li>rendering is done with <code>SVG</code> instead of <code>canvas</code>, so they use DOM elements for every point, becomimg useless if more than 500 points are drawn</li>
 <li>lack of a <code>raw</code> data format, so every time a chart is updated, data convertion in javascript is required</li>
 <li>lack of <code>stacked</code> charts support</li>
</ul>
So, to avoid flashing the charts, we destroy and re-create the charts on each update. Also, since they manipulate the data with javascript we were forced to lower the detail they render to get acceptable speeds.
<br/>
<div style="width: 33%; display: inline-block;">
    <div data-netdata="system.processes"
        data-chart-library="c3"
        data-width="100%"
        data-height="200"
        data-after="-300"
        data-dt-element-name="time801"
        ></div>
    <br/>
    <small>rendered in <span id="time801">X</span> ms</small>
</div>
<div style="width: 33%; display: inline-block;">
    <div data-netdata="system.ipv4"
        data-chart-library="c3"
        data-width="100%"
        data-height="200"
        data-after="-300"
        data-dt-element-name="time802"
        ></div>
    <br/>
    <small>rendered in <span id="time802">X</span> ms</small>
</div>
<div style="width: 33%; display: inline-block;">
    <div data-netdata="system.cpu"
        data-chart-library="c3"
        data-width="100%"
        data-height="200"
        data-after="-300"
        data-dt-element-name="time803"
        ></div>
    <br/>
    <small>rendered in <span id="time803">X</span> ms</small>
</div>

</div> <!-- 1st container -->
</body>
</html>

<!-- you can set your netdata server globally, by ucommenting this -->
<!-- you can also give a different server per chart, with the attribute: data-host="http://netdata.server:19999" -->
<!-- <script> netdataServer = "http://box:19999"; </script> -->

<!-- load the dashboard manager - it will do the rest -->
<script type="text/javascript" src="dashboard.js?v20170815-15"></script>