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 welcome to <b>netdata</b>
167 <div class="mysubtitle">
168 pick a demo server, to view its dashboard
170 <div class="mycontent">
171 these dashboards is what you will get by installing <b>netdata</b>
174 <div style="width: 100%; text-align: center; padding-top: 2vw;">
175 <div style="width: 100%; text-align: center;">
177 <div class="mygauge-combo">
178 <div class="mygauge">
179 <div data-netdata="netdata.requests"
180 data-host="//netdata1.firehol.org"
181 data-title="EU - London"
182 data-chart-library="gauge"
186 data-colors="#558855"
189 <div class="mygauge-button">
191 <button type="button" class="btn btn-default" data-toggle="button" aria-pressed="false" autocomplete="off" onclick="window.location='//netdata1.firehol.org'" style="font-size: 1.5vw;">Enter London!</button>
192 <div style="font-size: 1vw;">
193 Donated by DigitalOcean.com
197 <div class="mygauge-combo">
198 <div class="mygauge">
199 <div data-netdata="netdata.requests"
200 data-host="//netdata2.firehol.org"
201 data-title="US - Atlanta"
202 data-chart-library="gauge"
206 data-colors="#AA5555"
209 <div class="mygauge-button">
211 <button type="button" class="btn btn-default" data-toggle="button" aria-pressed="false" autocomplete="off" onclick="window.location='//netdata2.firehol.org'" style="font-size: 1.5vw;">Enter Atlanta!</button>
212 <div style="font-size: 1vw;">
217 <div class="mygauge-combo">
218 <div class="mygauge">
219 <div data-netdata="netdata.requests"
220 data-host="//netdata3.firehol.org"
221 data-title="EU - Greece"
222 data-chart-library="gauge"
226 data-colors="#5555AA"
229 <div class="mygauge-button">
231 <button type="button" class="btn btn-default" data-toggle="button" aria-pressed="false" autocomplete="off" onclick="window.location='//netdata3.firehol.org'" style="font-size: 1.5vw;">Come to Greece!</button>
232 <div style="font-size: 0.8vw;">
240 <div class="mytitle">
241 this page is a custom <b>netdata</b> dashboard
243 <div class="mycontent">
244 charts are coming from 3 servers, in parallel
246 the servers are not aware of this multi-server dashboard,
248 each server is not aware of the other 2 servers,
250 but on this dashboard <b>they are one</b>!
252 <div style="padding-top: 1vw; width: 100%; text-align: center; font-size: 1.5vw;">
253 <i class="fa fa-comment" aria-hidden="true"></i>
254 hover on a chart below, or drag it to show the past - <b>the others will follow</b>!
256 double click on a chart to reset them all
259 <div class="mytitle">
260 our <code>ngnix</code> performance
262 <div class="mycontent">
263 (we proxy netdata through nginx, on the demo sites)
267 <ul class="nav nav-tabs" role="tablist" style="padding-top: 1vw;">
268 <li role="presentation" class="active"><a href="#nginx_requests" aria-controls="nginx_requests" role="tab" data-toggle="tab">Requests</a></li>
269 <li role="presentation"><a href="#nginx_connections" aria-controls="nginx_connections" role="tab" data-toggle="tab">Connections</a></li>
273 <div class="tab-content">
274 <div role="tabpanel" class="tab-pane active" id="nginx_requests">
275 <div class="mysparkline">
276 <div class="mysparkline-overchart-label">
277 <b>EU - London</b> web requests/s
279 <div class="mysparkline-overchart-value" id="nginx.requests.netdata" >
281 <div data-netdata="nginx.requests"
282 data-dimensions="requests"
283 data-host="//netdata1.firehol.org"
284 data-chart-library="dygraph"
285 data-dygraph-theme="sparkline"
286 data-dygraph-type="area"
290 data-colors="#558855"
291 data-show-value-of-requests-at="nginx.requests.netdata"
295 <div class="mysparkline">
296 <div class="mysparkline-overchart-label">
297 <b>US - Atlanta</b> web requests/s
299 <div class="mysparkline-overchart-value" id="nginx.requests.netdata2" >
301 <div data-netdata="nginx.requests"
302 data-dimensions="requests"
303 data-host="//netdata2.firehol.org"
304 data-chart-library="dygraph"
305 data-dygraph-theme="sparkline"
306 data-dygraph-type="area"
310 data-colors="#AA5555"
311 data-show-value-of-requests-at="nginx.requests.netdata2"
315 <div class="mysparkline">
316 <div class="mysparkline-overchart-label">
317 <b>EU - Greece</b> web requests/s
319 <div class="mysparkline-overchart-value" id="nginx.requests.netdata3" >
321 <div data-netdata="nginx.requests"
322 data-dimensions="requests"
323 data-host="//netdata3.firehol.org"
324 data-chart-library="dygraph"
325 data-dygraph-theme="sparkline"
326 data-dygraph-type="area"
330 data-colors="#5555AA"
331 data-show-value-of-requests-at="nginx.requests.netdata3"
336 <div role="tabpanel" class="tab-pane" id="nginx_connections">
337 <div class="mysparkline">
338 <div class="mysparkline-overchart-label">
339 <b>EU - London</b> web requests/s
341 <div class="mysparkline-overchart-value" id="nginx.connections.netdata1" >
343 <div data-netdata="nginx.connections"
344 data-dimensions="active"
345 data-host="//netdata1.firehol.org"
346 data-chart-library="dygraph"
347 data-dygraph-theme="sparkline"
348 data-dygraph-type="area"
352 data-colors="#558855"
353 data-show-value-of-active-at="nginx.connections.netdata1"
357 <div class="mysparkline">
358 <div class="mysparkline-overchart-label">
359 <b>US - Atlanta</b> web requests/s
361 <div class="mysparkline-overchart-value" id="nginx.connections.netdata2" >
363 <div data-netdata="nginx.connections"
364 data-dimensions="active"
365 data-host="//netdata2.firehol.org"
366 data-chart-library="dygraph"
367 data-dygraph-theme="sparkline"
368 data-dygraph-type="area"
372 data-colors="#AA5555"
373 data-show-value-of-active-at="nginx.connections.netdata2"
377 <div class="mysparkline">
378 <div class="mysparkline-overchart-label">
379 <b>EU - Greece</b> web requests/s
381 <div class="mysparkline-overchart-value" id="nginx.connections.netdata3" >
383 <div data-netdata="nginx.connections"
384 data-dimensions="active"
385 data-host="//netdata3.firehol.org"
386 data-chart-library="dygraph"
387 data-dygraph-theme="sparkline"
388 data-dygraph-type="area"
392 data-colors="#5555AA"
393 data-show-value-of-active-at="nginx.connections.netdata3"
399 <div style="width: 100%; text-align: right; font-size: 1vw;">
400 <i class="fa fa-comment" aria-hidden="true"></i> these charts are draggable and touchable, double click them to reset them
404 <div class="mytitle">
405 bandwidth consumption on the demo sites
407 <div class="mycontent">
408 Linux QoS is configured by <a href="https://github.com/firehol/netdata/wiki/You-should-install-QoS-on-all-your-servers">FireQOS</a>
412 <ul class="nav nav-tabs" role="tablist" style="padding-top: 1vw;">
413 <li role="presentation" class="active"><a href="#outbout" aria-controls="outbout" role="tab" data-toggle="tab">Outbound</a></li>
414 <li role="presentation"><a href="#inbound" aria-controls="inbound" role="tab" data-toggle="tab">Inbound</a></li>
418 <div class="tab-content">
419 <div role="tabpanel" class="tab-pane active" id="outbout">
420 <div class="myfullchart">
421 <div data-netdata="tc.world_out"
422 data-host="//netdata1.firehol.org"
423 data-chart-library="dygraph"
424 data-title="EU - London, traffic we send per service"
431 <div class="myfullchart">
432 <div data-netdata="tc.world_out"
433 data-host="//netdata2.firehol.org"
434 data-chart-library="dygraph"
435 data-title="US - Atlanta, traffic we send per service"
443 <div class="myfullchart">
444 <div data-netdata="tc.world_out"
445 data-host="//netdata3.firehol.org"
446 data-chart-library="dygraph"
447 data-title="EU - Greece, traffic we send per service"
454 <div role="tabpanel" class="tab-pane" id="inbound">
455 <div class="myfullchart">
456 <div data-netdata="tc.world_in"
457 data-host="//netdata1.firehol.org"
458 data-chart-library="dygraph"
459 data-title="EU - London, traffic we receive per service"
467 <div class="myfullchart">
468 <div data-netdata="tc.world_in"
469 data-host="//netdata2.firehol.org"
470 data-chart-library="dygraph"
471 data-title="US - Atlanta, traffic we receive per service"
479 <div class="myfullchart">
480 <div data-netdata="tc.world_in"
481 data-host="//netdata3.firehol.org"
482 data-chart-library="dygraph"
483 data-title="EU - Greece, traffic we receive per service"
491 <div style="width: 100%; text-align: right; font-size: 1vw;">
492 <i class="fa fa-comment" aria-hidden="true"></i> <i>these legends are interactive and the charts are resizable here ^^^</i>
495 <div class="mytitle">
496 DDoS protection performance on the demo sites
498 <div class="mycontent">
499 iptables SYNPROXY configured by our <a href="https://github.com/firehol/netdata/wiki/Monitoring-SYNPROXY">FireHOL</a>
502 <div style="padding-top: 4vw; width: 100%; text-align: center; font-size: 1.5vw;">
504 <div class="mysparkline">
505 <div class="mysparkline-overchart-label">
506 <b>EU - London</b>, TCP SYN packets/s received
508 <div class="mysparkline-overchart-value" id="netfilter.synproxy_syn_received.netdata1" >
510 <div data-netdata="netfilter.synproxy_syn_received"
511 data-dimensions="received"
512 data-host="//netdata1.firehol.org"
513 data-chart-library="dygraph"
514 data-dygraph-theme="sparkline"
515 data-dygraph-type="area"
519 data-colors="#558855"
520 data-show-value-of-received-at="netfilter.synproxy_syn_received.netdata1"
524 <div class="mysparkline">
525 <div class="mysparkline-overchart-label">
526 <b>US - Atlanta</b>, TCP SYN packets/s received
528 <div class="mysparkline-overchart-value" id="netfilter.synproxy_syn_received.netdata2" >
530 <div data-netdata="netfilter.synproxy_syn_received"
531 data-dimensions="received"
532 data-host="//netdata2.firehol.org"
533 data-chart-library="dygraph"
534 data-dygraph-theme="sparkline"
535 data-dygraph-type="area"
539 data-colors="#885555"
540 data-show-value-of-received-at="netfilter.synproxy_syn_received.netdata2"
544 <div class="mysparkline">
545 <div class="mysparkline-overchart-label">
546 <b>EU - Greece</b>, TCP SYN packets/s received
548 <div class="mysparkline-overchart-value" id="netfilter.synproxy_syn_received.netdata3" >
550 <div data-netdata="netfilter.synproxy_syn_received"
551 data-dimensions="received"
552 data-host="//netdata3.firehol.org"
553 data-chart-library="dygraph"
554 data-dygraph-theme="sparkline"
555 data-dygraph-type="area"
559 data-colors="#555588"
560 data-show-value-of-received-at="netfilter.synproxy_syn_received.netdata3"
564 <div style="width: 100%; text-align: right; font-size: 1vw;">
565 <i class="fa fa-comment" aria-hidden="true"></i> <i>did you notice the decimal numbers?
566 <br/>netdata interpolates collected values at second boundaries, with nanosecond detail!</i>
570 <div class="mytitle">
571 CPU Utilization of the demo sites
574 <div style="padding-top: 1vw;">
575 <div class="myfullchart">
576 <div data-netdata="system.cpu"
577 data-host="//netdata1.firehol.org"
578 data-chart-library="dygraph"
579 data-title="EU - London, CPU Usage"
586 <div class="myfullchart">
587 <div data-netdata="system.cpu"
588 data-host="//netdata2.firehol.org"
589 data-chart-library="dygraph"
590 data-title="US - Atlanta, CPU Usage"
597 <div class="myfullchart">
598 <div data-netdata="system.cpu"
599 data-host="//netdata3.firehol.org"
600 data-chart-library="dygraph"
601 data-title="EU - Greece, CPU Usage"
608 <div style="width: 100%; text-align: right; font-size: 1vw;">
609 <i class="fa fa-comment" aria-hidden="true"></i> <i>what does it take so much CPU?
610 <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>
613 <div class="mytitle">
614 CPU Usage of the netdata user
616 <div class="mycontent">
617 netdata monitors <b>users</b>, <b>user groups</b>, <b>applications (process trees)</b>
619 and <b>containers</b> (<code>lxc</code>, <code>docker</code>, etc.)
622 <div style="padding-top: 4vw; width: 100%; text-align: center; font-size: 1.5vw;">
624 <div class="mysparkline">
625 <div class="mysparkline-overchart-label">
626 <b>EU - London</b>, CPU % of a single core
628 <div class="mysparkline-overchart-value" id="users.cpu.netdata1" >
630 <div data-netdata="users.cpu"
631 data-dimensions="netdata"
632 data-host="//netdata1.firehol.org"
633 data-chart-library="dygraph"
634 data-dygraph-theme="sparkline"
635 data-dygraph-type="area"
639 data-colors="#558855"
640 data-show-value-of-netdata-at="users.cpu.netdata1"
644 <div class="mysparkline">
645 <div class="mysparkline-overchart-label">
646 <b>US - Atlanta</b>, CPU % of a single core
648 <div class="mysparkline-overchart-value" id="users.cpu.netdata2" >
650 <div data-netdata="users.cpu"
651 data-dimensions="netdata"
652 data-host="//netdata2.firehol.org"
653 data-chart-library="dygraph"
654 data-dygraph-theme="sparkline"
655 data-dygraph-type="area"
659 data-colors="#885555"
660 data-show-value-of-netdata-at="users.cpu.netdata2"
664 <div class="mysparkline">
665 <div class="mysparkline-overchart-label">
666 <b>EU - Greece</b>, CPU % of a single core
668 <div class="mysparkline-overchart-value" id="users.cpu.netdata3" >
670 <div data-netdata="users.cpu"
671 data-dimensions="netdata"
672 data-host="//netdata3.firehol.org"
673 data-chart-library="dygraph"
674 data-dygraph-theme="sparkline"
675 data-dygraph-type="area"
679 data-colors="#555588"
680 data-show-value-of-netdata-at="users.cpu.netdata3"
684 <div style="width: 100%; text-align: right; font-size: 1vw;">
685 <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>!
686 <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.
687 <br/>and including the chart refreshes for the dashboards of all viewers.</i>
690 <div style="padding-top: 6vw; width: 100%; text-align: center; font-size: 2vw;">
693 jump to <a href="https://github.com/firehol/netdata/">the netdata page at github</a>!
695 <b>netdata</b> monitors 1.000 - 5.000 metrics out of the box
697 and it needs just 3 mins to be installed!