4 <title>NetData Multi-Server Dashboard</title>
6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
9 <meta name="viewport" content="width=device-width, initial-scale=1">
10 <meta name="apple-mobile-web-app-capable" content="yes">
11 <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
14 // --- OPTIONS FOR THE DASHBOARD --
16 // this section has to appear before loading dashboard.js
19 // uncomment on of the two themes:
21 // var netdataTheme = 'default'; // this is white
22 var netdataTheme = 'slate'; // this is dark
25 // Set the default netdata server.
26 // on charts without a 'data-host', this one will be used.
27 // the default is the server that dashboard.js is downloaded from.
29 // var netdataServer = 'http://my.server:19999/';
33 --- LOAD dashboard.js ---
35 to host this HTML file on your web server,
36 you have to load dashboard.js from the netdata server.
38 So, pick one the two below
39 If you pick the first, set the server name/IP.
41 The second assumes you host this file on /usr/share/netdata/web
42 and that you have chown it to be owned by netdata:netdata
44 <!-- <script type="text/javascript" src="http://my.server:19999/dashboard.js"></script> -->
45 <script type="text/javascript" src="dashboard.js"></script>
48 // --- OPTIONS FOR THE CHARTS --
50 // destroy charts not shown (lowers memory on the browsers)
51 // set this to 'yes' to destroy, 'false' to hide the charts
52 NETDATA.options.current.destroy_on_hide = false;
54 // set this to false, to always show all dimensions
55 NETDATA.options.current.eliminate_zero_dimensions = true;
57 // set this to false, to lower the pressure on the browser
58 NETDATA.options.current.concurrent_refreshes = true;
60 // if you need to support slow mobile phones, set this to false
61 NETDATA.options.current.parallel_refresher = true;
63 // set this to false, to always update the charts, even if focus is lost
64 NETDATA.options.current.stop_updates_when_focus_is_lost = true;
75 display: inline-block;
82 .mysparkline-overchart-label {
93 .mysparkline-overchart-value {
102 text-shadow: #333 0px 0px 2px;
107 display: inline-block;
115 display: inline-block;
151 <body style="text-align: center;">
153 <div class="container">
155 <div style="text-align: center; font-size: 13vw; height: 14vw;">
158 <div style="text-align: center; font-size: 2vw; height: 2.5vw;">
159 real-time performance monitoring
161 <div style="width:80%; text-align: right; font-size: 2.7vw;">
162 <strong>scaled out</strong>!
164 <div class="mytitle">
165 pick a <b>netdata</b> demo server
167 <div class="mycontent">
168 these demo servers is what you will get by installing <b>netdata</b>
171 <div style="width: 100%; text-align: center; padding-top: 2vw;">
172 <div style="width: 100%; text-align: center;">
174 <div class="mygauge-combo">
175 <div class="mygauge">
176 <div data-netdata="netdata.requests"
177 data-host="//netdata1.firehol.org"
178 data-title="EU - London"
179 data-chart-library="gauge"
183 data-colors="#558855"
186 <div class="mygauge-button">
188 <button type="button" class="btn btn-default" data-toggle="button" aria-pressed="false" autocomplete="off" onclick="window.location='//netdata1.firehol.org/default.html'" style="font-size: 1.5vw;">Enter London!</button>
189 <div style="font-size: 1vw;">
190 Donated by DigitalOcean.com
194 <div class="mygauge-combo">
195 <div class="mygauge">
196 <div data-netdata="netdata.requests"
197 data-host="//netdata2.firehol.org"
198 data-title="US - Atlanta"
199 data-chart-library="gauge"
203 data-colors="#AA5555"
206 <div class="mygauge-button">
208 <button type="button" class="btn btn-default" data-toggle="button" aria-pressed="false" autocomplete="off" onclick="window.location='//netdata2.firehol.org/default.html'" style="font-size: 1.5vw;">Enter Atlanta!</button>
209 <div style="font-size: 1vw;">
214 <div class="mygauge-combo">
215 <div class="mygauge">
216 <div data-netdata="netdata.requests"
217 data-host="//netdata3.firehol.org"
218 data-title="EU - Greece"
219 data-chart-library="gauge"
223 data-colors="#5555AA"
226 <div class="mygauge-button">
228 <button type="button" class="btn btn-default" data-toggle="button" aria-pressed="false" autocomplete="off" onclick="window.location='//netdata3.firehol.org/default.html'" style="font-size: 1.5vw;">Come to Greece!</button>
229 <div style="font-size: 0.8vw;">
237 <div class="mytitle">
238 this page is a custom <b>netdata</b> dashboard
240 <div class="mycontent">
241 charts are coming from 3 servers, in parallel
243 the servers are not aware of this multi-server dashboard,
245 each server is not aware of the other 2 servers,
247 but on this dashboard <b>they are one</b>!
249 <div style="padding-top: 1vw; width: 100%; text-align: center; font-size: 1.5vw;">
250 <i class="fa fa-comment" aria-hidden="true"></i>
251 hover on a chart below, or drag it to show the past - <b>the others will follow</b>!
253 double click on a chart to reset them all
256 <div class="mytitle">
257 our <code>ngnix</code> performance
259 <div class="mycontent">
260 (we proxy netdata through nginx, on the demo sites)
264 <ul class="nav nav-tabs" role="tablist" style="padding-top: 1vw;">
265 <li role="presentation" class="active"><a href="#nginx_requests" aria-controls="nginx_requests" role="tab" data-toggle="tab">Requests</a></li>
266 <li role="presentation"><a href="#nginx_connections" aria-controls="nginx_connections" role="tab" data-toggle="tab">Connections</a></li>
270 <div class="tab-content">
271 <div role="tabpanel" class="tab-pane active" id="nginx_requests">
272 <div class="mysparkline">
273 <div class="mysparkline-overchart-label">
274 <b>EU - London</b> web requests/s
276 <div class="mysparkline-overchart-value" id="nginx.requests.netdata" >
278 <div data-netdata="nginx.requests"
279 data-dimensions="requests"
280 data-host="//netdata1.firehol.org"
281 data-chart-library="dygraph"
282 data-dygraph-theme="sparkline"
283 data-dygraph-type="area"
287 data-colors="#558855"
288 data-show-value-of-requests-at="nginx.requests.netdata"
292 <div class="mysparkline">
293 <div class="mysparkline-overchart-label">
294 <b>US - Atlanta</b> web requests/s
296 <div class="mysparkline-overchart-value" id="nginx.requests.netdata2" >
298 <div data-netdata="nginx.requests"
299 data-dimensions="requests"
300 data-host="//netdata2.firehol.org"
301 data-chart-library="dygraph"
302 data-dygraph-theme="sparkline"
303 data-dygraph-type="area"
307 data-colors="#AA5555"
308 data-show-value-of-requests-at="nginx.requests.netdata2"
312 <div class="mysparkline">
313 <div class="mysparkline-overchart-label">
314 <b>EU - Greece</b> web requests/s
316 <div class="mysparkline-overchart-value" id="nginx.requests.netdata3" >
318 <div data-netdata="nginx.requests"
319 data-dimensions="requests"
320 data-host="//netdata3.firehol.org"
321 data-chart-library="dygraph"
322 data-dygraph-theme="sparkline"
323 data-dygraph-type="area"
327 data-colors="#5555AA"
328 data-show-value-of-requests-at="nginx.requests.netdata3"
333 <div role="tabpanel" class="tab-pane" id="nginx_connections">
334 <div class="mysparkline">
335 <div class="mysparkline-overchart-label">
336 <b>EU - London</b> active connections
338 <div class="mysparkline-overchart-value" id="nginx.connections.netdata1" >
340 <div data-netdata="nginx.connections"
341 data-dimensions="active"
342 data-host="//netdata1.firehol.org"
343 data-chart-library="dygraph"
344 data-dygraph-theme="sparkline"
345 data-dygraph-type="area"
349 data-colors="#558855"
350 data-show-value-of-active-at="nginx.connections.netdata1"
354 <div class="mysparkline">
355 <div class="mysparkline-overchart-label">
356 <b>US - Atlanta</b> active connections
358 <div class="mysparkline-overchart-value" id="nginx.connections.netdata2" >
360 <div data-netdata="nginx.connections"
361 data-dimensions="active"
362 data-host="//netdata2.firehol.org"
363 data-chart-library="dygraph"
364 data-dygraph-theme="sparkline"
365 data-dygraph-type="area"
369 data-colors="#AA5555"
370 data-show-value-of-active-at="nginx.connections.netdata2"
374 <div class="mysparkline">
375 <div class="mysparkline-overchart-label">
376 <b>EU - Greece</b> active connections
378 <div class="mysparkline-overchart-value" id="nginx.connections.netdata3" >
380 <div data-netdata="nginx.connections"
381 data-dimensions="active"
382 data-host="//netdata3.firehol.org"
383 data-chart-library="dygraph"
384 data-dygraph-theme="sparkline"
385 data-dygraph-type="area"
389 data-colors="#5555AA"
390 data-show-value-of-active-at="nginx.connections.netdata3"
396 <div style="width: 100%; text-align: right; font-size: 1vw;">
397 <i class="fa fa-comment" aria-hidden="true"></i> these charts are draggable and touchable, double click them to reset them
401 <div class="mytitle">
402 bandwidth consumption on the demo sites
404 <div class="mycontent">
405 Linux QoS is configured by <a href="https://github.com/firehol/netdata/wiki/You-should-install-QoS-on-all-your-servers">FireQOS</a>
409 <ul class="nav nav-tabs" role="tablist" style="padding-top: 1vw;">
410 <li role="presentation" class="active"><a href="#outbout" aria-controls="outbout" role="tab" data-toggle="tab">Outbound</a></li>
411 <li role="presentation"><a href="#inbound" aria-controls="inbound" role="tab" data-toggle="tab">Inbound</a></li>
415 <div class="tab-content">
416 <div role="tabpanel" class="tab-pane active" id="outbout">
417 <div class="myfullchart">
418 <div data-netdata="tc.world_out"
419 data-host="//netdata1.firehol.org"
420 data-chart-library="dygraph"
421 data-title="EU - London, traffic we send per service"
428 <div class="myfullchart">
429 <div data-netdata="tc.world_out"
430 data-host="//netdata2.firehol.org"
431 data-chart-library="dygraph"
432 data-title="US - Atlanta, traffic we send per service"
440 <div class="myfullchart">
441 <div data-netdata="tc.world_out"
442 data-host="//netdata3.firehol.org"
443 data-chart-library="dygraph"
444 data-title="EU - Greece, traffic we send per service"
451 <div role="tabpanel" class="tab-pane" id="inbound">
452 <div class="myfullchart">
453 <div data-netdata="tc.world_in"
454 data-host="//netdata1.firehol.org"
455 data-chart-library="dygraph"
456 data-title="EU - London, traffic we receive per service"
464 <div class="myfullchart">
465 <div data-netdata="tc.world_in"
466 data-host="//netdata2.firehol.org"
467 data-chart-library="dygraph"
468 data-title="US - Atlanta, traffic we receive per service"
476 <div class="myfullchart">
477 <div data-netdata="tc.world_in"
478 data-host="//netdata3.firehol.org"
479 data-chart-library="dygraph"
480 data-title="EU - Greece, traffic we receive per service"
488 <div style="width: 100%; text-align: right; font-size: 1vw;">
489 <i class="fa fa-comment" aria-hidden="true"></i> <i>these legends are interactive and the charts are resizable here ^^^</i>
492 <div class="mytitle">
493 DDoS protection performance on the demo sites
495 <div class="mycontent">
496 iptables SYNPROXY configured by <a href="https://github.com/firehol/netdata/wiki/Monitoring-SYNPROXY">FireHOL</a>
499 <div style="padding-top: 4vw; width: 100%; text-align: center; font-size: 1.5vw;">
501 <div class="mysparkline">
502 <div class="mysparkline-overchart-label">
503 <b>EU - London</b>, TCP SYN packets/s received
505 <div class="mysparkline-overchart-value" id="netfilter.synproxy_syn_received.netdata1" >
507 <div data-netdata="netfilter.synproxy_syn_received"
508 data-dimensions="received"
509 data-host="//netdata1.firehol.org"
510 data-chart-library="dygraph"
511 data-dygraph-theme="sparkline"
512 data-dygraph-type="area"
516 data-colors="#558855"
517 data-show-value-of-received-at="netfilter.synproxy_syn_received.netdata1"
521 <div class="mysparkline">
522 <div class="mysparkline-overchart-label">
523 <b>US - Atlanta</b>, TCP SYN packets/s received
525 <div class="mysparkline-overchart-value" id="netfilter.synproxy_syn_received.netdata2" >
527 <div data-netdata="netfilter.synproxy_syn_received"
528 data-dimensions="received"
529 data-host="//netdata2.firehol.org"
530 data-chart-library="dygraph"
531 data-dygraph-theme="sparkline"
532 data-dygraph-type="area"
536 data-colors="#885555"
537 data-show-value-of-received-at="netfilter.synproxy_syn_received.netdata2"
541 <div class="mysparkline">
542 <div class="mysparkline-overchart-label">
543 <b>EU - Greece</b>, TCP SYN packets/s received
545 <div class="mysparkline-overchart-value" id="netfilter.synproxy_syn_received.netdata3" >
547 <div data-netdata="netfilter.synproxy_syn_received"
548 data-dimensions="received"
549 data-host="//netdata3.firehol.org"
550 data-chart-library="dygraph"
551 data-dygraph-theme="sparkline"
552 data-dygraph-type="area"
556 data-colors="#555588"
557 data-show-value-of-received-at="netfilter.synproxy_syn_received.netdata3"
561 <div style="width: 100%; text-align: right; font-size: 1vw;">
562 <i class="fa fa-comment" aria-hidden="true"></i> <i>did you notice the decimal numbers?
563 <br/>netdata interpolates collected values at second boundaries, with nanosecond detail!</i>
567 <div class="mytitle">
568 CPU Utilization of the demo sites
571 <div style="padding-top: 1vw;">
572 <div class="myfullchart">
573 <div data-netdata="system.cpu"
574 data-host="//netdata1.firehol.org"
575 data-chart-library="dygraph"
576 data-title="EU - London, CPU Usage"
583 <div class="myfullchart">
584 <div data-netdata="system.cpu"
585 data-host="//netdata2.firehol.org"
586 data-chart-library="dygraph"
587 data-title="US - Atlanta, CPU Usage"
594 <div class="myfullchart">
595 <div data-netdata="system.cpu"
596 data-host="//netdata3.firehol.org"
597 data-chart-library="dygraph"
598 data-title="EU - Greece, CPU Usage"
605 <div style="width: 100%; text-align: right; font-size: 1vw;">
606 <i class="fa fa-comment" aria-hidden="true"></i> <i>what is using so much CPU?
607 <br/>The site <a href="//iplists.firehol.org/">iplists.firehol.org</a> is maintained by FireHOL - the CPU is used for comparing security IP Lists.</i>
610 <div class="mytitle">
611 CPU Usage of the netdata user
613 <div class="mycontent">
614 netdata monitors <b>users</b>, <b>user groups</b>, <b>applications (process trees)</b>
616 and <b>containers</b> (<code>lxc</code>, <code>docker</code>, etc.)
619 <div style="padding-top: 4vw; width: 100%; text-align: center; font-size: 1.5vw;">
621 <div class="mysparkline">
622 <div class="mysparkline-overchart-label">
623 <b>EU - London</b>, CPU % of a single core
625 <div class="mysparkline-overchart-value" id="users.cpu.netdata1" >
627 <div data-netdata="users.cpu"
628 data-dimensions="netdata"
629 data-host="//netdata1.firehol.org"
630 data-chart-library="dygraph"
631 data-dygraph-theme="sparkline"
632 data-dygraph-type="area"
636 data-colors="#558855"
637 data-show-value-of-netdata-at="users.cpu.netdata1"
641 <div class="mysparkline">
642 <div class="mysparkline-overchart-label">
643 <b>US - Atlanta</b>, CPU % of a single core
645 <div class="mysparkline-overchart-value" id="users.cpu.netdata2" >
647 <div data-netdata="users.cpu"
648 data-dimensions="netdata"
649 data-host="//netdata2.firehol.org"
650 data-chart-library="dygraph"
651 data-dygraph-theme="sparkline"
652 data-dygraph-type="area"
656 data-colors="#885555"
657 data-show-value-of-netdata-at="users.cpu.netdata2"
661 <div class="mysparkline">
662 <div class="mysparkline-overchart-label">
663 <b>EU - Greece</b>, CPU % of a single core
665 <div class="mysparkline-overchart-value" id="users.cpu.netdata3" >
667 <div data-netdata="users.cpu"
668 data-dimensions="netdata"
669 data-host="//netdata3.firehol.org"
670 data-chart-library="dygraph"
671 data-dygraph-theme="sparkline"
672 data-dygraph-type="area"
676 data-colors="#555588"
677 data-show-value-of-netdata-at="users.cpu.netdata3"
681 <div style="width: 100%; text-align: right; font-size: 1vw;">
682 <i class="fa fa-comment" aria-hidden="true"></i> <i>this utilization is about the whole netdata process tree and the percentage is of <b>a single core</b>!
683 <br/>including <b>BASH</b> plugins (it monitors <code>mysql</code> on the demo sites), <b>node.js</b> plugins (it monitors <code>bind9</code> on the demo sites), etc.
684 <br/>and including the chart refreshes for the dashboards of all viewers.</i>
687 <div style="padding-top: 6vw; width: 100%; text-align: center; font-size: 2vw;">
690 jump to <a href="https://github.com/firehol/netdata/">the netdata page at github</a>!
692 <b>netdata</b> monitors 1.000 - 5.000 metrics out of the box
694 and it needs just 3 mins to be installed!