Skip to content

Commit e3c0e03

Browse files
authored
Merge pull request ntop#1745 from darox/patch-1
Create Grafana-Dashboard-NTOPNG
2 parents 8ea846d + 6d5db5e commit e3c0e03

File tree

1 file changed

+351
-0
lines changed

1 file changed

+351
-0
lines changed

contrib/Grafana-Dashboard-NTOPNG

Lines changed: 351 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,351 @@
1+
{
2+
"annotations": {
3+
"list": [
4+
{
5+
"builtIn": 1,
6+
"datasource": "-- Grafana --",
7+
"enable": true,
8+
"hide": true,
9+
"iconColor": "rgba(0, 211, 255, 1)",
10+
"name": "Annotations & Alerts",
11+
"type": "dashboard"
12+
}
13+
]
14+
},
15+
"editable": true,
16+
"gnetId": null,
17+
"graphTooltip": 0,
18+
"id": 11,
19+
"links": [],
20+
"panels": [
21+
{
22+
"cacheTimeout": null,
23+
"colorBackground": false,
24+
"colorValue": false,
25+
"colors": [
26+
"#299c46",
27+
"rgba(237, 129, 40, 0.89)",
28+
"#d44a3a"
29+
],
30+
"datasource": "NTOPNG",
31+
"format": "decbytes",
32+
"gauge": {
33+
"maxValue": 100,
34+
"minValue": 0,
35+
"show": false,
36+
"thresholdLabels": false,
37+
"thresholdMarkers": true
38+
},
39+
"gridPos": {
40+
"h": 4,
41+
"w": 24,
42+
"x": 0,
43+
"y": 0
44+
},
45+
"id": 7,
46+
"interval": null,
47+
"links": [],
48+
"mappingType": 1,
49+
"mappingTypes": [
50+
{
51+
"name": "value to text",
52+
"value": 1
53+
},
54+
{
55+
"name": "range to text",
56+
"value": 2
57+
}
58+
],
59+
"maxDataPoints": 100,
60+
"nullPointMode": "connected",
61+
"nullText": null,
62+
"postfix": "",
63+
"postfixFontSize": "50%",
64+
"prefix": "",
65+
"prefixFontSize": "50%",
66+
"rangeMaps": [
67+
{
68+
"from": "null",
69+
"text": "N/A",
70+
"to": "null"
71+
}
72+
],
73+
"sparkline": {
74+
"fillColor": "rgba(31, 118, 189, 0.18)",
75+
"full": false,
76+
"lineColor": "rgb(31, 120, 193)",
77+
"show": false
78+
},
79+
"tableColumn": "",
80+
"targets": [
81+
{
82+
"refId": "A",
83+
"target": "host_192.168.1.154_interface_em0_traffic_total_bytes",
84+
"type": "timeserie"
85+
}
86+
],
87+
"thresholds": "",
88+
"title": "WAN Interface - Volume",
89+
"transparent": true,
90+
"type": "singlestat",
91+
"valueFontSize": "80%",
92+
"valueMaps": [
93+
{
94+
"op": "=",
95+
"text": "N/A",
96+
"value": "null"
97+
}
98+
],
99+
"valueName": "total"
100+
},
101+
{
102+
"aliasColors": {
103+
"Traffic (Rcvd) [192.168.1.154, em0]": "#e24d42",
104+
"Traffic (Sent) [192.168.1.154, em0]": "#447ebc"
105+
},
106+
"bars": false,
107+
"dashLength": 10,
108+
"dashes": false,
109+
"datasource": "NTOPNG",
110+
"fill": 1,
111+
"gridPos": {
112+
"h": 13,
113+
"w": 8,
114+
"x": 0,
115+
"y": 4
116+
},
117+
"id": 2,
118+
"legend": {
119+
"avg": false,
120+
"current": false,
121+
"max": false,
122+
"min": false,
123+
"show": true,
124+
"total": false,
125+
"values": false
126+
},
127+
"lines": true,
128+
"linewidth": 1,
129+
"links": [],
130+
"nullPointMode": "null",
131+
"percentage": false,
132+
"pointradius": 5,
133+
"points": false,
134+
"renderer": "flot",
135+
"seriesOverrides": [],
136+
"spaceLength": 10,
137+
"stack": false,
138+
"steppedLine": false,
139+
"targets": [
140+
{
141+
"$$hashKey": "object:196",
142+
"refId": "A",
143+
"target": "host_192.168.1.154_interface_em0_traffic_bps",
144+
"type": "timeserie"
145+
}
146+
],
147+
"thresholds": [],
148+
"timeFrom": null,
149+
"timeShift": null,
150+
"title": "WAN Interface - All Protocols",
151+
"tooltip": {
152+
"shared": true,
153+
"sort": 0,
154+
"value_type": "individual"
155+
},
156+
"transparent": true,
157+
"type": "graph",
158+
"xaxis": {
159+
"buckets": null,
160+
"mode": "time",
161+
"name": null,
162+
"show": true,
163+
"values": []
164+
},
165+
"yaxes": [
166+
{
167+
"$$hashKey": "object:221",
168+
"format": "bps",
169+
"label": "Throughput",
170+
"logBase": 1,
171+
"max": null,
172+
"min": "0",
173+
"show": true
174+
},
175+
{
176+
"$$hashKey": "object:222",
177+
"format": "short",
178+
"label": null,
179+
"logBase": 1,
180+
"max": null,
181+
"min": null,
182+
"show": false
183+
}
184+
]
185+
},
186+
{
187+
"aliasColors": {},
188+
"bars": false,
189+
"dashLength": 10,
190+
"dashes": false,
191+
"datasource": "NTOPNG",
192+
"fill": 1,
193+
"gridPos": {
194+
"h": 13,
195+
"w": 8,
196+
"x": 8,
197+
"y": 4
198+
},
199+
"id": 3,
200+
"legend": {
201+
"avg": false,
202+
"current": false,
203+
"max": false,
204+
"min": false,
205+
"show": true,
206+
"total": false,
207+
"values": false
208+
},
209+
"lines": true,
210+
"linewidth": 1,
211+
"links": [],
212+
"nullPointMode": "null",
213+
"percentage": false,
214+
"pointradius": 5,
215+
"points": false,
216+
"renderer": "flot",
217+
"seriesOverrides": [],
218+
"spaceLength": 10,
219+
"stack": false,
220+
"steppedLine": false,
221+
"targets": [
222+
{
223+
"$$hashKey": "object:352",
224+
"refId": "A",
225+
"target": "host_192.168.1.154_interface_em0_allprotocols_bps",
226+
"type": "timeserie"
227+
}
228+
],
229+
"thresholds": [],
230+
"timeFrom": null,
231+
"timeShift": null,
232+
"title": "WAN Interface - Per Protocol",
233+
"tooltip": {
234+
"shared": true,
235+
"sort": 0,
236+
"value_type": "individual"
237+
},
238+
"transparent": true,
239+
"type": "graph",
240+
"xaxis": {
241+
"buckets": null,
242+
"mode": "time",
243+
"name": null,
244+
"show": true,
245+
"values": []
246+
},
247+
"yaxes": [
248+
{
249+
"$$hashKey": "object:377",
250+
"format": "bps",
251+
"label": "Throughput",
252+
"logBase": 1,
253+
"max": null,
254+
"min": "0",
255+
"show": true
256+
},
257+
{
258+
"$$hashKey": "object:378",
259+
"format": "short",
260+
"label": null,
261+
"logBase": 1,
262+
"max": null,
263+
"min": null,
264+
"show": false
265+
}
266+
]
267+
},
268+
{
269+
"aliasColors": {},
270+
"cacheTimeout": null,
271+
"combine": {
272+
"label": "Others",
273+
"threshold": 0
274+
},
275+
"datasource": "NTOPNG",
276+
"fontSize": "80%",
277+
"format": "short",
278+
"gridPos": {
279+
"h": 13,
280+
"w": 8,
281+
"x": 16,
282+
"y": 4
283+
},
284+
"id": 5,
285+
"interval": null,
286+
"legend": {
287+
"percentage": true,
288+
"percentageDecimals": 1,
289+
"show": true,
290+
"values": false
291+
},
292+
"legendType": "Right side",
293+
"links": [],
294+
"maxDataPoints": 3,
295+
"nullPointMode": "connected",
296+
"pieType": "donut",
297+
"strokeWidth": 1,
298+
"targets": [
299+
{
300+
"refId": "A",
301+
"target": "host_192.168.1.154_interface_em0_allprotocols_bps",
302+
"type": "timeserie"
303+
}
304+
],
305+
"title": "WAN Interface - Per Protocol",
306+
"transparent": true,
307+
"type": "grafana-piechart-panel",
308+
"valueName": "total"
309+
}
310+
],
311+
"refresh": "30s",
312+
"schemaVersion": 16,
313+
"style": "dark",
314+
"tags": [],
315+
"templating": {
316+
"list": []
317+
},
318+
"time": {
319+
"from": "now-24h",
320+
"to": "now"
321+
},
322+
"timepicker": {
323+
"refresh_intervals": [
324+
"5s",
325+
"10s",
326+
"30s",
327+
"1m",
328+
"5m",
329+
"15m",
330+
"30m",
331+
"1h",
332+
"2h",
333+
"1d"
334+
],
335+
"time_options": [
336+
"5m",
337+
"15m",
338+
"1h",
339+
"6h",
340+
"12h",
341+
"24h",
342+
"2d",
343+
"7d",
344+
"30d"
345+
]
346+
},
347+
"timezone": "",
348+
"title": "NTOPNG",
349+
"uid": "RPf0_mZmz",
350+
"version": 12
351+
}

0 commit comments

Comments
 (0)