Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fl0id
arm monitoring
Commits
34ca4c04
Commit
34ca4c04
authored
Feb 10, 2018
by
CarlosEDP
Browse files
Changed Grafana dashboard
parent
f7cdc8ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
grafana/Docker and system monitoring-1516232857440.json
View file @
34ca4c04
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
"rows"
:
[
"rows"
:
[
{
{
"collapse"
:
false
,
"collapse"
:
false
,
"height"
:
1
5
0
,
"height"
:
1
4
0
,
"panels"
:
[
"panels"
:
[
{
{
"cacheTimeout"
:
null
,
"cacheTimeout"
:
null
,
...
@@ -231,23 +231,23 @@
...
@@ -231,23 +231,23 @@
"colorBackground"
:
false
,
"colorBackground"
:
false
,
"colorValue"
:
false
,
"colorValue"
:
false
,
"colors"
:
[
"colors"
:
[
"rgba(
50, 172, 45
, 0.9
7
)"
,
"rgba(
245, 54, 54
, 0.9)"
,
"rgba(237, 129, 40, 0.89)"
,
"rgba(237, 129, 40, 0.89)"
,
"rgba(
245, 54, 54
, 0.9)"
"rgba(
50, 172, 45
, 0.9
7
)"
],
],
"datasource"
:
"${DS_PROMETHEUS-RPI}"
,
"datasource"
:
"${DS_PROMETHEUS-RPI}"
,
"decimals"
:
1
,
"decimals"
:
0
,
"editable"
:
true
,
"editable"
:
true
,
"error"
:
false
,
"error"
:
false
,
"format"
:
"percentunit"
,
"format"
:
"percentunit"
,
"gauge"
:
{
"gauge"
:
{
"maxValue"
:
1
,
"maxValue"
:
1
00
,
"minValue"
:
0
,
"minValue"
:
0
,
"show"
:
tru
e
,
"show"
:
fals
e
,
"thresholdLabels"
:
false
,
"thresholdLabels"
:
false
,
"thresholdMarkers"
:
true
"thresholdMarkers"
:
true
},
},
"id"
:
2
6
,
"id"
:
2
7
,
"interval"
:
null
,
"interval"
:
null
,
"links"
:
[],
"links"
:
[],
"mappingType"
:
1
,
"mappingType"
:
1
,
...
@@ -277,24 +277,23 @@
...
@@ -277,24 +277,23 @@
],
],
"span"
:
2
,
"span"
:
2
,
"sparkline"
:
{
"sparkline"
:
{
"fillColor"
:
"rgba(
31
,
1
18, 1
89
, 0.18)"
,
"fillColor"
:
"rgba(
50
, 18
9
,
3
1, 0.18)"
,
"full"
:
false
,
"full"
:
false
,
"lineColor"
:
"rgb(
31
, 1
20, 193
)"
,
"lineColor"
:
"rgb(
69
, 1
93, 31
)"
,
"show"
:
fals
e
"show"
:
tru
e
},
},
"tableColumn"
:
""
,
"tableColumn"
:
""
,
"targets"
:
[
"targets"
:
[
{
{
"expr"
:
"
min((node_filesystem_size{fstype=~
\"
xfs|ext4
\"
,instance=~
\"
$server:.*
\"
} - node_filesystem_free{fstype=~
\"
xfs|ext4
\"
,instance=~
\"
$server:.*
\"
} )/ node_filesystem_size{fstype=~
\"
xfs|ext4
\"
,
instance=~
\"
$server:.*
\"
})"
,
"expr"
:
"
node_load1{instance=~
\"
$server:.*
\"
} / count by(job, instance)(count by(job, instance, cpu)(node_cpu{
instance=~
\"
$server:.*
\"
})
)
"
,
"format"
:
"time_series"
,
"format"
:
"time_series"
,
"hide"
:
false
,
"intervalFactor"
:
2
,
"intervalFactor"
:
2
,
"refId"
:
"A"
,
"refId"
:
"A"
,
"step"
:
1800
"step"
:
1800
}
}
],
],
"thresholds"
:
"0.
75,
0.9
0
"
,
"thresholds"
:
"0.
8,
0.9"
,
"title"
:
"
Disk space
"
,
"title"
:
"
Load
"
,
"type"
:
"singlestat"
,
"type"
:
"singlestat"
,
"valueFontSize"
:
"80%"
,
"valueFontSize"
:
"80%"
,
"valueMaps"
:
[
"valueMaps"
:
[
...
@@ -304,30 +303,27 @@
...
@@ -304,30 +303,27 @@
"value"
:
"null"
"value"
:
"null"
}
}
],
],
"valueName"
:
"
current
"
"valueName"
:
"
avg
"
},
},
{
{
"cacheTimeout"
:
null
,
"cacheTimeout"
:
null
,
"colorBackground"
:
false
,
"colorBackground"
:
false
,
"colorValue"
:
false
,
"colorValue"
:
false
,
"colors"
:
[
"colors"
:
[
"
rgba(50, 172, 45, 0.97)
"
,
"
#299c46
"
,
"rgba(237, 129, 40, 0.89)"
,
"rgba(237, 129, 40, 0.89)"
,
"
rgba(245, 54, 54, 0.9)
"
"
#d44a3a
"
],
],
"datasource"
:
"${DS_PROMETHEUS-RPI}"
,
"datasource"
:
"${DS_PROMETHEUS-RPI}"
,
"decimals"
:
0
,
"format"
:
"celsius"
,
"editable"
:
true
,
"error"
:
false
,
"format"
:
"percent"
,
"gauge"
:
{
"gauge"
:
{
"maxValue"
:
100
,
"maxValue"
:
100
,
"minValue"
:
0
,
"minValue"
:
0
,
"show"
:
tru
e
,
"show"
:
fals
e
,
"thresholdLabels"
:
false
,
"thresholdLabels"
:
false
,
"thresholdMarkers"
:
true
"thresholdMarkers"
:
true
},
},
"id"
:
25
,
"id"
:
40
,
"interval"
:
null
,
"interval"
:
null
,
"links"
:
[],
"links"
:
[],
"mappingType"
:
1
,
"mappingType"
:
1
,
...
@@ -365,17 +361,16 @@
...
@@ -365,17 +361,16 @@
"tableColumn"
:
""
,
"tableColumn"
:
""
,
"targets"
:
[
"targets"
:
[
{
{
"expr"
:
"
((node_memory_MemTotal{instance=~
\"
$server:.*
\"
} - node_memory_MemAvailable{instance=~
\"
$server:.*
\"
}) / node_memory_MemTotal{instance=~
\"
$server:.*
\"
}) * 100
"
,
"expr"
:
"
avg(rpi_cpu_temperature_celsius)
"
,
"format"
:
"time_series"
,
"format"
:
"time_series"
,
"intervalFactor"
:
2
,
"intervalFactor"
:
2
,
"refId"
:
"A"
,
"refId"
:
"A"
"step"
:
1800
}
}
],
],
"thresholds"
:
"
70, 90
"
,
"thresholds"
:
""
,
"title"
:
"
Memory
"
,
"title"
:
"
CPU Temperature
"
,
"type"
:
"singlestat"
,
"type"
:
"singlestat"
,
"valueFontSize"
:
"
8
0%"
,
"valueFontSize"
:
"
11
0%"
,
"valueMaps"
:
[
"valueMaps"
:
[
{
{
"op"
:
"="
,
"op"
:
"="
,
...
@@ -383,7 +378,7 @@
...
@@ -383,7 +378,7 @@
"value"
:
"null"
"value"
:
"null"
}
}
],
],
"valueName"
:
"
current
"
"valueName"
:
"
avg
"
},
},
{
{
"cacheTimeout"
:
null
,
"cacheTimeout"
:
null
,
...
@@ -398,15 +393,15 @@
...
@@ -398,15 +393,15 @@
"decimals"
:
0
,
"decimals"
:
0
,
"editable"
:
true
,
"editable"
:
true
,
"error"
:
false
,
"error"
:
false
,
"format"
:
"
decbytes
"
,
"format"
:
"
percent
"
,
"gauge"
:
{
"gauge"
:
{
"maxValue"
:
5000000
00
,
"maxValue"
:
1
00
,
"minValue"
:
0
,
"minValue"
:
0
,
"show"
:
true
,
"show"
:
true
,
"thresholdLabels"
:
false
,
"thresholdLabels"
:
false
,
"thresholdMarkers"
:
true
"thresholdMarkers"
:
true
},
},
"id"
:
30
,
"id"
:
25
,
"interval"
:
null
,
"interval"
:
null
,
"links"
:
[],
"links"
:
[],
"mappingType"
:
1
,
"mappingType"
:
1
,
...
@@ -444,15 +439,15 @@
...
@@ -444,15 +439,15 @@
"tableColumn"
:
""
,
"tableColumn"
:
""
,
"targets"
:
[
"targets"
:
[
{
{
"expr"
:
"(node_memory_SwapTotal{instance=~'$server:.*'} - node_memory_SwapFree{instance=~'$server:.*'})"
,
"expr"
:
"((node_memory_MemTotal{instance=~
\"
$server:.*
\"
} - node_memory_MemAvailable{instance=~
\"
$server:.*
\"
}) / node_memory_MemTotal{instance=~
\"
$server:.*
\"
}) * 100"
,
"format"
:
"time_series"
,
"intervalFactor"
:
2
,
"intervalFactor"
:
2
,
"legendFormat"
:
""
,
"refId"
:
"A"
,
"refId"
:
"A"
,
"step"
:
1800
"step"
:
1800
}
}
],
],
"thresholds"
:
"
40000000
0"
,
"thresholds"
:
"
70, 9
0"
,
"title"
:
"
Swap
"
,
"title"
:
"
Memory
"
,
"type"
:
"singlestat"
,
"type"
:
"singlestat"
,
"valueFontSize"
:
"80%"
,
"valueFontSize"
:
"80%"
,
"valueMaps"
:
[
"valueMaps"
:
[
...
@@ -469,23 +464,23 @@
...
@@ -469,23 +464,23 @@
"colorBackground"
:
false
,
"colorBackground"
:
false
,
"colorValue"
:
false
,
"colorValue"
:
false
,
"colors"
:
[
"colors"
:
[
"rgba(
245, 54, 54
, 0.9)"
,
"rgba(
50, 172, 45
, 0.9
7
)"
,
"rgba(237, 129, 40, 0.89)"
,
"rgba(237, 129, 40, 0.89)"
,
"rgba(
50, 172, 45
, 0.9
7
)"
"rgba(
245, 54, 54
, 0.9)"
],
],
"datasource"
:
"${DS_PROMETHEUS-RPI}"
,
"datasource"
:
"${DS_PROMETHEUS-RPI}"
,
"decimals"
:
0
,
"decimals"
:
1
,
"editable"
:
true
,
"editable"
:
true
,
"error"
:
false
,
"error"
:
false
,
"format"
:
"percentunit"
,
"format"
:
"percentunit"
,
"gauge"
:
{
"gauge"
:
{
"maxValue"
:
1
00
,
"maxValue"
:
1
,
"minValue"
:
0
,
"minValue"
:
0
,
"show"
:
fals
e
,
"show"
:
tru
e
,
"thresholdLabels"
:
false
,
"thresholdLabels"
:
false
,
"thresholdMarkers"
:
true
"thresholdMarkers"
:
true
},
},
"id"
:
2
7
,
"id"
:
2
6
,
"interval"
:
null
,
"interval"
:
null
,
"links"
:
[],
"links"
:
[],
"mappingType"
:
1
,
"mappingType"
:
1
,
...
@@ -515,23 +510,24 @@
...
@@ -515,23 +510,24 @@
],
],
"span"
:
2
,
"span"
:
2
,
"sparkline"
:
{
"sparkline"
:
{
"fillColor"
:
"rgba(
50
, 18
9
,
3
1, 0.18)"
,
"fillColor"
:
"rgba(
31
,
1
18, 1
89
, 0.18)"
,
"full"
:
false
,
"full"
:
false
,
"lineColor"
:
"rgb(
69
, 1
93, 31
)"
,
"lineColor"
:
"rgb(
31
, 1
20, 193
)"
,
"show"
:
tru
e
"show"
:
fals
e
},
},
"tableColumn"
:
""
,
"tableColumn"
:
""
,
"targets"
:
[
"targets"
:
[
{
{
"expr"
:
"
node_load1{instance=~
\"
$server:.*
\"
} / count by(job, instance)(count by(job, instance, cpu)(node_cpu{
instance=~
\"
$server:.*
\"
})
)
"
,
"expr"
:
"
min((node_filesystem_size{fstype=~
\"
xfs|ext4
\"
,instance=~
\"
$server:.*
\"
} - node_filesystem_free{fstype=~
\"
xfs|ext4
\"
,instance=~
\"
$server:.*
\"
} )/ node_filesystem_size{fstype=~
\"
xfs|ext4
\"
,
instance=~
\"
$server:.*
\"
})"
,
"format"
:
"time_series"
,
"format"
:
"time_series"
,
"hide"
:
false
,
"intervalFactor"
:
2
,
"intervalFactor"
:
2
,
"refId"
:
"A"
,
"refId"
:
"A"
,
"step"
:
1800
"step"
:
1800
}
}
],
],
"thresholds"
:
"0.
8,
0.9"
,
"thresholds"
:
"0.
75,
0.9
0
"
,
"title"
:
"
Load
"
,
"title"
:
"
Disk space
"
,
"type"
:
"singlestat"
,
"type"
:
"singlestat"
,
"valueFontSize"
:
"80%"
,
"valueFontSize"
:
"80%"
,
"valueMaps"
:
[
"valueMaps"
:
[
...
@@ -541,7 +537,7 @@
...
@@ -541,7 +537,7 @@
"value"
:
"null"
"value"
:
"null"
}
}
],
],
"valueName"
:
"
avg
"
"valueName"
:
"
current
"
}
}
],
],
"repeat"
:
null
,
"repeat"
:
null
,
...
@@ -1765,6 +1761,168 @@
...
@@ -1765,6 +1761,168 @@
"title"
:
"Row"
,
"title"
:
"Row"
,
"titleSize"
:
"h6"
"titleSize"
:
"h6"
},
},
{
"collapse"
:
false
,
"height"
:
318
,
"panels"
:
[
{
"aliasColors"
:
{},
"bars"
:
false
,
"dashLength"
:
10
,
"dashes"
:
false
,
"datasource"
:
"${DS_PROMETHEUS-RPI}"
,
"fill"
:
1
,
"id"
:
38
,
"legend"
:
{
"avg"
:
false
,
"current"
:
false
,
"max"
:
false
,
"min"
:
false
,
"show"
:
false
,
"total"
:
false
,
"values"
:
false
},
"lines"
:
true
,
"linewidth"
:
1
,
"links"
:
[],
"nullPointMode"
:
"null"
,
"percentage"
:
false
,
"pointradius"
:
5
,
"points"
:
false
,
"renderer"
:
"flot"
,
"seriesOverrides"
:
[],
"spaceLength"
:
10
,
"span"
:
6
,
"stack"
:
false
,
"steppedLine"
:
false
,
"targets"
:
[
{
"expr"
:
"node_cpu_frequency_hertz{cpu='cpu0'}"
,
"format"
:
"time_series"
,
"interval"
:
""
,
"intervalFactor"
:
2
,
"refId"
:
"A"
}
],
"thresholds"
:
[],
"timeFrom"
:
null
,
"timeShift"
:
null
,
"title"
:
"CPU Frequency"
,
"tooltip"
:
{
"shared"
:
true
,
"sort"
:
0
,
"value_type"
:
"individual"
},
"type"
:
"graph"
,
"xaxis"
:
{
"buckets"
:
null
,
"mode"
:
"time"
,
"name"
:
null
,
"show"
:
true
,
"values"
:
[]
},
"yaxes"
:
[
{
"decimals"
:
null
,
"format"
:
"hertz"
,
"label"
:
"Frequency (Mhz)"
,
"logBase"
:
1
,
"max"
:
null
,
"min"
:
null
,
"show"
:
true
},
{
"format"
:
"short"
,
"label"
:
null
,
"logBase"
:
1
,
"max"
:
null
,
"min"
:
null
,
"show"
:
true
}
]
},
{
"aliasColors"
:
{},
"bars"
:
false
,
"dashLength"
:
10
,
"dashes"
:
false
,
"datasource"
:
"${DS_PROMETHEUS-RPI}"
,
"fill"
:
1
,
"id"
:
39
,
"legend"
:
{
"avg"
:
false
,
"current"
:
false
,
"max"
:
false
,
"min"
:
false
,
"show"
:
false
,
"total"
:
false
,
"values"
:
false
},
"lines"
:
true
,
"linewidth"
:
1
,
"links"
:
[],
"nullPointMode"
:
"null"
,
"percentage"
:
false
,
"pointradius"
:
5
,
"points"
:
false
,
"renderer"
:
"flot"
,
"seriesOverrides"
:
[],
"spaceLength"
:
10
,
"span"
:
6
,
"stack"
:
false
,
"steppedLine"
:
false
,
"targets"
:
[
{
"expr"
:
"rpi_cpu_temperature_celsius"
,
"format"
:
"time_series"
,
"intervalFactor"
:
2
,
"refId"
:
"A"
}
],
"thresholds"
:
[],
"timeFrom"
:
null
,
"timeShift"
:
null
,
"title"
:
"CPU Temperature"
,
"tooltip"
:
{
"shared"
:
true
,
"sort"
:
0
,
"value_type"
:
"individual"
},
"type"
:
"graph"
,
"xaxis"
:
{
"buckets"
:
null
,
"mode"
:
"time"
,
"name"
:
null
,
"show"
:
true
,
"values"
:
[]
},
"yaxes"
:
[
{
"format"
:
"celsius"
,
"label"
:
null
,
"logBase"
:
1
,
"max"
:
null
,
"min"
:
null
,
"show"
:
true
},
{
"format"
:
"short"
,
"label"
:
null
,
"logBase"
:
1
,
"max"
:
null
,
"min"
:
null
,
"show"
:
true
}
]
}
],
"repeat"
:
null
,
"repeatIteration"
:
null
,
"repeatRowId"
:
null
,
"showTitle"
:
false
,
"title"
:
"Dashboard Row"
,
"titleSize"
:
"h6"
},
{
{
"collapse"
:
false
,
"collapse"
:
false
,
"height"
:
354
,
"height"
:
354
,
...
@@ -1939,7 +2097,7 @@
...
@@ -1939,7 +2097,7 @@
},
},
{
{
"collapse"
:
false
,
"collapse"
:
false
,
"height"
:
361
,
"height"
:
250
,
"panels"
:
[
"panels"
:
[
{
{
"columns"
:
[
"columns"
:
[
...
@@ -1952,38 +2110,37 @@
...
@@ -1952,38 +2110,37 @@
"editable"
:
true
,
"editable"
:
true
,
"error"
:
false
,
"error"
:
false
,
"fontSize"
:
"100%"
,
"fontSize"
:
"100%"
,
"id"
:
3
6
,
"id"
:
3
5
,
"links"
:
[],
"links"
:
[],
"pageSize"
:
null
,
"pageSize"
:
null
,
"scroll"
:
true
,
"scroll"
:
true
,
"showHeader"
:
true
,
"showHeader"
:
true
,
"sort"
:
{
"sort"
:
{
"col"
:
0
,
"col"
:
null
,
"desc"
:
tru
e
"desc"
:
fals
e
},
},
"span"
:
4
,
"span"
:
6
,
"styles"
:
[
"styles"
:
[
{
{
"colorMode"
:
nu
ll
,
"colorMode"
:
"ce
ll
"
,
"colors"
:
[
"colors"
:
[
"rgba(
245, 54, 54
, 0.9)"
,
"rgba(
50, 172, 45
, 0.9
7
)"
,
"rgba(237, 129, 40, 0.89)"
,
"rgba(237, 129, 40, 0.89)"
,
"rgba(
50, 172, 45
, 0.9
7
)"
"rgba(
245, 54, 54
, 0.9)"
],
],
"decimals"
:
2
,
"decimals"
:
2
,
"pattern"
:
"/.*/"
,
"pattern"
:
"/.*/"
,
"thresholds"
:
[
"thresholds"
:
[
"
1000000
0"
,
"
8
0"
,
"
2500000
0"
"
9
0"
],
],
"type"
:
"number"
,
"type"
:
"number"
,