"query":"SELECT last(\"uptime\") FROM \"system\" WHERE (\"host\" =~ /^$server$/) AND $timeFilter GROUP BY time($interval) fill(null)",
"rawQuery":false,
"refId":"A",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"uptime"
],
"type":"field"
},
{
"params":[],
"type":"last"
}
]
],
"tags":[
{
"key":"host",
"operator":"=~",
"value":"/^$server$/"
}
]
}
],
"title":"Uptime",
"type":"stat"
},
{
"datasource":{
"type":"influxdb",
"uid":"${DS_INFLUXDB}"
},
"fieldConfig":{
"defaults":{
"color":{
"mode":"thresholds"
},
"mappings":[],
"max":100,
"min":0,
"thresholds":{
"mode":"absolute",
"steps":[
{
"color":"rgba(50, 172, 45, 0.97)",
"value":null
},
{
"color":"rgba(237, 129, 40, 0.89)",
"value":70
},
{
"color":"rgba(245, 54, 54, 0.9)",
"value":80
}
]
},
"unit":"percent"
},
"overrides":[]
},
"gridPos":{
"h":6,
"w":3,
"x":4,
"y":1
},
"id":61861,
"links":[],
"maxDataPoints":100,
"options":{
"orientation":"horizontal",
"reduceOptions":{
"calcs":[
"lastNotNull"
],
"fields":"",
"values":false
},
"showThresholdLabels":false,
"showThresholdMarkers":true,
"text":{}
},
"pluginVersion":"9.2.3",
"targets":[
{
"datasource":{
"type":"influxdb",
"uid":"${DS_INFLUXDB}"
},
"dsType":"influxdb",
"groupBy":[
{
"params":[
"$interval"
],
"type":"time"
},
{
"params":[
"null"
],
"type":"fill"
}
],
"measurement":"cpu",
"orderByTime":"ASC",
"policy":"default",
"refId":"A",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"usage_idle"
],
"type":"field"
},
{
"params":[],
"type":"last"
},
{
"params":[
"* -1 + 100"
],
"type":"math"
}
]
],
"tags":[
{
"key":"host",
"operator":"=~",
"value":"/^$server$/"
},
{
"condition":"AND",
"key":"cpu",
"operator":"=",
"value":"cpu-total"
}
]
}
],
"title":"CPU usage",
"type":"gauge"
},
{
"datasource":{
"type":"influxdb",
"uid":"${DS_INFLUXDB}"
},
"fieldConfig":{
"defaults":{
"color":{
"mode":"thresholds"
},
"decimals":0,
"mappings":[],
"max":100,
"min":0,
"thresholds":{
"mode":"absolute",
"steps":[
{
"color":"rgba(50, 172, 45, 0.97)",
"value":null
},
{
"color":"rgba(237, 129, 40, 0.89)",
"value":85
},
{
"color":"rgba(245, 54, 54, 0.9)",
"value":90
}
]
},
"unit":"percent"
},
"overrides":[]
},
"gridPos":{
"h":6,
"w":3,
"x":7,
"y":1
},
"id":61866,
"links":[],
"maxDataPoints":100,
"options":{
"orientation":"horizontal",
"reduceOptions":{
"calcs":[
"lastNotNull"
],
"fields":"",
"values":false
},
"showThresholdLabels":false,
"showThresholdMarkers":true,
"text":{}
},
"pluginVersion":"9.2.3",
"targets":[
{
"datasource":{
"type":"influxdb",
"uid":"${DS_INFLUXDB}"
},
"dsType":"influxdb",
"groupBy":[
{
"params":[
"$interval"
],
"type":"time"
},
{
"params":[
"null"
],
"type":"fill"
}
],
"measurement":"disk",
"orderByTime":"ASC",
"policy":"default",
"refId":"A",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"used_percent"
],
"type":"field"
},
{
"params":[],
"type":"last"
}
]
],
"tags":[
{
"key":"host",
"operator":"=~",
"value":"/^$server$/"
},
{
"condition":"AND",
"key":"path",
"operator":"=",
"value":"/"
}
]
}
],
"title":"RootFS used",
"type":"gauge"
},
{
"alert":{
"alertRuleTags":{},
"conditions":[
{
"evaluator":{
"params":[
50
],
"type":"gt"
},
"operator":{
"type":"and"
},
"query":{
"params":[
"A",
"5m",
"now"
]
},
"reducer":{
"params":[],
"type":"avg"
},
"type":"query"
}
],
"executionErrorState":"alerting",
"for":"5m",
"frequency":"10m",
"handler":1,
"message":"The average CPU percentage of a Docker container has achieved > 50% for over 5 minutes.",
"name":"Docker Container CPU Usage alert",
"noDataState":"no_data",
"notifications":[
{
"uid":"snCrPizgk"
}
]
},
"aliasColors":{},
"bars":false,
"dashLength":10,
"dashes":false,
"datasource":{
"type":"influxdb",
"uid":"${DS_INFLUXDB}"
},
"decimals":2,
"fieldConfig":{
"defaults":{
"unit":"percent"
},
"overrides":[]
},
"fill":1,
"fillGradient":8,
"gridPos":{
"h":13,
"w":14,
"x":10,
"y":1
},
"hiddenSeries":false,
"id":62652,
"legend":{
"alignAsTable":true,
"avg":true,
"current":true,
"hideEmpty":false,
"hideZero":true,
"max":true,
"min":true,
"rightSide":true,
"show":true,
"total":false,
"values":true
},
"lines":true,
"linewidth":2,
"nullPointMode":"null",
"options":{
"alertThreshold":true
},
"percentage":false,
"pluginVersion":"9.2.3",
"pointradius":2,
"points":true,
"renderer":"flot",
"seriesOverrides":[],
"spaceLength":10,
"stack":false,
"steppedLine":false,
"targets":[
{
"alias":"$tag_container_name",
"datasource":{
"type":"influxdb",
"uid":"${DS_INFLUXDB}"
},
"query":"SELECT mean(\"usage_percent\") FROM \"docker_container_cpu\" WHERE (\"docker.group\" =~ /^()$/ AND \"host\" =~ /^$server$/) AND $timeFilter GROUP BY time($__interval), \"container_name\" fill(none)",
"query":"SELECT last(\"n_containers_running\") AS \"running\", last(\"n_containers_paused\") AS \"paused\", last(\"n_containers_stopped\") AS \"stopped\" FROM \"docker\" WHERE $timeFilter",
"query":"SELECT last(\"n_images\") FROM \"docker\" WHERE (\"host\" =~ /^$server$/) AND $timeFilter GROUP BY time($__interval) fill(none)",
"rawQuery":true,
"refId":"A",
"resultFormat":"time_series"
}
],
"title":"Docker Images",
"type":"stat"
},
{
"alert":{
"alertRuleTags":{},
"conditions":[
{
"evaluator":{
"params":[
50
],
"type":"gt"
},
"operator":{
"type":"and"
},
"query":{
"params":[
"E",
"5m",
"now"
]
},
"reducer":{
"params":[],
"type":"avg"
},
"type":"query"
}
],
"executionErrorState":"alerting",
"for":"5m",
"frequency":"5m",
"handler":1,
"message":"OMV Docker host has reach > 80% CPU load for a time perioud of 5 minutes. Watch out!",
"name":"CPU Usage alert",
"noDataState":"no_data",
"notifications":[
{
"uid":"snCrPizgk"
}
]
},
"aliasColors":{
"CPU Average":"rgb(196, 22, 42)"
},
"bars":false,
"dashLength":10,
"dashes":false,
"datasource":{
"type":"influxdb",
"uid":"${DS_INFLUXDB}"
},
"fieldConfig":{
"defaults":{
"links":[]
},
"overrides":[]
},
"fill":4,
"fillGradient":10,
"gridPos":{
"h":13,
"w":12,
"x":0,
"y":20
},
"hiddenSeries":false,
"id":62434,
"legend":{
"alignAsTable":true,
"avg":true,
"current":true,
"max":true,
"min":false,
"rightSide":true,
"show":true,
"total":false,
"values":true
},
"lines":true,
"linewidth":1,
"links":[],
"nullPointMode":"null",
"options":{
"alertThreshold":true
},
"paceLength":10,
"percentage":false,
"pluginVersion":"9.2.3",
"pointradius":5,
"points":false,
"renderer":"flot",
"seriesOverrides":[],
"spaceLength":10,
"stack":false,
"steppedLine":false,
"targets":[
{
"alias":"Core 0",
"datasource":{
"type":"influxdb",
"uid":"${DS_INFLUXDB}"
},
"dsType":"influxdb",
"groupBy":[
{
"params":[
"$__interval"
],
"type":"time"
},
{
"params":[
"null"
],
"type":"fill"
}
],
"hide":false,
"measurement":"cpu",
"orderByTime":"ASC",
"policy":"default",
"refId":"A",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"usage_idle"
],
"type":"field"
},
{
"params":[],
"type":"distinct"
},
{
"params":[
"*-1+100"
],
"type":"math"
}
]
],
"tags":[
{
"key":"cpu",
"operator":"=",
"value":"cpu0"
}
]
},
{
"alias":"Core 1",
"datasource":{
"type":"influxdb",
"uid":"${DS_INFLUXDB}"
},
"dsType":"influxdb",
"groupBy":[
{
"params":[
"$__interval"
],
"type":"time"
},
{
"params":[
"null"
],
"type":"fill"
}
],
"hide":false,
"measurement":"cpu",
"orderByTime":"ASC",
"policy":"default",
"refId":"B",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"usage_idle"
],
"type":"field"
},
{
"params":[],
"type":"distinct"
},
{
"params":[
"*-1+100"
],
"type":"math"
}
]
],
"tags":[
{
"key":"cpu",
"operator":"=",
"value":"cpu1"
}
]
},
{
"alias":"Core 2",
"datasource":{
"type":"influxdb",
"uid":"${DS_INFLUXDB}"
},
"dsType":"influxdb",
"groupBy":[
{
"params":[
"$__interval"
],
"type":"time"
},
{
"params":[
"null"
],
"type":"fill"
}
],
"hide":false,
"measurement":"cpu",
"orderByTime":"ASC",
"policy":"default",
"query":"SELECT distinct(\"usage_idle\") *-1+100 FROM \"cpu\" WHERE (\"cpu\" = 'cpu1') AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery":false,
"refId":"C",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"usage_idle"
],
"type":"field"
},
{
"params":[],
"type":"distinct"
},
{
"params":[
"*-1+100"
],
"type":"math"
}
]
],
"tags":[
{
"key":"cpu",
"operator":"=",
"value":"cpu2"
}
]
},
{
"alias":"Core 3",
"datasource":{
"type":"influxdb",
"uid":"${DS_INFLUXDB}"
},
"dsType":"influxdb",
"groupBy":[
{
"params":[
"$__interval"
],
"type":"time"
},
{
"params":[
"null"
],
"type":"fill"
}
],
"hide":false,
"measurement":"cpu",
"orderByTime":"ASC",
"policy":"default",
"query":"SELECT distinct(\"usage_idle\") *-1+100 FROM \"cpu\" WHERE (\"cpu\" = 'cpu2') AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery":false,
"refId":"D",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"usage_idle"
],
"type":"field"
},
{
"params":[],
"type":"distinct"
},
{
"params":[
"*-1+100"
],
"type":"math"
}
]
],
"tags":[
{
"key":"cpu",
"operator":"=",
"value":"cpu3"
}
]
},
{
"alias":"Core 4",
"datasource":{
"type":"influxdb",
"uid":"${DS_INFLUXDB}"
},
"dsType":"influxdb",
"groupBy":[
{
"params":[
"$__interval"
],
"type":"time"
},
{
"params":[
"null"
],
"type":"fill"
}
],
"hide":false,
"measurement":"cpu",
"orderByTime":"ASC",
"policy":"default",
"query":"SELECT distinct(\"usage_idle\") *-1+100 FROM \"cpu\" WHERE (\"cpu\" = 'cpu2') AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery":false,
"refId":"F",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"usage_idle"
],
"type":"field"
},
{
"params":[],
"type":"distinct"
},
{
"params":[
"*-1+100"
],
"type":"math"
}
]
],
"tags":[
{
"key":"cpu",
"operator":"=",
"value":"cpu4"
}
]
},
{
"alias":"Core 5",
"datasource":{
"type":"influxdb",
"uid":"${DS_INFLUXDB}"
},
"dsType":"influxdb",
"groupBy":[
{
"params":[
"$__interval"
],
"type":"time"
},
{
"params":[
"null"
],
"type":"fill"
}
],
"hide":false,
"measurement":"cpu",
"orderByTime":"ASC",
"policy":"default",
"query":"SELECT distinct(\"usage_idle\") *-1+100 FROM \"cpu\" WHERE (\"cpu\" = 'cpu2') AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery":false,
"refId":"G",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"usage_idle"
],
"type":"field"
},
{
"params":[],
"type":"distinct"
},
{
"params":[
"*-1+100"
],
"type":"math"
}
]
],
"tags":[
{
"key":"cpu",
"operator":"=",
"value":"cpu5"
}
]
},
{
"alias":"Core 6",
"datasource":{
"type":"influxdb",
"uid":"${DS_INFLUXDB}"
},
"dsType":"influxdb",
"groupBy":[
{
"params":[
"$__interval"
],
"type":"time"
},
{
"params":[
"null"
],
"type":"fill"
}
],
"hide":false,
"measurement":"cpu",
"orderByTime":"ASC",
"policy":"default",
"query":"SELECT distinct(\"usage_idle\") *-1+100 FROM \"cpu\" WHERE (\"cpu\" = 'cpu2') AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery":false,
"refId":"H",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"usage_idle"
],
"type":"field"
},
{
"params":[],
"type":"distinct"
},
{
"params":[
"*-1+100"
],
"type":"math"
}
]
],
"tags":[
{
"key":"cpu",
"operator":"=",
"value":"cpu6"
}
]
},
{
"alias":"Core 7",
"datasource":{
"type":"influxdb",
"uid":"${DS_INFLUXDB}"
},
"dsType":"influxdb",
"groupBy":[
{
"params":[
"$__interval"
],
"type":"time"
},
{
"params":[
"null"
],
"type":"fill"
}
],
"hide":false,
"measurement":"cpu",
"orderByTime":"ASC",
"policy":"default",
"query":"SELECT distinct(\"usage_idle\") *-1+100 FROM \"cpu\" WHERE (\"cpu\" = 'cpu2') AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery":false,
"refId":"I",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"usage_idle"
],
"type":"field"
},
{
"params":[],
"type":"distinct"
},
{
"params":[
"*-1+100"
],
"type":"math"
}
]
],
"tags":[
{
"key":"cpu",
"operator":"=",
"value":"cpu7"
}
]
},
{
"alias":"CPU Average",
"datasource":{
"type":"influxdb",
"uid":"${DS_INFLUXDB}"
},
"groupBy":[
{
"params":[
"1s"
],
"type":"time"
},
{
"params":[
"null"
],
"type":"fill"
}
],
"measurement":"cpu",
"orderByTime":"ASC",
"policy":"default",
"refId":"E",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"usage_idle"
],
"type":"field"
},
{
"params":[],
"type":"distinct"
},
{
"params":[
"*-1+100"
],
"type":"math"
}
]
],
"tags":[
{
"key":"cpu",
"operator":"=",
"value":"cpu-total"
}
]
}
],
"thresholds":[
{
"colorMode":"critical",
"fill":true,
"line":true,
"op":"gt",
"value":50,
"visible":true
}
],
"timeRegions":[],
"title":"Host CPU Usage (Cores)",
"tooltip":{
"shared":true,
"sort":2,
"value_type":"individual"
},
"type":"graph",
"xaxis":{
"mode":"time",
"show":true,
"values":[]
},
"yaxes":[
{
"$$hashKey":"object:296",
"format":"percent",
"logBase":1,
"max":"100",
"show":true
},
{
"$$hashKey":"object:297",
"format":"short",
"logBase":1,
"show":false
}
],
"yaxis":{
"align":false
}
},
{
"aliasColors":{},
"bars":false,
"dashLength":10,
"dashes":false,
"datasource":{
"type":"influxdb",
"uid":"${DS_INFLUXDB}"
},
"editable":true,
"error":false,
"fieldConfig":{
"defaults":{
"links":[]
},
"overrides":[]
},
"fill":1,
"fillGradient":0,
"grid":{},
"gridPos":{
"h":13,
"w":12,
"x":12,
"y":20
},
"height":"400",
"hiddenSeries":false,
"id":12054,
"interval":"$inter",
"legend":{
"alignAsTable":true,
"avg":true,
"current":true,
"max":true,
"min":true,
"show":true,
"sort":"current",
"sortDesc":true,
"total":false,
"values":true
},
"lines":true,
"linewidth":1,
"links":[],
"nullPointMode":"connected",
"options":{
"alertThreshold":true
},
"percentage":false,
"pluginVersion":"9.2.3",
"pointradius":5,
"points":false,
"renderer":"flot",
"seriesOverrides":[
{
"alias":"/total/",
"color":"#BF1B00",
"fill":0,
"linewidth":2
}
],
"spaceLength":10,
"stack":false,
"steppedLine":false,
"targets":[
{
"alias":"$tag_host: $col",
"datasource":{
"type":"influxdb",
"uid":"${DS_INFLUXDB}"
},
"dsType":"influxdb",
"function":"mean",
"groupBy":[
{
"interval":"auto",
"params":[
"auto"
],
"type":"time"
},
{
"key":"host",
"params":[
"tag"
],
"type":"tag"
}
],
"measurement":"mem_inactive",
"orderByTime":"ASC",
"policy":"default",
"query":"SELECT mean(total) as total, mean(used) as used, mean(cached) as cached, mean(free) as free, mean(buffered) as buffered FROM \"mem\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc",
"rawQuery":true,
"refId":"A",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"value"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[]
}
],
"thresholds":[],
"timeRegions":[],
"title":"Memory usage",
"tooltip":{
"msResolution":false,
"shared":true,
"sort":0,
"value_type":"cumulative"
},
"type":"graph",
"xaxis":{
"mode":"time",
"show":true,
"values":[]
},
"yaxes":[
{
"format":"bytes",
"logBase":1,
"min":0,
"show":true
},
{
"format":"short",
"logBase":1,
"show":true
}
],
"yaxis":{
"align":false
}
},
{
"aliasColors":{},
"bars":false,
"dashLength":10,
"dashes":false,
"datasource":{
"type":"influxdb",
"uid":"${DS_INFLUXDB}"
},
"editable":true,
"error":false,
"fieldConfig":{
"defaults":{
"links":[]
},
"overrides":[]
},
"fill":1,
"fillGradient":0,
"grid":{},
"gridPos":{
"h":13,
"w":12,
"x":0,
"y":33
},
"height":"300",
"hiddenSeries":false,
"id":28239,
"interval":"$inter",
"legend":{
"alignAsTable":true,
"avg":true,
"current":true,
"hideEmpty":true,
"hideZero":true,
"max":true,
"min":true,
"rightSide":false,
"show":true,
"sort":"current",
"sortDesc":true,
"total":false,
"values":true
},
"lines":true,
"linewidth":2,
"links":[],
"nullPointMode":"connected",
"options":{
"alertThreshold":true
},
"percentage":false,
"pluginVersion":"9.2.3",
"pointradius":5,
"points":false,
"renderer":"flot",
"seriesOverrides":[],
"spaceLength":10,
"stack":false,
"steppedLine":false,
"targets":[
{
"alias":"$tag_host: $col",
"datasource":{
"type":"influxdb",
"uid":"${DS_INFLUXDB}"
},
"dsType":"influxdb",
"function":"mean",
"groupBy":[
{
"interval":"auto",
"params":[
"auto"
],
"type":"time"
},
{
"key":"host",
"params":[
"tag"
],
"type":"tag"
}
],
"hide":false,
"measurement":"cpu_percentageBusy",
"orderByTime":"ASC",
"policy":"default",
"query":"SELECT mean(usage_user) as \"user\", mean(usage_system) as \"system\", mean(usage_softirq) as \"softirq\", mean(usage_steal) as \"steal\", mean(usage_nice) as \"nice\", mean(usage_irq) as \"irq\", mean(usage_iowait) as \"iowait\", mean(usage_guest) as \"guest\", mean(usage_guest_nice) as \"guest_nice\" FROM \"cpu\" WHERE \"host\" =~ /$server$/ and cpu = 'cpu-total' AND $timeFilter GROUP BY time($interval), *",
"rawQuery":true,
"refId":"B",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"value"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[]
}
],
"thresholds":[],
"timeRegions":[],
"title":"CPU usage",
"tooltip":{
"msResolution":false,
"shared":true,
"sort":0,
"value_type":"cumulative"
},
"type":"graph",
"xaxis":{
"mode":"time",
"show":true,
"values":[]
},
"yaxes":[
{
"$$hashKey":"object:128",
"format":"percent",
"label":"CPU Usage %",
"logBase":1,
"max":100,
"min":0,
"show":true
},
{
"$$hashKey":"object:129",
"format":"short",
"logBase":1,
"show":true
}
],
"yaxis":{
"align":false
}
},
{
"aliasColors":{},
"bars":true,
"dashLength":10,
"dashes":false,
"datasource":{
"type":"influxdb",
"uid":"${DS_INFLUXDB}"
},
"editable":true,
"error":false,
"fill":1,
"fillGradient":0,
"grid":{},
"gridPos":{
"h":13,
"w":12,
"x":12,
"y":33
},
"hiddenSeries":false,
"id":28572,
"interval":"$inter",
"legend":{
"alignAsTable":true,
"avg":true,
"current":true,
"max":true,
"min":false,
"rightSide":false,
"show":true,
"total":false,
"values":true
},
"lines":false,
"linewidth":1,
"links":[],
"nullPointMode":"connected",
"options":{
"alertThreshold":true
},
"percentage":false,
"pluginVersion":"9.2.3",
"pointradius":5,
"points":false,
"renderer":"flot",
"seriesOverrides":[
{
"alias":"/ in$/",
"transform":"negative-Y"
}
],
"spaceLength":10,
"stack":false,
"steppedLine":false,
"targets":[
{
"alias":"$tag_host: $tag_interface: $col",
"datasource":{
"type":"influxdb",
"uid":"${DS_INFLUXDB}"
},
"dsType":"influxdb",
"function":"derivative",
"groupBy":[
{
"interval":"auto",
"params":[
"auto"
],
"type":"time"
},
{
"key":"host",
"params":[
"tag"
],
"type":"tag"
},
{
"key":"interface",
"params":[
"tag"
],
"type":"tag"
}
],
"measurement":"net_bytes_recv",
"orderByTime":"ASC",
"policy":"default",
"query":"SELECT non_negative_derivative(mean(packets_recv), 1s) as \"in\" FROM \"net\" WHERE host =~ /$server/ AND interface =~ /$netif/ AND $timeFilter GROUP BY time($interval), * fill(none)",
"rawQuery":true,
"refId":"A",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"value"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[]
},
{
"alias":"$tag_host: $tag_interface: $col",
"datasource":{
"type":"influxdb",
"uid":"${DS_INFLUXDB}"
},
"dsType":"influxdb",
"function":"derivative",
"groupBy":[
{
"interval":"auto",
"params":[
"auto"
],
"type":"time"
},
{
"key":"host",
"params":[
"tag"
],
"type":"tag"
},
{
"key":"interface",
"params":[
"tag"
],
"type":"tag"
}
],
"measurement":"net_bytes_recv",
"orderByTime":"ASC",
"policy":"default",
"query":"SELECT non_negative_derivative(mean(packets_sent), 1s) as \"out\" FROM \"net\" WHERE host =~ /$server/ AND interface =~ /$netif/ AND $timeFilter GROUP BY time($interval), * fill(none)",
"rawQuery":true,
"refId":"B",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"value"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[]
}
],
"thresholds":[],
"timeRegions":[],
"title":"Network Packets",
"tooltip":{
"msResolution":false,
"shared":true,
"sort":0,
"value_type":"cumulative"
},
"type":"graph",
"xaxis":{
"mode":"time",
"show":true,
"values":[]
},
"yaxes":[
{
"$$hashKey":"object:875",
"format":"pps",
"label":"",
"logBase":1,
"show":true
},
{
"$$hashKey":"object:876",
"format":"short",
"logBase":1,
"show":true
}
],
"yaxis":{
"align":false
}
},
{
"aliasColors":{},
"bars":false,
"dashLength":10,
"dashes":false,
"datasource":{
"type":"influxdb",
"uid":"${DS_INFLUXDB}"
},
"editable":true,
"error":false,
"fieldConfig":{
"defaults":{
"links":[]
},
"overrides":[]
},
"fill":1,
"fillGradient":0,
"gridPos":{
"h":13,
"w":12,
"x":0,
"y":46
},
"height":"",
"hiddenSeries":false,
"id":61960,
"legend":{
"alignAsTable":true,
"avg":true,
"current":true,
"max":true,
"min":true,
"rightSide":false,
"show":true,
"total":false,
"values":true
},
"lines":true,
"linewidth":1,
"links":[],
"nullPointMode":"connected",
"options":{
"alertThreshold":true
},
"percentage":false,
"pluginVersion":"9.2.3",
"pointradius":5,
"points":false,
"renderer":"flot",
"seriesOverrides":[],
"spaceLength":10,
"stack":false,
"steppedLine":false,
"targets":[
{
"alias":"$tag_host: $col",
"datasource":{
"type":"influxdb",
"uid":"${DS_INFLUXDB}"
},
"dsType":"influxdb",
"groupBy":[
{
"params":[
"$interval"
],
"type":"time"
},
{
"params":[
"null"
],
"type":"fill"
}
],
"measurement":"kernel",
"orderByTime":"ASC",
"policy":"default",
"query":"SELECT non_negative_derivative(mean(processes_forked),1s) as forks FROM \"kernel\" WHERE \"host\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval), host fill(null)",
"rawQuery":true,
"refId":"B",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"processes_forked"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[
{
"key":"host",
"operator":"=~",
"value":"/^$server$/"
}
]
}
],
"thresholds":[],
"timeRegions":[],
"title":"Forks",
"tooltip":{
"msResolution":false,
"shared":true,
"sort":0,
"value_type":"individual"
},
"type":"graph",
"xaxis":{
"mode":"time",
"show":true,
"values":[]
},
"yaxes":[
{
"format":"ops",
"logBase":1,
"show":true
},
{
"format":"short",
"logBase":1,
"show":true
}
],
"yaxis":{
"align":false
}
},
{
"aliasColors":{},
"bars":false,
"dashLength":10,
"dashes":false,
"datasource":{
"type":"influxdb",
"uid":"${DS_INFLUXDB}"
},
"editable":true,
"error":false,
"fieldConfig":{
"defaults":{
"links":[]
},
"overrides":[]
},
"fill":2,
"fillGradient":5,
"grid":{},
"gridPos":{
"h":13,
"w":12,
"x":12,
"y":46
},
"height":"350",
"hiddenSeries":false,
"id":54694,
"interval":"$inter",
"legend":{
"alignAsTable":true,
"avg":true,
"current":true,
"max":true,
"min":true,
"show":true,
"total":false,
"values":true
},
"lines":true,
"linewidth":2,
"links":[],
"nullPointMode":"connected",
"options":{
"alertThreshold":true
},
"percentage":false,
"pluginVersion":"9.2.3",
"pointradius":5,
"points":false,
"renderer":"flot",
"seriesOverrides":[],
"spaceLength":10,
"stack":false,
"steppedLine":false,
"targets":[
{
"alias":"$tag_host: $col",
"datasource":{
"type":"influxdb",
"uid":"${DS_INFLUXDB}"
},
"dsType":"influxdb",
"function":"mean",
"groupBy":[
{
"interval":"auto",
"params":[
"auto"
],
"type":"time"
},
{
"key":"host",
"params":[
"tag"
],
"type":"tag"
}
],
"measurement":"system_load1",
"orderByTime":"ASC",
"policy":"default",
"query":"SELECT mean(load1) as short,mean(load5) as medium,mean(load15) as long FROM \"system\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), * ORDER BY asc",
"rawQuery":true,
"refId":"A",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"value"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[]
}
],
"thresholds":[],
"timeRegions":[],
"title":"Load averages",
"tooltip":{
"msResolution":false,
"shared":true,
"sort":0,
"value_type":"cumulative"
},
"type":"graph",
"xaxis":{
"mode":"time",
"show":true,
"values":[]
},
"yaxes":[
{
"$$hashKey":"object:228",
"format":"short",
"logBase":1,
"min":0,
"show":true
},
{
"$$hashKey":"object:229",
"format":"short",
"logBase":1,
"show":true
}
],
"yaxis":{
"align":false
}
},
{
"aliasColors":{},
"bars":false,
"dashLength":10,
"dashes":false,
"datasource":{
"type":"influxdb",
"uid":"${DS_INFLUXDB}"
},
"editable":true,
"error":false,
"fieldConfig":{
"defaults":{
"links":[]
},
"overrides":[]
},
"fill":1,
"fillGradient":0,
"gridPos":{
"h":10,
"w":24,
"x":0,
"y":59
},
"height":"",
"hiddenSeries":false,
"id":61855,
"legend":{
"alignAsTable":true,
"avg":true,
"current":true,
"max":true,
"min":true,
"rightSide":false,
"show":true,
"total":false,
"values":true
},
"lines":true,
"linewidth":1,
"links":[],
"nullPointMode":"connected",
"options":{
"alertThreshold":true
},
"percentage":false,
"pluginVersion":"9.2.3",
"pointradius":5,
"points":false,
"renderer":"flot",
"seriesOverrides":[],
"spaceLength":10,
"stack":false,
"steppedLine":false,
"targets":[
{
"alias":"$tag_host: $col",
"datasource":{
"type":"influxdb",
"uid":"${DS_INFLUXDB}"
},
"dsType":"influxdb",
"groupBy":[
{
"params":[
"$interval"
],
"type":"time"
},
{
"params":[
"null"
],
"type":"fill"
}
],
"measurement":"processes",
"orderByTime":"ASC",
"policy":"default",
"query":"SELECT non_negative_derivative(mean(context_switches),1s)as \"context switches\" FROM \"kernel\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc",
"rawQuery":true,
"refId":"B",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"blocked"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[
{
"key":"host",
"operator":"=~",
"value":"/^$server$/"
}
]
}
],
"thresholds":[],
"timeRegions":[],
"title":"Context switches",
"tooltip":{
"msResolution":false,
"shared":true,
"sort":0,
"value_type":"individual"
},
"type":"graph",
"xaxis":{
"mode":"time",
"show":true,
"values":[]
},
"yaxes":[
{
"format":"ops",
"logBase":1,
"show":true
},
{
"format":"short",
"logBase":1,
"show":true
}
],
"yaxis":{
"align":false
}
},
{
"collapsed":false,
"datasource":{
"type":"influxdb",
"uid":"8zXyAXzRz"
},
"gridPos":{
"h":1,
"w":24,
"x":0,
"y":69
},
"id":63558,
"panels":[],
"title":"Other",
"type":"row"
}
],
"refresh":"15m",
"schemaVersion":37,
"style":"dark",
"tags":[
"influxdb",
"telegraf"
],
"templating":{
"list":[
{
"allFormat":"glob",
"current":{
"selected":false,
"text":"default",
"value":"default"
},
"datasource":"InfluxDB telegraf",
"hide":0,
"includeAll":false,
"label":"",
"multi":false,
"name":"datasource",
"options":[],
"query":"influxdb",
"queryValue":"",
"refresh":1,
"regex":"",
"skipUrlSync":false,
"type":"datasource"
},
{
"auto":true,
"auto_count":100,
"auto_min":"30s",
"current":{
"selected":false,
"text":"30s",
"value":"30s"
},
"hide":0,
"includeAll":false,
"label":"Sampling",
"multi":false,
"name":"inter",
"options":[
{
"selected":false,
"text":"auto",
"value":"$__auto_interval_inter"
},
{
"selected":false,
"text":"10s",
"value":"10s"
},
{
"selected":true,
"text":"30s",
"value":"30s"
},
{
"selected":false,
"text":"1m",
"value":"1m"
},
{
"selected":false,
"text":"2m",
"value":"2m"
},
{
"selected":false,
"text":"5m",
"value":"5m"
},
{
"selected":false,
"text":"10m",
"value":"10m"
},
{
"selected":false,
"text":"30m",
"value":"30m"
},
{
"selected":false,
"text":"1h",
"value":"1h"
}
],
"query":"10s,30s,1m,2m,5m,10m,30m,1h",
"queryValue":"",
"refresh":2,
"skipUrlSync":false,
"type":"interval"
},
{
"current":{},
"datasource":{
"type":"influxdb",
"uid":"${DS_INFLUXDB}"
},
"definition":"",
"hide":0,
"includeAll":false,
"label":"Server",
"multi":false,
"name":"server",
"options":[],
"query":"SHOW TAG VALUES FROM system WITH KEY=host",
"refresh":1,
"regex":"",
"skipUrlSync":false,
"sort":0,
"tagValuesQuery":"",
"tagsQuery":"",
"type":"query",
"useTags":false
},
{
"current":{},
"datasource":{
"uid":"$datasource"
},
"definition":"",
"hide":0,
"includeAll":true,
"label":"Mountpoint",
"multi":true,
"name":"mountpoint",
"options":[],
"query":"SHOW TAG VALUES FROM \"disk\" WITH KEY = \"path\" WHERE host =~ /$server/",
"refresh":1,
"regex":"",
"skipUrlSync":false,
"sort":0,
"tagValuesQuery":"",
"tagsQuery":"",
"type":"query",
"useTags":false
},
{
"current":{},
"datasource":{
"uid":"$datasource"
},
"definition":"",
"hide":0,
"includeAll":true,
"label":"CPU",
"multi":true,
"name":"cpu",
"options":[],
"query":"SHOW TAG VALUES FROM \"cpu\" WITH KEY = \"cpu\" WHERE host =~ /$server/",
"refresh":1,
"regex":"/cpu[0-9]/",
"skipUrlSync":false,
"sort":1,
"tagValuesQuery":"",
"tagsQuery":"",
"type":"query",
"useTags":false
},
{
"current":{},
"datasource":{
"uid":"$datasource"
},
"definition":"",
"hide":0,
"includeAll":true,
"label":"Disk",
"multi":true,
"name":"disk",
"options":[],
"query":"SHOW TAG VALUES FROM \"diskio\" WITH KEY = \"name\" WHERE host =~ /$server/",
"refresh":1,
"regex":"/[a-z]d[\\D]$/",
"skipUrlSync":false,
"sort":0,
"tagValuesQuery":"",
"tagsQuery":"",
"type":"query",
"useTags":false
},
{
"current":{},
"datasource":{
"uid":"$datasource"
},
"definition":"",
"hide":0,
"includeAll":true,
"label":"Network interface",
"multi":true,
"name":"netif",
"options":[],
"query":"SHOW TAG VALUES FROM \"net\" WITH KEY = \"interface\" WHERE host =~ /$server/",