glances/conf/glances-grafana-influxql.json

2821 lines
66 KiB
JSON
Raw Normal View History

2015-03-15 21:16:58 +03:00
{
2018-04-03 22:47:15 +03:00
"__inputs": [
{
"name": "DS_GLANCES",
"label": "glances",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
2024-05-16 16:44:51 +03:00
},
{
"name": "DS_LSAT1",
"label": "lsat1",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
2018-04-03 22:47:15 +03:00
}
],
2024-05-16 16:44:51 +03:00
"__elements": {},
2018-04-03 22:47:15 +03:00
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
2024-05-16 16:44:51 +03:00
"version": "10.4.1"
2018-04-03 22:47:15 +03:00
},
{
"type": "datasource",
"id": "influxdb",
"name": "InfluxDB",
"version": "1.0.0"
2018-04-03 22:47:15 +03:00
},
{
"type": "panel",
2024-05-16 16:44:51 +03:00
"id": "stat",
"name": "Stat",
"version": ""
2018-04-03 22:47:15 +03:00
},
{
"type": "panel",
"id": "text",
"name": "Text",
"version": ""
2024-05-16 16:44:51 +03:00
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
2018-04-03 22:47:15 +03:00
}
],
2017-10-25 11:01:33 +03:00
"annotations": {
"list": [
{
"builtIn": 1,
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "datasource",
"uid": "grafana"
},
2017-10-25 11:01:33 +03:00
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
2024-05-16 16:44:51 +03:00
"fiscalYearStartMonth": 0,
2017-10-25 11:01:33 +03:00
"graphTooltip": 0,
2018-04-03 22:47:15 +03:00
"id": null,
2017-10-25 11:01:33 +03:00
"links": [],
2018-04-02 22:54:47 +03:00
"panels": [
2017-10-25 11:01:33 +03:00
{
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
"fieldConfig": {
2024-05-16 16:44:51 +03:00
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
2018-04-02 22:54:47 +03:00
"gridPos": {
"h": 6,
"w": 2,
"x": 0,
"y": 0
},
"id": 5,
"maxDataPoints": 100,
2024-05-16 16:44:51 +03:00
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
2018-04-02 22:54:47 +03:00
},
2024-05-16 16:44:51 +03:00
"pluginVersion": "10.4.1",
2018-04-02 22:54:47 +03:00
"targets": [
{
"column": "cpucore",
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
2018-04-02 22:54:47 +03:00
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2017-10-25 11:01:33 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
],
"type": "time"
2015-03-15 21:16:58 +03:00
}
],
"measurement": "load",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"cpucore\") FROM \"$host.load\" WHERE $timeFilter GROUP BY time($interval)",
2018-04-02 22:54:47 +03:00
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"cpucore"
],
"type": "field"
},
{
"params": [],
"type": "max"
2018-04-02 22:54:47 +03:00
}
]
2015-03-15 21:16:58 +03:00
],
2018-04-02 22:54:47 +03:00
"series": "load",
"tags": [
{
"key": "hostname",
"operator": "=~",
"value": "/^$host$/"
}
]
2018-04-02 22:54:47 +03:00
}
],
"title": "Core",
2024-05-16 16:44:51 +03:00
"type": "stat"
2018-04-02 22:54:47 +03:00
},
{
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
2018-04-02 22:54:47 +03:00
},
"fieldConfig": {
2024-05-16 16:44:51 +03:00
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "normal"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
2018-04-02 22:54:47 +03:00
"gridPos": {
"h": 6,
"w": 20,
"x": 2,
"y": 0
},
"id": 4,
"options": {
2024-05-16 16:44:51 +03:00
"legend": {
"calcs": [
"mean",
"max",
"min"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
2024-05-16 16:44:51 +03:00
"pluginVersion": "10.4.1",
2018-04-02 22:54:47 +03:00
"targets": [
{
"alias": "1min",
"column": "min1",
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
2018-04-02 22:54:47 +03:00
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2015-03-15 21:16:58 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
],
2018-04-02 22:54:47 +03:00
"type": "time"
},
{
"params": [
"none"
],
2018-04-02 22:54:47 +03:00
"type": "fill"
2017-06-04 13:27:03 +03:00
}
],
"measurement": "load",
2018-04-02 22:54:47 +03:00
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"min1\") FROM \"$host.load\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
2018-04-02 22:54:47 +03:00
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"min1"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
2017-06-04 13:27:03 +03:00
],
2018-04-02 22:54:47 +03:00
"series": "load",
"tags": [
{
"key": "hostname",
"operator": "=~",
"value": "/^$host$/"
}
],
2018-04-02 22:54:47 +03:00
"target": "randomWalk('random walk')"
2017-06-04 13:27:03 +03:00
},
{
2018-04-02 22:54:47 +03:00
"alias": "5mins",
"column": "min5",
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
2018-04-02 22:54:47 +03:00
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2017-06-04 13:27:03 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
],
2018-04-02 22:54:47 +03:00
"type": "time"
2015-03-15 21:16:58 +03:00
},
{
2018-04-02 22:54:47 +03:00
"params": [
"none"
],
2018-04-02 22:54:47 +03:00
"type": "fill"
2015-03-15 21:16:58 +03:00
}
],
"measurement": "load",
2018-04-02 22:54:47 +03:00
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"min5\") FROM \"$host.load\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
2018-04-02 22:54:47 +03:00
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"min5"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"series": "load",
"tags": [
{
"key": "hostname",
"operator": "=~",
"value": "/^$host$/"
}
],
2018-04-02 22:54:47 +03:00
"target": ""
2015-03-20 15:03:01 +03:00
},
{
2018-04-02 22:54:47 +03:00
"alias": "15mins",
"column": "min15",
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
2018-04-02 22:54:47 +03:00
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2015-03-20 15:03:01 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
],
"type": "time"
2017-06-04 13:27:03 +03:00
},
{
2018-04-02 22:54:47 +03:00
"params": [
"none"
],
"type": "fill"
2015-03-20 15:03:01 +03:00
}
],
"measurement": "load",
2018-04-02 22:54:47 +03:00
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"min15\") FROM \"$host.load\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
2018-04-02 22:54:47 +03:00
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"min15"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
2015-03-20 15:03:01 +03:00
],
2018-04-02 22:54:47 +03:00
"series": "load",
"tags": [
{
"key": "hostname",
"operator": "=~",
"value": "/^$host$/"
}
],
2018-04-02 22:54:47 +03:00
"target": ""
}
],
"title": "Load",
2024-05-16 16:44:51 +03:00
"type": "timeseries"
2018-04-02 22:54:47 +03:00
},
{
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
"fieldConfig": {
2024-05-16 16:44:51 +03:00
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
2018-04-02 22:54:47 +03:00
"gridPos": {
"h": 6,
"w": 2,
"x": 22,
"y": 0
},
"id": 18,
"maxDataPoints": 100,
2024-05-16 16:44:51 +03:00
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
2018-04-02 22:54:47 +03:00
},
2024-05-16 16:44:51 +03:00
"pluginVersion": "10.4.1",
2018-04-02 22:54:47 +03:00
"targets": [
{
"column": "total",
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
2018-04-02 22:54:47 +03:00
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2015-03-15 21:16:58 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"$__interval"
2017-10-25 11:01:33 +03:00
],
2018-04-02 22:54:47 +03:00
"type": "time"
2017-06-04 13:27:03 +03:00
}
],
"measurement": "processcount",
2018-04-02 22:54:47 +03:00
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"total\") FROM \"$host.processcount\" WHERE $timeFilter GROUP BY time($interval)",
2018-04-02 22:54:47 +03:00
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"total"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
2017-06-04 13:27:03 +03:00
],
2018-04-02 22:54:47 +03:00
"series": "processcount",
"tags": [
{
"key": "hostname",
"operator": "=~",
"value": "/^$host$/"
}
]
2017-06-04 13:27:03 +03:00
}
],
2018-04-02 22:54:47 +03:00
"title": "Processes",
2024-05-16 16:44:51 +03:00
"type": "stat"
2017-10-25 11:01:33 +03:00
},
2017-06-04 13:27:03 +03:00
{
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
"fieldConfig": {
2024-05-16 16:44:51 +03:00
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
2018-04-02 22:54:47 +03:00
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 6
},
"id": 6,
"options": {
2024-05-16 16:44:51 +03:00
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
2024-05-16 16:44:51 +03:00
"pluginVersion": "10.4.1",
2018-04-02 22:54:47 +03:00
"targets": [
{
"alias": "User",
"column": "user",
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
2018-04-02 22:54:47 +03:00
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2015-03-15 21:16:58 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
],
2018-04-02 22:54:47 +03:00
"type": "time"
2015-03-20 15:03:01 +03:00
},
{
2018-04-02 22:54:47 +03:00
"params": [
"none"
2017-10-25 11:01:33 +03:00
],
2018-04-02 22:54:47 +03:00
"type": "fill"
2015-03-15 21:16:58 +03:00
}
],
"measurement": "cpu",
2018-04-02 22:54:47 +03:00
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"user\") FROM \"$host.cpu\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
2018-04-02 22:54:47 +03:00
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"user"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"series": "cpu",
"tags": [
{
"key": "hostname",
"operator": "=~",
"value": "/^$host$/"
}
]
},
{
2018-04-02 22:54:47 +03:00
"alias": "System",
"column": "system",
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
2018-04-02 22:54:47 +03:00
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2015-03-15 21:16:58 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
2017-10-25 11:01:33 +03:00
],
2018-04-02 22:54:47 +03:00
"type": "time"
2015-03-15 21:16:58 +03:00
},
{
2018-04-02 22:54:47 +03:00
"params": [
"none"
2017-10-25 11:01:33 +03:00
],
2018-04-02 22:54:47 +03:00
"type": "fill"
2015-03-15 21:16:58 +03:00
}
],
"measurement": "cpu",
2018-04-02 22:54:47 +03:00
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"system\") FROM \"$host.cpu\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
2018-04-02 22:54:47 +03:00
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"system"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"series": "cpu",
"tags": [
{
"key": "hostname",
"operator": "=~",
"value": "/^$host$/"
}
],
2018-04-02 22:54:47 +03:00
"target": ""
},
{
"alias": "IoWait",
"column": "iowait",
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
2018-04-02 22:54:47 +03:00
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2017-10-25 11:01:33 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
],
"type": "time"
2017-10-25 11:01:33 +03:00
},
{
2018-04-02 22:54:47 +03:00
"params": [
"none"
],
"type": "fill"
2017-10-25 11:01:33 +03:00
}
2018-04-02 22:54:47 +03:00
],
"measurement": "cpu",
2018-04-02 22:54:47 +03:00
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"iowait\") FROM \"$host.cpu\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
2018-04-02 22:54:47 +03:00
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"iowait"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"series": "cpu",
"tags": [
{
"key": "hostname",
"operator": "=~",
"value": "/^$host$/"
}
],
2018-04-02 22:54:47 +03:00
"target": ""
2015-03-15 21:16:58 +03:00
}
],
2018-04-02 22:54:47 +03:00
"title": "CPU (%)",
2024-05-16 16:44:51 +03:00
"type": "timeseries"
2015-03-15 21:16:58 +03:00
},
{
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
2018-04-02 22:54:47 +03:00
},
"fieldConfig": {
2024-05-16 16:44:51 +03:00
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Max"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#BF1B00",
"mode": "fixed"
}
}
]
}
]
},
2018-04-02 22:54:47 +03:00
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 6
},
"id": 7,
"options": {
2024-05-16 16:44:51 +03:00
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
2024-05-16 16:44:51 +03:00
"pluginVersion": "10.4.1",
2018-04-02 22:54:47 +03:00
"targets": [
{
"alias": "Used",
"column": "used",
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
2018-04-02 22:54:47 +03:00
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2015-03-15 21:16:58 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"none"
],
"type": "fill"
2017-06-04 13:27:03 +03:00
}
],
"measurement": "mem",
2018-04-02 22:54:47 +03:00
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"used\") FROM \"mem\" WHERE (\"hostname\" =~ /^$host$/) AND $timeFilter GROUP BY time($__interval) fill(none)",
"rawQuery": false,
2018-04-02 22:54:47 +03:00
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"used"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"series": "mem",
"tags": [
{
"key": "hostname",
"operator": "=~",
"value": "/^$host$/"
}
]
2018-04-02 22:54:47 +03:00
},
{
"alias": "Max",
"column": "total",
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
2018-04-02 22:54:47 +03:00
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2017-06-04 13:27:03 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"$__interval"
],
2018-04-02 22:54:47 +03:00
"type": "time"
},
{
"params": [
"none"
],
"type": "fill"
2015-03-15 21:16:58 +03:00
}
],
"measurement": "mem",
2018-04-02 22:54:47 +03:00
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"total\") FROM \"mem\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
"rawQuery": false,
2018-04-02 22:54:47 +03:00
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"total"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"series": "mem",
"tags": [
{
"key": "hostname",
"operator": "=~",
"value": "/^$host$/"
}
],
2018-04-02 22:54:47 +03:00
"target": ""
}
],
"title": "MEM",
2024-05-16 16:44:51 +03:00
"type": "timeseries"
2018-04-02 22:54:47 +03:00
},
{
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
"fieldConfig": {
2024-05-16 16:44:51 +03:00
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 30,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bps"
},
"overrides": []
},
2018-04-02 22:54:47 +03:00
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 13
},
"id": 9,
"options": {
2024-05-16 16:44:51 +03:00
"legend": {
"calcs": [
"mean",
"max",
"min"
],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
2018-04-02 22:54:47 +03:00
}
2024-05-16 16:44:51 +03:00
},
"pluginVersion": "10.4.1",
2018-04-02 22:54:47 +03:00
"targets": [
{
2018-09-01 13:39:52 +03:00
"alias": "In",
2018-04-02 22:54:47 +03:00
"column": "enp0s25.rx",
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
2018-04-02 22:54:47 +03:00
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2015-03-15 21:16:58 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
2017-10-25 11:01:33 +03:00
],
2018-04-02 22:54:47 +03:00
"type": "time"
2015-03-15 21:16:58 +03:00
},
{
2018-04-02 22:54:47 +03:00
"params": [
"null"
],
2018-04-02 22:54:47 +03:00
"type": "fill"
2015-03-15 21:16:58 +03:00
}
],
2018-04-02 22:54:47 +03:00
"interval": "",
"measurement": "$host.network",
2018-04-02 22:54:47 +03:00
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"rx\")/mean(\"time_since_update\")*8 FROM \"network\" WHERE (\"hostname\" =~ /^$host$/) AND (\"interface_name\" =~ /^$interface$/) AND $timeFilter GROUP BY time($interval) fill(none)",
2018-04-02 22:54:47 +03:00
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"eth0.rx"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"series": "network",
"tags": []
},
{
2018-09-01 13:39:52 +03:00
"alias": "Out",
2018-04-02 22:54:47 +03:00
"column": "eth0.tx*-1",
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
2018-04-02 22:54:47 +03:00
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2017-10-25 11:01:33 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
],
"type": "time"
2017-10-25 11:01:33 +03:00
},
{
2018-04-02 22:54:47 +03:00
"params": [
"null"
],
"type": "fill"
2017-10-25 11:01:33 +03:00
}
2018-04-02 22:54:47 +03:00
],
"measurement": "$host.network",
2018-04-02 22:54:47 +03:00
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"tx\")/mean(\"time_since_update\")*-8 FROM \"network\" WHERE (\"hostname\" =~ /^$host$/) AND (\"interface_name\" =~ /^$interface$/) AND $timeFilter GROUP BY time($interval) fill(none)",
2018-04-02 22:54:47 +03:00
"rawQuery": true,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"eth0.tx"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"series": "network",
"tags": [],
"target": ""
2015-03-15 21:16:58 +03:00
}
],
2018-04-02 22:54:47 +03:00
"title": "$interface network interface",
2024-05-16 16:44:51 +03:00
"type": "timeseries"
2015-03-15 22:38:48 +03:00
},
{
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
2018-04-02 22:54:47 +03:00
},
"fieldConfig": {
2024-05-16 16:44:51 +03:00
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Max"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#BF1B00",
"mode": "fixed"
}
}
]
}
]
},
2018-04-02 22:54:47 +03:00
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 13
},
"id": 8,
"options": {
2024-05-16 16:44:51 +03:00
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
2024-05-16 16:44:51 +03:00
"pluginVersion": "10.4.1",
2018-04-02 22:54:47 +03:00
"targets": [
{
"alias": "Used",
"column": "used",
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
2018-04-02 22:54:47 +03:00
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2015-03-15 22:38:48 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"$__interval"
2017-10-25 11:01:33 +03:00
],
2018-04-02 22:54:47 +03:00
"type": "time"
}
],
"measurement": "$host.memswap",
2018-04-02 22:54:47 +03:00
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"used\") FROM \"memswap\" WHERE (\"hostname\" =~ /^$host$/) AND $timeFilter GROUP BY time($__interval) fill(none)",
2018-04-02 22:54:47 +03:00
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"used"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"series": "memswap",
"tags": []
},
{
"alias": "Max",
"column": "total",
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
2018-04-02 22:54:47 +03:00
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2017-10-25 11:01:33 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"$__interval"
],
"type": "time"
2017-10-25 11:01:33 +03:00
}
2018-04-02 22:54:47 +03:00
],
"measurement": "$host.memswap",
2018-04-02 22:54:47 +03:00
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"total\") FROM \"memswap\" WHERE (\"hostname\" =~ /^$host$/) AND $timeFilter GROUP BY time($__interval) fill(none)",
2018-04-02 22:54:47 +03:00
"rawQuery": true,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"total"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"series": "memswap",
"tags": [],
"target": ""
}
],
"title": "SWAP",
2024-05-16 16:44:51 +03:00
"type": "timeseries"
2018-04-02 22:54:47 +03:00
},
{
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
"fieldConfig": {
2024-05-16 16:44:51 +03:00
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
2018-04-02 22:54:47 +03:00
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 20
},
"id": 10,
"options": {
2024-05-16 16:44:51 +03:00
"legend": {
"calcs": [
"mean",
"max",
"min"
],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
2018-09-01 13:39:52 +03:00
}
2024-05-16 16:44:51 +03:00
},
"pluginVersion": "10.4.1",
2018-04-02 22:54:47 +03:00
"targets": [
{
"alias": "Read",
"column": "sda2.read_bytes",
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
2018-04-02 22:54:47 +03:00
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2015-03-15 22:38:48 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
2017-10-25 11:01:33 +03:00
],
2018-04-02 22:54:47 +03:00
"type": "time"
2015-03-15 22:38:48 +03:00
},
{
2018-04-02 22:54:47 +03:00
"params": [
"none"
],
2018-04-02 22:54:47 +03:00
"type": "fill"
2015-03-15 22:38:48 +03:00
}
],
"measurement": "$host.diskio",
2018-04-02 22:54:47 +03:00
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"read_bytes\")/mean(\"time_since_update\") FROM \"diskio\" WHERE (\"hostname\" =~ /^$host$/) AND (\"disk_name\" =~ /^$disk$/) AND $timeFilter GROUP BY time($__interval) fill(none)",
2018-04-02 22:54:47 +03:00
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"sda2.read_bytes"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"series": "diskio",
"tags": []
2015-03-20 15:03:01 +03:00
},
{
2018-04-02 22:54:47 +03:00
"alias": "Write",
"column": "sda2.write_bytes",
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
2018-04-02 22:54:47 +03:00
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2015-03-20 15:03:01 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
],
"type": "time"
2017-06-04 13:27:03 +03:00
},
{
2018-04-02 22:54:47 +03:00
"params": [
"none"
],
"type": "fill"
2015-03-20 15:03:01 +03:00
}
],
"measurement": "$host.diskio",
2018-04-02 22:54:47 +03:00
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"write_bytes\")/mean(\"time_since_update\") FROM \"diskio\" WHERE (\"hostname\" =~ /^$host$/) AND (\"disk_name\" =~ /^$disk$/) AND $timeFilter GROUP BY time($__interval) fill(none)",
2018-04-02 22:54:47 +03:00
"rawQuery": true,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"sda2.write_bytes"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
2015-03-20 15:03:01 +03:00
],
2018-04-02 22:54:47 +03:00
"series": "diskio",
"tags": [],
"target": ""
}
],
"title": "$disk disk IO",
2024-05-16 16:44:51 +03:00
"type": "timeseries"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
2018-04-02 22:54:47 +03:00
},
"fieldConfig": {
2024-05-16 16:44:51 +03:00
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 3,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Max"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#BF1B00",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Used"
},
"properties": [
{
"id": "custom.fillOpacity",
"value": 100
},
{
"id": "custom.fillOpacity",
"value": 80
}
]
}
]
},
2018-04-02 22:54:47 +03:00
"gridPos": {
"h": 7,
"w": 8,
"x": 12,
"y": 20
},
"id": 11,
"options": {
2024-05-16 16:44:51 +03:00
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
2018-09-01 13:39:52 +03:00
}
2024-05-16 16:44:51 +03:00
},
"pluginVersion": "10.4.1",
2018-04-02 22:54:47 +03:00
"targets": [
{
"alias": "Used",
"column": "\"/.used\"",
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
2018-04-02 22:54:47 +03:00
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2015-03-20 15:03:01 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"$__interval"
],
2018-04-02 22:54:47 +03:00
"type": "time"
},
{
"params": [
"none"
],
2018-04-02 22:54:47 +03:00
"type": "fill"
2015-03-20 15:03:01 +03:00
}
],
"measurement": "fs",
2018-04-02 22:54:47 +03:00
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"/.used\") FROM \"$host.fs\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
2018-04-02 22:54:47 +03:00
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"used"
2018-04-02 22:54:47 +03:00
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
2017-06-04 13:27:03 +03:00
],
2018-04-02 22:54:47 +03:00
"series": "fs",
"tags": [
{
"key": "mnt_point",
"operator": "=",
"value": "/"
},
{
"condition": "AND",
"key": "hostname",
"operator": "=~",
"value": "/^$host$/"
}
]
2017-06-04 13:27:03 +03:00
},
{
2018-04-02 22:54:47 +03:00
"alias": "Max",
"column": "\"/.size\"",
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
2018-04-02 22:54:47 +03:00
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2017-06-04 13:27:03 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"$__interval"
],
"type": "time"
2017-06-04 13:27:03 +03:00
},
2015-03-20 15:03:01 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"none"
],
"type": "fill"
2015-03-20 15:03:01 +03:00
}
],
"measurement": "fs",
2018-04-02 22:54:47 +03:00
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"/.size\") FROM \"$host.fs\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
2018-04-02 22:54:47 +03:00
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"size"
2018-04-02 22:54:47 +03:00
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
2017-06-04 13:27:03 +03:00
],
2018-04-02 22:54:47 +03:00
"series": "fs",
"tags": [
{
"key": "mnt_point",
"operator": "=",
"value": "/"
},
{
"condition": "AND",
"key": "hostname",
"operator": "=~",
"value": "/^$host$/"
}
],
2018-04-02 22:54:47 +03:00
"target": ""
}
],
"title": "/ Size",
2024-05-16 16:44:51 +03:00
"type": "timeseries"
2018-04-02 22:54:47 +03:00
},
{
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
"fieldConfig": {
2024-05-16 16:44:51 +03:00
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgba(71, 212, 59, 0.4)",
"value": null
},
{
"color": "rgba(245, 150, 40, 0.73)",
"value": 70
},
{
"color": "rgba(225, 40, 40, 0.59)",
"value": 90
}
]
},
"unit": "percent"
},
"overrides": []
},
2018-04-02 22:54:47 +03:00
"gridPos": {
"h": 7,
"w": 2,
"x": 20,
"y": 20
},
"id": 16,
"maxDataPoints": 100,
2024-05-16 16:44:51 +03:00
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
2018-04-02 22:54:47 +03:00
},
2024-05-16 16:44:51 +03:00
"pluginVersion": "10.4.1",
2018-04-02 22:54:47 +03:00
"targets": [
{
"column": "\"/.percent\"",
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
2018-04-02 22:54:47 +03:00
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2017-06-04 13:27:03 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
2017-10-25 11:01:33 +03:00
],
2018-04-02 22:54:47 +03:00
"type": "time"
2017-06-04 13:27:03 +03:00
}
],
"measurement": "fs",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"/.percent\") FROM \"$host.fs\" WHERE $timeFilter GROUP BY time($interval)",
2018-04-02 22:54:47 +03:00
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"percent"
2018-04-02 22:54:47 +03:00
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
2017-06-04 13:27:03 +03:00
],
2018-04-02 22:54:47 +03:00
"series": "fs",
"tags": [
{
"key": "mnt_point",
"operator": "=",
"value": "/"
},
{
"condition": "AND",
"key": "hostname",
"operator": "=~",
"value": "/^$host$/"
}
]
2017-06-04 13:27:03 +03:00
}
],
2018-04-02 22:54:47 +03:00
"title": "/ used",
2024-05-16 16:44:51 +03:00
"type": "stat"
2017-10-25 11:01:33 +03:00
},
{
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
"fieldConfig": {
2024-05-16 16:44:51 +03:00
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgba(71, 212, 59, 0.4)",
"value": null
},
{
"color": "rgba(245, 150, 40, 0.73)",
"value": 70
},
{
"color": "rgba(225, 40, 40, 0.59)",
"value": 90
}
]
},
"unit": "percent"
},
"overrides": []
},
2018-04-02 22:54:47 +03:00
"gridPos": {
"h": 7,
"w": 2,
"x": 22,
"y": 20
},
"id": 17,
"maxDataPoints": 100,
2024-05-16 16:44:51 +03:00
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
2018-04-02 22:54:47 +03:00
},
2024-05-16 16:44:51 +03:00
"pluginVersion": "10.4.1",
2018-04-02 22:54:47 +03:00
"targets": [
{
"column": "\"/home.percent\"",
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
2018-04-02 22:54:47 +03:00
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2017-10-25 11:01:33 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
],
"type": "time"
2015-03-20 15:03:01 +03:00
}
],
"measurement": "fs",
2018-04-02 22:54:47 +03:00
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"percent\") FROM \"fs\" WHERE (\"hostname\" =~ /^$host$/) AND (\"mnt_point\" = '/boot') AND $timeFilter GROUP BY time($__interval)",
"rawQuery": true,
2018-04-02 22:54:47 +03:00
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"percent"
2018-04-02 22:54:47 +03:00
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"series": "fs",
"tags": [
{
"key": "mnt_point",
"operator": "=",
"value": "/boot"
}
]
2018-04-02 22:54:47 +03:00
}
],
"title": "/boot used",
2024-05-16 16:44:51 +03:00
"type": "stat"
2018-04-02 22:54:47 +03:00
},
{
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_LSAT1}"
},
2018-04-02 22:54:47 +03:00
"gridPos": {
"h": 3,
"w": 24,
"x": 0,
"y": 27
},
"id": 22,
"options": {
2024-05-16 16:44:51 +03:00
"code": {
"language": "plaintext",
"showLineNumbers": false,
"showMiniMap": false
},
"content": "",
"mode": "markdown"
},
2024-05-16 16:44:51 +03:00
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_LSAT1}"
},
"refId": "A"
}
],
"title": "Sensors",
2018-04-02 22:54:47 +03:00
"type": "text"
},
{
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
2018-04-02 22:54:47 +03:00
},
2024-05-16 16:44:51 +03:00
"description": "",
"fieldConfig": {
2024-05-16 16:44:51 +03:00
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
2017-10-25 11:01:33 +03:00
},
2024-05-16 16:44:51 +03:00
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
2017-06-04 13:27:03 +03:00
}
2024-05-16 16:44:51 +03:00
},
"fieldMinMax": false,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
2018-04-02 22:54:47 +03:00
{
2024-05-16 16:44:51 +03:00
"color": "green",
"value": null
2018-04-02 22:54:47 +03:00
},
{
2024-05-16 16:44:51 +03:00
"color": "red",
"value": 80
2018-04-02 22:54:47 +03:00
}
]
},
"unit": "celsius"
2024-05-16 16:44:51 +03:00
},
"overrides": []
},
2018-04-02 22:54:47 +03:00
"gridPos": {
"h": 6,
"w": 12,
2024-05-16 16:44:51 +03:00
"x": 0,
"y": 30
2018-04-02 22:54:47 +03:00
},
2024-05-16 16:44:51 +03:00
"id": 21,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
2018-04-02 22:54:47 +03:00
},
2024-05-16 16:44:51 +03:00
"pluginVersion": "10.4.1",
2018-04-02 22:54:47 +03:00
"targets": [
{
2024-05-16 16:44:51 +03:00
"alias": "$tag_label",
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
2018-04-02 22:54:47 +03:00
"dsType": "influxdb",
"groupBy": [
{
2018-04-02 22:54:47 +03:00
"params": [
"$__interval"
],
2018-04-02 22:54:47 +03:00
"type": "time"
},
2024-05-16 16:44:51 +03:00
{
"params": [
"label::tag"
],
"type": "tag"
},
2018-04-02 22:54:47 +03:00
{
"params": [
"null"
],
2018-04-02 22:54:47 +03:00
"type": "fill"
}
],
"measurement": "sensors",
2018-04-02 22:54:47 +03:00
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
2018-04-02 22:54:47 +03:00
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"condition": "AND",
"key": "hostname",
"operator": "=~",
"value": "/^$host$/"
2024-05-16 16:44:51 +03:00
},
{
"condition": "AND",
"key": "type",
"operator": "=~",
"value": "/^SensorType.CPU_TEMP$/"
}
]
}
],
"title": "CPU temperature",
"type": "timeseries"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"fieldMinMax": false,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "rotrpm"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 12,
"x": 12,
"y": 30
},
"id": 32,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "10.4.1",
"targets": [
{
"alias": "$tag_label",
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"label::tag"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "sensors",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"condition": "AND",
"key": "hostname",
"operator": "=~",
"value": "/^$host$/"
},
{
"condition": "AND",
"key": "type",
"operator": "=~",
"value": "/^SensorType.FAN_SPEED$/"
}
]
2017-06-04 13:27:03 +03:00
}
],
"title": "FAN speed",
2024-05-16 16:44:51 +03:00
"type": "timeseries"
2017-10-25 11:01:33 +03:00
},
2017-06-04 13:27:03 +03:00
{
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_LSAT1}"
},
"editable": true,
"error": false,
"gridPos": {
"h": 3,
"w": 24,
"x": 0,
"y": 36
2018-04-02 22:54:47 +03:00
},
"id": 13,
"options": {
2024-05-16 16:44:51 +03:00
"code": {
"language": "plaintext",
"showLineNumbers": false,
"showMiniMap": false
},
"content": "",
"mode": "markdown"
},
2024-05-16 16:44:51 +03:00
"pluginVersion": "10.4.1",
"style": {},
2024-05-16 16:44:51 +03:00
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_LSAT1}"
},
"refId": "A"
}
],
"title": "Containers",
"type": "text"
},
{
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
"fieldConfig": {
2024-05-16 16:44:51 +03:00
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "MEM"
},
"properties": [
{
"id": "unit",
"value": "decbytes"
}
]
2024-05-16 16:44:51 +03:00
},
{
"matcher": {
"id": "byName",
"options": "$host.docker.mean"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#ba43a9",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "CPU%"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#cca300",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "MEM"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#2f575e",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "MEM"
},
"properties": [
{
"id": "unit",
"value": "decbytes"
}
]
},
{
"matcher": {
"id": "byName",
"options": "MEM"
},
"properties": [
{
"id": "custom.fillOpacity",
"value": 100
},
{
"id": "custom.fillOpacity",
"value": 80
}
]
}
]
},
2018-04-02 22:54:47 +03:00
"gridPos": {
"h": 8,
2018-04-02 22:54:47 +03:00
"w": 24,
"x": 0,
"y": 39
2018-04-02 22:54:47 +03:00
},
"id": 25,
"options": {
2024-05-16 16:44:51 +03:00
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
2024-05-16 16:44:51 +03:00
"pluginVersion": "10.4.1",
"repeat": "container",
"repeatDirection": "v",
2018-04-02 22:54:47 +03:00
"targets": [
{
"alias": "CPU%",
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
2018-04-02 22:54:47 +03:00
"groupBy": [
{
2018-04-02 22:54:47 +03:00
"params": [
"$__interval"
],
2018-04-02 22:54:47 +03:00
"type": "time"
},
{
"params": [
"none"
],
2018-04-02 22:54:47 +03:00
"type": "fill"
}
],
"hide": false,
2024-05-16 16:44:51 +03:00
"measurement": "containers",
2018-04-02 22:54:47 +03:00
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"cpu_percent\") FROM \"$host.docker\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
"rawQuery": false,
2018-04-02 22:54:47 +03:00
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"cpu_percent"
2018-04-02 22:54:47 +03:00
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/^$container$/"
},
{
"condition": "AND",
"key": "hostname",
"operator": "=~",
"value": "/^$host$/"
}
]
},
{
"alias": "MEM",
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"hide": false,
2024-05-16 16:44:51 +03:00
"measurement": "containers",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"cpu_percent\") FROM \"$host.docker\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
"rawQuery": false,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"memory_usage"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/^$container$/"
},
{
"condition": "AND",
"key": "hostname",
"operator": "=~",
"value": "/^$host$/"
}
]
2015-03-15 22:38:48 +03:00
}
2015-03-15 21:16:58 +03:00
],
"title": "$container container",
2024-05-16 16:44:51 +03:00
"type": "timeseries"
2015-03-15 21:16:58 +03:00
}
],
2018-09-01 13:39:52 +03:00
"refresh": "5s",
2024-05-16 16:44:51 +03:00
"schemaVersion": 39,
2017-10-25 11:01:33 +03:00
"tags": [],
"templating": {
2018-04-02 22:54:47 +03:00
"list": [
{
2018-04-03 22:47:15 +03:00
"current": {},
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
"definition": "show tag values with key=\"hostname\"",
2018-04-02 22:54:47 +03:00
"hide": 0,
"includeAll": false,
2018-04-03 22:47:15 +03:00
"multi": false,
"name": "host",
"options": [],
"query": "show tag values with key=\"hostname\"",
2018-04-03 22:47:15 +03:00
"refresh": 1,
"regex": "",
"skipUrlSync": false,
2018-04-03 22:47:15 +03:00
"sort": 0,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {},
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
"definition": "show tag values with key=\"name\"",
2018-04-03 22:47:15 +03:00
"hide": 0,
"includeAll": true,
2018-04-02 22:54:47 +03:00
"multi": true,
"name": "container",
"options": [],
"query": "show tag values with key=\"name\"",
2018-04-02 22:54:47 +03:00
"refresh": 1,
"regex": "",
"skipUrlSync": false,
2018-04-02 22:54:47 +03:00
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
2018-04-03 22:47:15 +03:00
"current": {},
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
"definition": "show tag values with key=\"interface_name\"",
2018-04-02 22:54:47 +03:00
"hide": 0,
"includeAll": false,
"multi": false,
"name": "interface",
"options": [],
"query": "show tag values with key=\"interface_name\"",
2018-04-02 22:54:47 +03:00
"refresh": 1,
"regex": "",
"skipUrlSync": false,
2018-04-02 22:54:47 +03:00
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
2018-04-03 22:47:15 +03:00
"current": {},
2024-05-16 16:44:51 +03:00
"datasource": {
"type": "influxdb",
"uid": "${DS_GLANCES}"
},
"definition": "show tag values with key=\"disk_name\"",
2018-04-02 22:54:47 +03:00
"hide": 0,
"includeAll": false,
"multi": false,
"name": "disk",
"options": [],
"query": "show tag values with key=\"disk_name\"",
2018-04-02 22:54:47 +03:00
"refresh": 1,
"regex": "",
"skipUrlSync": false,
2018-04-02 22:54:47 +03:00
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
2017-10-25 11:01:33 +03:00
},
"time": {
"from": "now-1h",
2017-10-25 11:01:33 +03:00
"to": "now"
},
"timepicker": {
"collapse": false,
"enable": true,
"notice": false,
"now": true,
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"status": "Stable",
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
],
"type": "timepicker"
},
"timezone": "browser",
2018-09-01 13:39:52 +03:00
"title": "Glances",
2018-04-02 22:54:47 +03:00
"uid": "000000002",
"version": 5,
2024-05-16 16:44:51 +03:00
"weekStart": ""
}