Skip to content

Instantly share code, notes, and snippets.

@gilangvperdana
Created September 22, 2022 09:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gilangvperdana/b67d22bb7476795d0097e98dbcc7c60d to your computer and use it in GitHub Desktop.
Save gilangvperdana/b67d22bb7476795d0097e98dbcc7c60d to your computer and use it in GitHub Desktop.
Grafana NodeExporter Dashboard Template
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Monitor all on one Dashboard & Panel",
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 27,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 29,
"panels": [],
"title": "Cluster",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"0": {
"text": "Down"
},
"1": {
"text": "UP"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 0
},
{
"color": "green",
"value": 1
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "10.8.0.1"
},
"properties": [
{
"id": "displayName",
"value": "IDCH"
}
]
},
{
"matcher": {
"id": "byName",
"options": "192.168.10.2"
},
"properties": [
{
"id": "displayName",
"value": "HPE"
}
]
},
{
"matcher": {
"id": "byName",
"options": "192.168.10.3"
},
"properties": [
{
"id": "displayName",
"value": "IBM"
}
]
},
{
"matcher": {
"id": "byName",
"options": "192.168.10.4"
},
"properties": [
{
"id": "displayName",
"value": "LENOVO"
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 1
},
"id": 2,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "value_and_name"
},
"pluginVersion": "9.0.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"expr": "up{job=\"adaptive_node\"}",
"instant": false,
"interval": "",
"legendFormat": "{{instance}}",
"refId": "A"
}
],
"title": "VM Status",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "yellow",
"value": 75
},
{
"color": "red",
"value": 85
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "10.8.0.1"
},
"properties": [
{
"id": "displayName",
"value": "IDCH"
}
]
},
{
"matcher": {
"id": "byName",
"options": "192.168.10.2"
},
"properties": [
{
"id": "displayName",
"value": "HPE"
}
]
},
{
"matcher": {
"id": "byName",
"options": "192.168.10.3"
},
"properties": [
{
"id": "displayName",
"value": "IBM"
}
]
},
{
"matcher": {
"id": "byName",
"options": "192.168.10.4"
},
"properties": [
{
"id": "displayName",
"value": "LENOVO"
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 10,
"x": 0,
"y": 8
},
"id": 4,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true,
"text": {}
},
"pluginVersion": "9.0.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"expr": "100 - ((node_memory_MemAvailable_bytes{job=\"adaptive_node\"} * 100) / node_memory_MemTotal_bytes{job=\"adaptive_node\"})",
"interval": "",
"legendFormat": "{{instance}}",
"refId": "A"
}
],
"title": "Memory Utilization",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 70
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 6,
"x": 10,
"y": 8
},
"id": 13,
"options": {
"displayMode": "lcd",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showUnfilled": true,
"text": {}
},
"pluginVersion": "9.0.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"expr": "avg(node_memory_MemTotal_bytes{job=\"adaptive_node\", instance=\"10.8.0.1\"})",
"hide": false,
"interval": "",
"legendFormat": "IDCH",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"expr": "avg(node_memory_MemTotal_bytes{job=\"adaptive_node\", instance=\"192.168.10.2\"})",
"hide": false,
"interval": "",
"legendFormat": "HPE",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"expr": "avg(node_memory_MemTotal_bytes{job=\"adaptive_node\", instance=\"192.168.10.3\"})",
"hide": false,
"interval": "",
"legendFormat": "IBM",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"expr": "avg(node_memory_MemTotal_bytes{job=\"adaptive_node\", instance=\"192.168.10.4\"})",
"hide": false,
"interval": "",
"legendFormat": "LENOVO",
"range": true,
"refId": "D"
}
],
"title": "Memory usages",
"type": "bargauge"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"fieldConfig": {
"defaults": {
"unit": "percent"
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 8,
"x": 16,
"y": 8
},
"hiddenSeries": false,
"id": 15,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.0.4",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"expr": "100 -\r\n(\r\n avg(node_memory_MemAvailable_bytes{job=\"adaptive_node\", instance=\"10.8.0.1\"}) /\r\n avg(node_memory_MemTotal_bytes{job=\"adaptive_node\", instance=\"10.8.0.1\"})\r\n* 100\r\n)",
"hide": false,
"interval": "",
"legendFormat": "IDCH",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"expr": "100 -\r\n(\r\n avg(node_memory_MemAvailable_bytes{job=\"adaptive_node\", instance=\"192.168.10.2\"}) /\r\n avg(node_memory_MemTotal_bytes{job=\"adaptive_node\", instance=\"192.168.10.2\"})\r\n* 100\r\n)",
"hide": false,
"legendFormat": "HPE",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"expr": "100 -\r\n(\r\n avg(node_memory_MemAvailable_bytes{job=\"adaptive_node\", instance=\"192.168.10.3\"}) /\r\n avg(node_memory_MemTotal_bytes{job=\"adaptive_node\", instance=\"192.168.10.3\"})\r\n* 100\r\n)",
"hide": false,
"legendFormat": "IBM",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"expr": "100 -\r\n(\r\n avg(node_memory_MemAvailable_bytes{job=\"adaptive_node\", instance=\"192.168.10.4\"}) /\r\n avg(node_memory_MemTotal_bytes{job=\"adaptive_node\", instance=\"192.168.10.4\"})\r\n* 100\r\n)",
"hide": false,
"legendFormat": "LENOVO",
"range": true,
"refId": "D"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Memory usages",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:590",
"format": "percent",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:591",
"format": "percent",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "orange",
"value": 75
},
{
"color": "red",
"value": 85
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 10,
"x": 0,
"y": 16
},
"id": 18,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true,
"text": {}
},
"pluginVersion": "9.0.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"expr": "(((count(count(node_cpu_seconds_total{instance=\"10.8.0.1\",job=\"adaptive_node\"}) by (cpu))) - avg(sum by (mode)(rate(node_cpu_seconds_total{mode='idle',instance=\"10.8.0.1\",job=\"adaptive_node\"}[$__rate_interval])))) * 100) / count(count(node_cpu_seconds_total{instance=\"10.8.0.1\",job=\"adaptive_node\"}) by (cpu))",
"hide": false,
"legendFormat": "IDCH",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"expr": "(((count(count(node_cpu_seconds_total{instance=\"192.168.10.2\",job=\"adaptive_node\"}) by (cpu))) - avg(sum by (mode)(rate(node_cpu_seconds_total{mode='idle',instance=\"192.168.10.2\",job=\"adaptive_node\"}[$__rate_interval])))) * 100) / count(count(node_cpu_seconds_total{instance=\"192.168.10.2\",job=\"adaptive_node\"}) by (cpu))",
"hide": false,
"legendFormat": "HPE",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"expr": "(((count(count(node_cpu_seconds_total{instance=\"192.168.10.3\",job=\"adaptive_node\"}) by (cpu))) - avg(sum by (mode)(rate(node_cpu_seconds_total{mode='idle',instance=\"192.168.10.3\",job=\"adaptive_node\"}[$__rate_interval])))) * 100) / count(count(node_cpu_seconds_total{instance=\"192.168.10.3\",job=\"adaptive_node\"}) by (cpu))",
"hide": false,
"legendFormat": "IBM",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"expr": "(((count(count(node_cpu_seconds_total{instance=\"192.168.10.4\",job=\"adaptive_node\"}) by (cpu))) - avg(sum by (mode)(rate(node_cpu_seconds_total{mode='idle',instance=\"192.168.10.4\",job=\"adaptive_node\"}[$__rate_interval])))) * 100) / count(count(node_cpu_seconds_total{instance=\"192.168.10.4\",job=\"adaptive_node\"}) by (cpu))",
"hide": false,
"legendFormat": "LENOVO",
"range": true,
"refId": "D"
}
],
"title": "CPU usages",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 6,
"x": 10,
"y": 16
},
"id": 25,
"options": {
"displayMode": "gradient",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showUnfilled": true
},
"pluginVersion": "9.0.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"expr": "(((count(count(node_cpu_seconds_total{instance=\"10.8.0.1\",job=\"adaptive_node\"}) by (cpu))) - avg(sum by (mode)(rate(node_cpu_seconds_total{mode='idle',instance=\"10.8.0.1\",job=\"adaptive_node\"}[$__rate_interval])))) * 100) / count(count(node_cpu_seconds_total{instance=\"10.8.0.1\",job=\"adaptive_node\"}) by (cpu))",
"hide": false,
"legendFormat": "IDCH",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"expr": "(((count(count(node_cpu_seconds_total{instance=\"192.168.10.2\",job=\"adaptive_node\"}) by (cpu))) - avg(sum by (mode)(rate(node_cpu_seconds_total{mode='idle',instance=\"192.168.10.2\",job=\"adaptive_node\"}[$__rate_interval])))) * 100) / count(count(node_cpu_seconds_total{instance=\"192.168.10.2\",job=\"adaptive_node\"}) by (cpu))",
"hide": false,
"legendFormat": "HPE",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"expr": "(((count(count(node_cpu_seconds_total{instance=\"192.168.10.3\",job=\"adaptive_node\"}) by (cpu))) - avg(sum by (mode)(rate(node_cpu_seconds_total{mode='idle',instance=\"192.168.10.3\",job=\"adaptive_node\"}[$__rate_interval])))) * 100) / count(count(node_cpu_seconds_total{instance=\"192.168.10.3\",job=\"adaptive_node\"}) by (cpu))",
"hide": false,
"legendFormat": "IBM",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"expr": "(((count(count(node_cpu_seconds_total{instance=\"192.168.10.4\",job=\"adaptive_node\"}) by (cpu))) - avg(sum by (mode)(rate(node_cpu_seconds_total{mode='idle',instance=\"192.168.10.4\",job=\"adaptive_node\"}[$__rate_interval])))) * 100) / count(count(node_cpu_seconds_total{instance=\"192.168.10.4\",job=\"adaptive_node\"}) by (cpu))",
"hide": false,
"legendFormat": "LENOVO",
"range": true,
"refId": "D"
}
],
"title": "CPU usages",
"type": "bargauge"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"fieldConfig": {
"defaults": {
"unit": "percent"
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 8,
"x": 16,
"y": 16
},
"hiddenSeries": false,
"id": 26,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.0.4",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"expr": "(((count(count(node_cpu_seconds_total{instance=\"10.8.0.1\",job=\"adaptive_node\"}) by (cpu))) - avg(sum by (mode)(rate(node_cpu_seconds_total{mode='idle',instance=\"10.8.0.1\",job=\"adaptive_node\"}[$__rate_interval])))) * 100) / count(count(node_cpu_seconds_total{instance=\"10.8.0.1\",job=\"adaptive_node\"}) by (cpu))",
"hide": false,
"interval": "",
"legendFormat": "IDCH",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"expr": "(((count(count(node_cpu_seconds_total{instance=\"192.168.10.2\",job=\"adaptive_node\"}) by (cpu))) - avg(sum by (mode)(rate(node_cpu_seconds_total{mode='idle',instance=\"192.168.10.2\",job=\"adaptive_node\"}[$__rate_interval])))) * 100) / count(count(node_cpu_seconds_total{instance=\"192.168.10.2\",job=\"adaptive_node\"}) by (cpu))",
"hide": false,
"legendFormat": "HPE",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"expr": "(((count(count(node_cpu_seconds_total{instance=\"192.168.10.3\",job=\"adaptive_node\"}) by (cpu))) - avg(sum by (mode)(rate(node_cpu_seconds_total{mode='idle',instance=\"192.168.10.3\",job=\"adaptive_node\"}[$__rate_interval])))) * 100) / count(count(node_cpu_seconds_total{instance=\"192.168.10.3\",job=\"adaptive_node\"}) by (cpu))",
"hide": false,
"legendFormat": "IBM",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"expr": "(((count(count(node_cpu_seconds_total{instance=\"192.168.10.4\",job=\"adaptive_node\"}) by (cpu))) - avg(sum by (mode)(rate(node_cpu_seconds_total{mode='idle',instance=\"192.168.10.4\",job=\"adaptive_node\"}[$__rate_interval])))) * 100) / count(count(node_cpu_seconds_total{instance=\"192.168.10.4\",job=\"adaptive_node\"}) by (cpu))",
"hide": false,
"legendFormat": "LENOVO",
"range": true,
"refId": "D"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Memory usages",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:590",
"format": "percent",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:591",
"format": "percent",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"fieldConfig": {
"defaults": {
"unit": "Bps"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "10.8.0.1-ens3"
},
"properties": [
{
"id": "displayName",
"value": "IDCH-ens3"
}
]
},
{
"matcher": {
"id": "byName",
"options": "10.8.0.1-tun0"
},
"properties": [
{
"id": "displayName",
"value": "IDCH-tun0"
}
]
},
{
"matcher": {
"id": "byName",
"options": "192.168.10.2-eno1"
},
"properties": [
{
"id": "displayName",
"value": "HPE-eno1"
}
]
},
{
"matcher": {
"id": "byName",
"options": "192.168.10.2-eno2"
},
"properties": [
{
"id": "displayName",
"value": "HPE-eno2"
}
]
},
{
"matcher": {
"id": "byName",
"options": "192.168.10.3-eno1"
},
"properties": [
{
"id": "displayName",
"value": "IBM-eno1"
}
]
},
{
"matcher": {
"id": "byName",
"options": "192.168.10.3-eno2"
},
"properties": [
{
"id": "displayName",
"value": "IBM-eno2"
}
]
},
{
"matcher": {
"id": "byName",
"options": "192.168.10.4-enp3s0"
},
"properties": [
{
"id": "displayName",
"value": "LENOVO-enp3s0"
}
]
},
{
"matcher": {
"id": "byName",
"options": "192.168.10.4-enp4s0"
},
"properties": [
{
"id": "displayName",
"value": "LENOVO-enp4s0"
}
]
},
{
"matcher": {
"id": "byName",
"options": "192.168.10.2-tun0"
},
"properties": [
{
"id": "displayName",
"value": "HPE-tun0"
}
]
},
{
"matcher": {
"id": "byName",
"options": "192.168.10.3-tun0"
},
"properties": [
{
"id": "displayName",
"value": "IBM-tun0"
}
]
},
{
"matcher": {
"id": "byName",
"options": "192.168.10.4-tun0"
},
"properties": [
{
"id": "displayName",
"value": "LENOVO-tun0"
}
]
}
]
},
"fill": 4,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 24
},
"hiddenSeries": false,
"id": 21,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.0.4",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:83",
"alias": "/.*Trans.*/"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"expr": "irate(node_network_receive_bytes_total{device=\"eno1\",job=\"adaptive_node\"}[5m])*8",
"hide": false,
"interval": "",
"legendFormat": "{{instance}}-{{device}}",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"expr": "irate(node_network_receive_bytes_total{device=\"eno2\",job=\"adaptive_node\"}[5m])*8",
"hide": false,
"interval": "",
"legendFormat": "{{instance}}-{{device}}",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"expr": "irate(node_network_receive_bytes_total{device=\"enp3s0\",job=\"adaptive_node\"}[5m])*8",
"hide": false,
"legendFormat": "{{instance}}-{{device}}",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"expr": "irate(node_network_receive_bytes_total{device=\"enp4s0\",job=\"adaptive_node\"}[5m])*8",
"hide": false,
"legendFormat": "{{instance}}-{{device}}",
"range": true,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"expr": "irate(node_network_receive_bytes_total{device=\"ens3\",job=\"adaptive_node\"}[5m])*8",
"hide": false,
"legendFormat": "{{instance}}-{{device}}",
"range": true,
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"expr": "irate(node_network_receive_bytes_total{device=\"tun0\",job=\"adaptive_node\"}[5m])*8",
"hide": false,
"legendFormat": "{{instance}}-{{device}}",
"range": true,
"refId": "F"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Network Received",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:65",
"format": "Bps",
"label": "bits out (-) / in (+)",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:66",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"fieldConfig": {
"defaults": {
"unit": "Bps"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "10.8.0.1-ens3"
},
"properties": [
{
"id": "displayName",
"value": "IDCH-ens3"
}
]
},
{
"matcher": {
"id": "byName",
"options": "10.8.0.1-tun0"
},
"properties": [
{
"id": "displayName",
"value": "IDCH-tun0"
}
]
},
{
"matcher": {
"id": "byName",
"options": "192.168.10.2-eno1"
},
"properties": [
{
"id": "displayName",
"value": "HPE-eno1"
}
]
},
{
"matcher": {
"id": "byName",
"options": "192.168.10.2-eno2"
},
"properties": [
{
"id": "displayName",
"value": "HPE-eno2"
}
]
},
{
"matcher": {
"id": "byName",
"options": "192.168.10.3-eno1"
},
"properties": [
{
"id": "displayName",
"value": "IBM-eno1"
}
]
},
{
"matcher": {
"id": "byName",
"options": "192.168.10.3-eno2"
},
"properties": [
{
"id": "displayName",
"value": "IBM-eno2"
}
]
},
{
"matcher": {
"id": "byName",
"options": "192.168.10.4-enp3s0"
},
"properties": [
{
"id": "displayName",
"value": "LENOVO-enp3s0"
}
]
},
{
"matcher": {
"id": "byName",
"options": "192.168.10.4-enp4s0"
},
"properties": [
{
"id": "displayName",
"value": "LENOVO-enp4s0"
}
]
},
{
"matcher": {
"id": "byName",
"options": "192.168.10.2-tun0"
},
"properties": [
{
"id": "displayName",
"value": "HPE-tun0"
}
]
},
{
"matcher": {
"id": "byName",
"options": "192.168.10.3-tun0"
},
"properties": [
{
"id": "displayName",
"value": "IBM-tun0"
}
]
},
{
"matcher": {
"id": "byName",
"options": "192.168.10.4-tun0"
},
"properties": [
{
"id": "displayName",
"value": "LENOVO-tun0"
}
]
}
]
},
"fill": 4,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 24
},
"hiddenSeries": false,
"id": 27,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.0.4",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:83",
"alias": "/.*Trans.*/"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"expr": "irate(node_network_transmit_bytes_total{device=\"eno1\",job=\"adaptive_node\"}[5m])*8",
"hide": false,
"interval": "",
"legendFormat": "{{instance}}-{{device}}",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"expr": "irate(node_network_transmit_bytes_total{device=\"eno2\",job=\"adaptive_node\"}[5m])*8",
"hide": false,
"interval": "",
"legendFormat": "{{instance}}-{{device}}",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"expr": "irate(node_network_transmit_bytes_total{device=\"enp3s0\",job=\"adaptive_node\"}[5m])*8",
"hide": false,
"legendFormat": "{{instance}}-{{device}}",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"expr": "irate(node_network_transmit_bytes_total{device=\"enp4s0\",job=\"adaptive_node\"}[5m])*8",
"hide": false,
"legendFormat": "{{instance}}-{{device}}",
"range": true,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"expr": "irate(node_network_transmit_bytes_total{device=\"ens3\",job=\"adaptive_node\"}[5m])*8",
"hide": false,
"legendFormat": "{{instance}}-{{device}}",
"range": true,
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"expr": "irate(node_network_transmit_bytes_total{device=\"tun0\",job=\"adaptive_node\"}[5m])*8",
"hide": false,
"legendFormat": "{{instance}}-{{device}}",
"range": true,
"refId": "F"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Network Transmit",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:65",
"format": "Bps",
"label": "bits out (-) / in (+)",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:66",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"description": "Used Root FS",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)"
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 80
},
{
"color": "rgba(245, 54, 54, 0.9)",
"value": 90
}
]
},
"unit": "percent"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "192.168.10.2"
},
"properties": [
{
"id": "displayName",
"value": "HPE"
}
]
},
{
"matcher": {
"id": "byName",
"options": "192.168.10.3"
},
"properties": [
{
"id": "displayName",
"value": "IBM"
}
]
},
{
"matcher": {
"id": "byName",
"options": "192.168.10.4"
},
"properties": [
{
"id": "displayName",
"value": "LENOVO"
}
]
},
{
"matcher": {
"id": "byName",
"options": "10.8.0.1"
},
"properties": [
{
"id": "displayName",
"value": "IDCH"
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 32
},
"id": 11,
"links": [],
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true,
"text": {}
},
"pluginVersion": "9.0.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"expr": "100 - ((node_filesystem_avail_bytes{job=\"adaptive_node\",mountpoint=\"/\",fstype!=\"rootfs\"} * 100) / node_filesystem_size_bytes{job=\"adaptive_node\",mountpoint=\"/\",fstype!=\"rootfs\"})",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{instance}}",
"range": true,
"refId": "A",
"step": 240
}
],
"title": "Root FS Used",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"filterable": false,
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "yellow",
"value": 0.8
},
{
"color": "red",
"value": 0.9
}
]
},
"unit": "decbytes"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Mounted on"
},
"properties": [
{
"id": "custom.width",
"value": 260
}
]
},
{
"matcher": {
"id": "byName",
"options": "Size"
},
"properties": [
{
"id": "custom.width",
"value": 93
}
]
},
{
"matcher": {
"id": "byName",
"options": "Used"
},
"properties": [
{
"id": "custom.width",
"value": 72
}
]
},
{
"matcher": {
"id": "byName",
"options": "Available"
},
"properties": [
{
"id": "custom.width",
"value": 88
}
]
},
{
"matcher": {
"id": "byName",
"options": "Used, %"
},
"properties": [
{
"id": "unit",
"value": "percentunit"
},
{
"id": "custom.displayMode",
"value": "gradient-gauge"
},
{
"id": "max",
"value": 1
},
{
"id": "min",
"value": 0
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 38
},
"id": 31,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true
},
"pluginVersion": "9.0.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"exemplar": false,
"expr": "max by (mountpoint) (node_filesystem_size_bytes{job=\"adaptive_node\", instance=\"10.8.0.1\", fstype!=\"\"})",
"format": "table",
"instant": true,
"range": false,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"exemplar": false,
"expr": "max by (mountpoint) (node_filesystem_avail_bytes{job=\"adaptive_node\", instance=\"10.8.0.1\", fstype!=\"\"})",
"format": "table",
"hide": false,
"instant": true,
"range": false,
"refId": "B"
}
],
"title": "Disk Space Usage IDCH",
"transformations": [
{
"id": "groupBy",
"options": {
"fields": {
"Value #A": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #B": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"mountpoint": {
"aggregations": [],
"operation": "groupby"
}
}
}
},
{
"id": "merge",
"options": {}
},
{
"id": "calculateField",
"options": {
"alias": "Used",
"binary": {
"left": "Value #A (lastNotNull)",
"operator": "-",
"reducer": "sum",
"right": "Value #B (lastNotNull)"
},
"mode": "binary",
"reduce": {
"reducer": "sum"
}
}
},
{
"id": "calculateField",
"options": {
"alias": "Used, %",
"binary": {
"left": "Used",
"operator": "/",
"reducer": "sum",
"right": "Value #A (lastNotNull)"
},
"mode": "binary",
"reduce": {
"reducer": "sum"
}
}
},
{
"id": "organize",
"options": {
"excludeByName": {},
"indexByName": {},
"renameByName": {
"Value #A (lastNotNull)": "Size",
"Value #B (lastNotNull)": "Available",
"mountpoint": "Mounted on"
}
}
},
{
"id": "sortBy",
"options": {
"fields": {},
"sort": [
{
"field": "Mounted on"
}
]
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"filterable": false,
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "yellow",
"value": 0.8
},
{
"color": "red",
"value": 0.9
}
]
},
"unit": "decbytes"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Mounted on"
},
"properties": [
{
"id": "custom.width",
"value": 260
}
]
},
{
"matcher": {
"id": "byName",
"options": "Size"
},
"properties": [
{
"id": "custom.width",
"value": 93
}
]
},
{
"matcher": {
"id": "byName",
"options": "Used"
},
"properties": [
{
"id": "custom.width",
"value": 72
}
]
},
{
"matcher": {
"id": "byName",
"options": "Available"
},
"properties": [
{
"id": "custom.width",
"value": 88
}
]
},
{
"matcher": {
"id": "byName",
"options": "Used, %"
},
"properties": [
{
"id": "unit",
"value": "percentunit"
},
{
"id": "custom.displayMode",
"value": "gradient-gauge"
},
{
"id": "max",
"value": 1
},
{
"id": "min",
"value": 0
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 38
},
"id": 33,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true
},
"pluginVersion": "9.0.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"exemplar": false,
"expr": "max by (mountpoint) (node_filesystem_size_bytes{job=\"adaptive_node\", instance=\"192.168.10.2\", fstype!=\"\"})",
"format": "table",
"instant": true,
"range": false,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"exemplar": false,
"expr": "max by (mountpoint) (node_filesystem_avail_bytes{job=\"adaptive_node\", instance=\"192.168.10.2\", fstype!=\"\"})",
"format": "table",
"hide": false,
"instant": true,
"range": false,
"refId": "B"
}
],
"title": "Disk Space Usage HPE",
"transformations": [
{
"id": "groupBy",
"options": {
"fields": {
"Value #A": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #B": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"mountpoint": {
"aggregations": [],
"operation": "groupby"
}
}
}
},
{
"id": "merge",
"options": {}
},
{
"id": "calculateField",
"options": {
"alias": "Used",
"binary": {
"left": "Value #A (lastNotNull)",
"operator": "-",
"reducer": "sum",
"right": "Value #B (lastNotNull)"
},
"mode": "binary",
"reduce": {
"reducer": "sum"
}
}
},
{
"id": "calculateField",
"options": {
"alias": "Used, %",
"binary": {
"left": "Used",
"operator": "/",
"reducer": "sum",
"right": "Value #A (lastNotNull)"
},
"mode": "binary",
"reduce": {
"reducer": "sum"
}
}
},
{
"id": "organize",
"options": {
"excludeByName": {},
"indexByName": {},
"renameByName": {
"Value #A (lastNotNull)": "Size",
"Value #B (lastNotNull)": "Available",
"mountpoint": "Mounted on"
}
}
},
{
"id": "sortBy",
"options": {
"fields": {},
"sort": [
{
"field": "Mounted on"
}
]
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"filterable": false,
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "yellow",
"value": 0.8
},
{
"color": "red",
"value": 0.9
}
]
},
"unit": "decbytes"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Mounted on"
},
"properties": [
{
"id": "custom.width",
"value": 260
}
]
},
{
"matcher": {
"id": "byName",
"options": "Size"
},
"properties": [
{
"id": "custom.width",
"value": 93
}
]
},
{
"matcher": {
"id": "byName",
"options": "Used"
},
"properties": [
{
"id": "custom.width",
"value": 72
}
]
},
{
"matcher": {
"id": "byName",
"options": "Available"
},
"properties": [
{
"id": "custom.width",
"value": 88
}
]
},
{
"matcher": {
"id": "byName",
"options": "Used, %"
},
"properties": [
{
"id": "unit",
"value": "percentunit"
},
{
"id": "custom.displayMode",
"value": "gradient-gauge"
},
{
"id": "max",
"value": 1
},
{
"id": "min",
"value": 0
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 45
},
"id": 35,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true
},
"pluginVersion": "9.0.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"exemplar": false,
"expr": "max by (mountpoint) (node_filesystem_size_bytes{job=\"adaptive_node\", instance=\"192.168.10.3\", fstype!=\"\"})",
"format": "table",
"instant": true,
"range": false,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"exemplar": false,
"expr": "max by (mountpoint) (node_filesystem_avail_bytes{job=\"adaptive_node\", instance=\"192.168.10.3\", fstype!=\"\"})",
"format": "table",
"hide": false,
"instant": true,
"range": false,
"refId": "B"
}
],
"title": "Disk Space Usage IBM",
"transformations": [
{
"id": "groupBy",
"options": {
"fields": {
"Value #A": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #B": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"mountpoint": {
"aggregations": [],
"operation": "groupby"
}
}
}
},
{
"id": "merge",
"options": {}
},
{
"id": "calculateField",
"options": {
"alias": "Used",
"binary": {
"left": "Value #A (lastNotNull)",
"operator": "-",
"reducer": "sum",
"right": "Value #B (lastNotNull)"
},
"mode": "binary",
"reduce": {
"reducer": "sum"
}
}
},
{
"id": "calculateField",
"options": {
"alias": "Used, %",
"binary": {
"left": "Used",
"operator": "/",
"reducer": "sum",
"right": "Value #A (lastNotNull)"
},
"mode": "binary",
"reduce": {
"reducer": "sum"
}
}
},
{
"id": "organize",
"options": {
"excludeByName": {},
"indexByName": {},
"renameByName": {
"Value #A (lastNotNull)": "Size",
"Value #B (lastNotNull)": "Available",
"mountpoint": "Mounted on"
}
}
},
{
"id": "sortBy",
"options": {
"fields": {},
"sort": [
{
"field": "Mounted on"
}
]
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"filterable": false,
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "yellow",
"value": 0.8
},
{
"color": "red",
"value": 0.9
}
]
},
"unit": "decbytes"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Mounted on"
},
"properties": [
{
"id": "custom.width",
"value": 260
}
]
},
{
"matcher": {
"id": "byName",
"options": "Size"
},
"properties": [
{
"id": "custom.width",
"value": 93
}
]
},
{
"matcher": {
"id": "byName",
"options": "Used"
},
"properties": [
{
"id": "custom.width",
"value": 72
}
]
},
{
"matcher": {
"id": "byName",
"options": "Available"
},
"properties": [
{
"id": "custom.width",
"value": 88
}
]
},
{
"matcher": {
"id": "byName",
"options": "Used, %"
},
"properties": [
{
"id": "unit",
"value": "percentunit"
},
{
"id": "custom.displayMode",
"value": "gradient-gauge"
},
{
"id": "max",
"value": 1
},
{
"id": "min",
"value": 0
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 45
},
"id": 37,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true
},
"pluginVersion": "9.0.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"exemplar": false,
"expr": "max by (mountpoint) (node_filesystem_size_bytes{job=\"adaptive_node\", instance=\"192.168.10.4\", fstype!=\"\"})",
"format": "table",
"instant": true,
"range": false,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"editorMode": "code",
"exemplar": false,
"expr": "max by (mountpoint) (node_filesystem_avail_bytes{job=\"adaptive_node\", instance=\"192.168.10.4\", fstype!=\"\"})",
"format": "table",
"hide": false,
"instant": true,
"range": false,
"refId": "B"
}
],
"title": "Disk Space Usage LENOVO",
"transformations": [
{
"id": "groupBy",
"options": {
"fields": {
"Value #A": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #B": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"mountpoint": {
"aggregations": [],
"operation": "groupby"
}
}
}
},
{
"id": "merge",
"options": {}
},
{
"id": "calculateField",
"options": {
"alias": "Used",
"binary": {
"left": "Value #A (lastNotNull)",
"operator": "-",
"reducer": "sum",
"right": "Value #B (lastNotNull)"
},
"mode": "binary",
"reduce": {
"reducer": "sum"
}
}
},
{
"id": "calculateField",
"options": {
"alias": "Used, %",
"binary": {
"left": "Used",
"operator": "/",
"reducer": "sum",
"right": "Value #A (lastNotNull)"
},
"mode": "binary",
"reduce": {
"reducer": "sum"
}
}
},
{
"id": "organize",
"options": {
"excludeByName": {},
"indexByName": {},
"renameByName": {
"Value #A (lastNotNull)": "Size",
"Value #B (lastNotNull)": "Available",
"mountpoint": "Mounted on"
}
}
},
{
"id": "sortBy",
"options": {
"fields": {},
"sort": [
{
"field": "Mounted on"
}
]
}
}
],
"type": "table"
}
],
"refresh": "5s",
"schemaVersion": 36,
"style": "dark",
"tags": [
"centralized"
],
"templating": {
"list": [
{
"current": {
"selected": false,
"text": "adaptive_node",
"value": "adaptive_node"
},
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"definition": "label_values(node_uname_info, job)",
"hide": 0,
"includeAll": false,
"label": "Job",
"multi": false,
"name": "job",
"options": [],
"query": {
"query": "label_values(node_uname_info, job)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {
"selected": false,
"text": "10.8.0.1",
"value": "10.8.0.1"
},
"datasource": {
"type": "prometheus",
"uid": "gCOwHCRVk"
},
"definition": "label_values(node_uname_info{job=\"$job\"}, instance)",
"hide": 0,
"includeAll": false,
"label": "Host:",
"multi": false,
"name": "node",
"options": [],
"query": {
"query": "label_values(node_uname_info{job=\"$job\"}, instance)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {
"selected": false,
"text": "[a-z]+|nvme[0-9]+n[0-9]+|mmcblk[0-9]+",
"value": "[a-z]+|nvme[0-9]+n[0-9]+|mmcblk[0-9]+"
},
"hide": 2,
"includeAll": false,
"multi": false,
"name": "diskdevices",
"options": [
{
"selected": true,
"text": "[a-z]+|nvme[0-9]+n[0-9]+|mmcblk[0-9]+",
"value": "[a-z]+|nvme[0-9]+n[0-9]+|mmcblk[0-9]+"
}
],
"query": "[a-z]+|nvme[0-9]+n[0-9]+|mmcblk[0-9]+",
"skipUrlSync": false,
"type": "custom"
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Centralize Monitoring Cluster",
"uid": "I9kVOb74k",
"version": 30,
"weekStart": ""
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment