grafana-dashboard/VMware_vSphere-influxdb-telegraf.json

2289 lines
No EOL
57 KiB
JSON

{
"__inputs": [
{
"name": "DS_INFLUXDB_- TELEGRAF - COLOMBELLES",
"label": "InfluxDB - Telegraf - Colombelles",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
}
],
"__requires": [
{
"type": "panel",
"id": "bargauge",
"name": "Bar gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "8.1.2"
},
{
"type": "datasource",
"id": "influxdb",
"name": "InfluxDB",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- 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": "",
"editable": true,
"gnetId": 8159,
"graphTooltip": 0,
"id": null,
"iteration": 1631701454294,
"links": [
{
"asDropdown": true,
"icon": "external link",
"includeVars": true,
"keepTime": true,
"tags": [
"vSphere Telegraf"
],
"targetBlank": true,
"title": "More Dashboards",
"type": "dashboards"
}
],
"panels": [
{
"collapsed": false,
"datasource": "${DS_INFLUXDB_- TELEGRAF - COLOMBELLES}",
"fieldConfig": {
"defaults": {},
"overrides": []
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 61,
"panels": [],
"title": "Cluster Status",
"type": "row"
},
{
"cacheTimeout": null,
"datasource": "${DS_INFLUXDB_- TELEGRAF - COLOMBELLES}",
"description": "",
"fieldConfig": {
"defaults": {
"decimals": 1,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#d44a3a",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 0.001
},
{
"color": "#1F60C4",
"value": 0.002
}
]
},
"unit": "s"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "CPU Usage"
},
"properties": [
{
"id": "unit",
"value": "percent"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "semi-dark-green",
"value": null
},
{
"color": "dark-orange",
"value": 70
},
{
"color": "dark-red",
"value": 85
}
]
}
},
{
"id": "decimals",
"value": 2
}
]
},
{
"matcher": {
"id": "byName",
"options": "RAM Usage"
},
"properties": [
{
"id": "unit",
"value": "percent"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "semi-dark-green",
"value": null
},
{
"color": "dark-orange",
"value": 70
},
{
"color": "dark-red",
"value": 85
}
]
}
},
{
"id": "decimals",
"value": 2
}
]
},
{
"matcher": {
"id": "byName",
"options": "Datastores Usage"
},
"properties": [
{
"id": "unit",
"value": "percent"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 70
},
{
"color": "semi-dark-orange",
"value": 80
},
{
"color": "dark-red",
"value": 90
}
]
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Datastores Provisioned"
},
"properties": [
{
"id": "unit",
"value": "percent"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 80
},
{
"color": "semi-dark-orange",
"value": 90
},
{
"color": "dark-red",
"value": 100
}
]
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Datastores"
},
"properties": [
{
"id": "unit",
"value": "short"
},
{
"id": "decimals",
"value": 0
},
{
"id": "color",
"value": {
"fixedColor": "dark-purple",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "ESXi"
},
"properties": [
{
"id": "unit",
"value": "none"
},
{
"id": "decimals"
},
{
"id": "color",
"value": {
"fixedColor": "dark-purple",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 1
},
"id": 28,
"interval": null,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"fieldOptions": {
"calcs": [
"lastNotNull"
]
},
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "8.1.2",
"repeat": null,
"targets": [
{
"groupBy": [
{
"params": [
"$inter"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "vsphere_host_sys",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT last(\"uptime_latest\") AS \"Uptime\" FROM \"vsphere_host_sys\" WHERE (\"vcenter\" =~ /^$vcenter$/ AND \"clustername\" =~ /^$clustername$/) AND $timeFilter GROUP BY time($inter) fill(null)",
"rawQuery": false,
"refId": "A",
"resultFormat": "table",
"select": [
[
{
"params": [
"uptime_latest"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Uptime"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "vcenter",
"operator": "=~",
"value": "/^$vcenter$/"
},
{
"condition": "AND",
"key": "clustername",
"operator": "=~",
"value": "/^$clustername$/"
}
]
},
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT count(distinct(\"esxhostname\")) AS \"ESXi\" FROM (SELECT \"coreUtilization_average\", \"esxhostname\" FROM \"vsphere_host_cpu\" WHERE $timeFilter AND \"vcenter\" =~ /^$vcenter$/)",
"rawQuery": true,
"refId": "G",
"resultFormat": "table",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
},
{
"groupBy": [
{
"params": [
"$inter"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "vsphere_host_cpu",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"usage_average\") AS \"CPU Usage\" FROM \"vsphere_host_cpu\" WHERE (\"vcenter\" =~ /^$vcenter$/ AND \"clustername\" =~ /^$clustername$/) AND $timeFilter GROUP BY time($inter) fill(null)",
"rawQuery": false,
"refId": "D",
"resultFormat": "table",
"select": [
[
{
"params": [
"usage_average"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"CPU Usage"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "vcenter",
"operator": "=~",
"value": "/^$vcenter$/"
},
{
"condition": "AND",
"key": "clustername",
"operator": "=~",
"value": "/^$clustername$/"
}
]
},
{
"groupBy": [
{
"params": [
"$inter"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "vsphere_host_mem",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"usage_average\") AS \"RAM Usage\" FROM \"vsphere_host_mem\" WHERE (\"vcenter\" =~ /^$vcenter$/ AND \"clustername\" =~ /^$clustername$/) AND $timeFilter GROUP BY time($inter) fill(null)",
"rawQuery": false,
"refId": "B",
"resultFormat": "table",
"select": [
[
{
"params": [
"usage_average"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"RAM Usage"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "vcenter",
"operator": "=~",
"value": "/^$vcenter$/"
},
{
"condition": "AND",
"key": "clustername",
"operator": "=~",
"value": "/^$clustername$/"
}
]
},
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT count(distinct(\"dsname\")) AS \"Datastores\" FROM (SELECT \"capacity_latest\", \"dsname\" FROM \"vsphere_datastore_disk\" WHERE $timeFilter AND \"vcenter\" =~ /^$vcenter$/ AND dsname !~ /^(storageLocal_|restore-)/)",
"rawQuery": true,
"refId": "F",
"resultFormat": "table",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
},
{
"groupBy": [
{
"params": [
"$inter"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "vsphere_datastore_disk",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"used_latest\") * (100 / mean(\"capacity_latest\")) AS \"Datastores Usage\" FROM \"vsphere_datastore_disk\" WHERE (\"source\" =~ /^$datastore$/) AND $timeFilter GROUP BY time($inter) fill(null)",
"rawQuery": true,
"refId": "C",
"resultFormat": "table",
"select": [
[
{
"params": [
"provisioned_latest"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"Disk"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "vcenter",
"operator": "=~",
"value": "/^$vcenter$/"
}
]
},
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"provisioned_latest\") * (100 / mean(\"capacity_latest\")) AS \"Datastores Provisioned\" FROM \"vsphere_datastore_disk\" WHERE (\"source\" =~ /^$datastore$/) AND $timeFilter GROUP BY time($inter) fill(null)",
"rawQuery": true,
"refId": "E",
"resultFormat": "table",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"title": "Overview",
"transformations": [],
"type": "stat"
},
{
"datasource": "${DS_INFLUXDB_- TELEGRAF - COLOMBELLES}",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"graph": false,
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 12,
"x": 0,
"y": 9
},
"id": 23,
"links": [],
"options": {
"graph": {},
"legend": {
"calcs": [],
"displayMode": "hidden",
"placement": "bottom"
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "7.5.4",
"targets": [
{
"alias": "$tag_clustername",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$inter"
],
"type": "time"
},
{
"params": [
"clustername"
],
"type": "tag"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"measurement": "vsphere_host_cpu",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT last(\"usagemhz_average\") FROM \"vsphere_host_cpu\" WHERE (\"clustername\" =~ /^$clustername$/) AND $timeFilter GROUP BY time($inter), \"clustername\" fill(none)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"usage_average"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "clustername",
"operator": "=~",
"value": "/^$clustername$/"
},
{
"condition": "AND",
"key": "vcenter",
"operator": "=~",
"value": "/^$vcenter$/"
}
]
}
],
"timeFrom": null,
"timeShift": null,
"title": "Cluster CPU Usage %",
"transformations": [],
"type": "timeseries"
},
{
"datasource": "${DS_INFLUXDB_- TELEGRAF - COLOMBELLES}",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 30,
"gradientMode": "hue",
"hideFrom": {
"graph": false,
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 0,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 12,
"x": 12,
"y": 9
},
"id": 26,
"links": [],
"options": {
"graph": {},
"legend": {
"calcs": [],
"displayMode": "hidden",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"pluginVersion": "7.5.3",
"targets": [
{
"alias": "$tag_clustername",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$inter"
],
"type": "time"
},
{
"params": [
"clustername"
],
"type": "tag"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"measurement": "vsphere_host_mem",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT last(\"totalCapacity_average\") * (last(\"usage_average\")) / 100 * 1024 FROM \"vsphere_host_mem\" WHERE (\"clustername\" =~ /^$clustername$/) AND $timeFilter GROUP BY time($inter), \"clustername\" fill(none)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"usage_average"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "vcenter",
"operator": "=~",
"value": "/^$vcenter$/"
},
{
"condition": "AND",
"key": "clustername",
"operator": "=~",
"value": "/^$clustername$/"
}
]
}
],
"timeFrom": null,
"timeShift": null,
"title": "Cluster RAM Usage",
"type": "timeseries"
},
{
"datasource": "${DS_INFLUXDB_- TELEGRAF - COLOMBELLES}",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 30,
"gradientMode": "hue",
"hideFrom": {
"graph": false,
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "KBs"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 12,
"x": 0,
"y": 14
},
"id": 90,
"links": [],
"options": {
"graph": {},
"legend": {
"calcs": [],
"displayMode": "hidden",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"pluginVersion": "7.5.3",
"targets": [
{
"alias": "$tag_clustername - Received",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$inter"
],
"type": "time"
},
{
"params": [
"clustername"
],
"type": "tag"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"measurement": "vsphere_host_net",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"usage_average\") FROM \"vsphere_host_cpu\" WHERE \"esxhostname\" = ($esxi) AND $timeFilter GROUP BY time($inter), \"host\" fill(none)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"bytesRx_average"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "clustername",
"operator": "=~",
"value": "/^$clustername$/"
}
]
},
{
"alias": "$tag_clustername - Transmited",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$inter"
],
"type": "time"
},
{
"params": [
"clustername"
],
"type": "tag"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"measurement": "vsphere_host_net",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"usage_average\") FROM \"vsphere_host_cpu\" WHERE \"esxhostname\" = ($esxi) AND $timeFilter GROUP BY time($inter), \"host\" fill(none)",
"rawQuery": false,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"bytesTx_average"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "clustername",
"operator": "=~",
"value": "/^$clustername$/"
}
]
}
],
"timeFrom": null,
"timeShift": null,
"title": "Cluster Network Usage",
"type": "timeseries"
},
{
"datasource": "${DS_INFLUXDB_- TELEGRAF - COLOMBELLES}",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 30,
"gradientMode": "hue",
"hideFrom": {
"graph": false,
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 12,
"x": 12,
"y": 14
},
"id": 91,
"links": [],
"options": {
"graph": {},
"legend": {
"calcs": [],
"displayMode": "hidden",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"pluginVersion": "7.5.3",
"targets": [
{
"alias": "$tag_clustername - ReadAverage",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$inter"
],
"type": "time"
},
{
"params": [
"clustername"
],
"type": "tag"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"measurement": "vsphere_host_storageAdapter",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"usage_average\") FROM \"vsphere_host_cpu\" WHERE \"esxhostname\" = ($esxi) AND $timeFilter GROUP BY time($inter), \"host\" fill(none)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"totalReadLatency_average"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "clustername",
"operator": "=~",
"value": "/^$clustername$/"
}
]
},
{
"alias": "$tag_clustername - WriteAverage",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$inter"
],
"type": "time"
},
{
"params": [
"clustername"
],
"type": "tag"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"measurement": "vsphere_host_storageAdapter",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"usage_average\") FROM \"vsphere_host_cpu\" WHERE \"esxhostname\" = ($esxi) AND $timeFilter GROUP BY time($inter), \"host\" fill(none)",
"rawQuery": false,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"totalWriteLatency_average"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "clustername",
"operator": "=~",
"value": "/^$clustername$/"
}
]
}
],
"timeFrom": null,
"timeShift": null,
"title": "Cluster Storage Adapter",
"type": "timeseries"
},
{
"datasource": "${DS_INFLUXDB_- TELEGRAF - COLOMBELLES}",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-green",
"value": null
},
{
"color": "dark-yellow",
"value": 65
},
{
"color": "dark-orange",
"value": 75
},
{
"color": "dark-red",
"value": 90
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 8,
"x": 0,
"y": 19
},
"hideTimeOverride": false,
"id": 123,
"interval": null,
"links": [],
"options": {
"displayMode": "lcd",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showUnfilled": true,
"text": {}
},
"pluginVersion": "8.1.2",
"targets": [
{
"alias": "$tag_source",
"groupBy": [
{
"params": [
"$inter"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT last(\"used_latest\") * (100 / last(\"capacity_latest\")) FROM \"vsphere_datastore_disk\" WHERE (\"source\" =~ /^$datastore$/) AND $timeFilter GROUP BY time($inter) , \"source\" fill(none)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"timeFrom": null,
"timeShift": null,
"title": "Datastores - Usage Capacity",
"type": "bargauge"
},
{
"datasource": "${DS_INFLUXDB_- TELEGRAF - COLOMBELLES}",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-green",
"value": null
},
{
"color": "dark-yellow",
"value": 65
},
{
"color": "dark-orange",
"value": 75
},
{
"color": "dark-red",
"value": 90
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 8,
"x": 8,
"y": 19
},
"hideTimeOverride": false,
"id": 143,
"interval": null,
"links": [],
"options": {
"displayMode": "lcd",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showUnfilled": true,
"text": {}
},
"pluginVersion": "8.1.2",
"targets": [
{
"alias": "$tag_source",
"groupBy": [
{
"params": [
"$inter"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT last(\"provisioned_latest\") * (100 / last(\"capacity_latest\")) FROM \"vsphere_datastore_disk\" WHERE (\"source\" =~ /^$datastore$/) AND $timeFilter GROUP BY time($inter) , \"source\" fill(none)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"timeFrom": null,
"timeShift": null,
"title": "Datastores - Usage Provisioned",
"type": "bargauge"
},
{
"datasource": "${DS_INFLUXDB_- TELEGRAF - COLOMBELLES}",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-green",
"value": null
}
]
},
"unit": "deckbytes"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 8,
"x": 16,
"y": 19
},
"hideTimeOverride": false,
"id": 144,
"interval": null,
"links": [],
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "8.1.2",
"targets": [
{
"alias": "$tag_source",
"groupBy": [
{
"params": [
"$inter"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT last(\"capacity_latest\") FROM \"vsphere_datastore_disk\" WHERE (\"source\" =~ /^$datastore$/) AND $timeFilter GROUP BY time($inter) , \"source\" fill(none)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"timeFrom": null,
"timeShift": null,
"title": "Datastores - Size capacity",
"type": "stat"
},
{
"collapsed": true,
"datasource": "${DS_INFLUXDB_- TELEGRAF - COLOMBELLES}",
"fieldConfig": {
"defaults": {},
"overrides": []
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 28
},
"id": 20,
"panels": [
{
"datasource": "${DS_INFLUXDB_- TELEGRAF - COLOMBELLES}",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 30,
"gradientMode": "hue",
"hideFrom": {
"graph": false,
"legend": false,
"tooltip": false
},
"lineInterpolation": "smooth",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 29
},
"id": 15,
"links": [],
"options": {
"graph": {},
"legend": {
"calcs": [
"last",
"min",
"max"
],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"pluginVersion": "7.5.3",
"targets": [
{
"alias": "$tag_esxhostname",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$inter"
],
"type": "time"
},
{
"params": [
"esxhostname"
],
"type": "tag"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"measurement": "vsphere_host_cpu",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"usage_average\") FROM \"vsphere_host_cpu\" WHERE \"esxhostname\" = ($esxi) AND $timeFilter GROUP BY time($inter), \"host\" fill(none)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"usage_average"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "esxhostname",
"operator": "=~",
"value": "/^$esxi$/"
},
{
"condition": "AND",
"key": "vcenter",
"operator": "=~",
"value": "/^$vcenter$/"
}
]
}
],
"timeFrom": null,
"timeShift": null,
"title": "Hypervisor CPU",
"type": "timeseries"
},
{
"datasource": "${DS_INFLUXDB_- TELEGRAF - COLOMBELLES}",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 30,
"gradientMode": "hue",
"hideFrom": {
"graph": false,
"legend": false,
"tooltip": false
},
"lineInterpolation": "smooth",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 29
},
"id": 16,
"links": [],
"options": {
"graph": {},
"legend": {
"calcs": [
"last",
"min",
"max"
],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"pluginVersion": "7.5.3",
"targets": [
{
"alias": "$tag_esxhostname",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$inter"
],
"type": "time"
},
{
"params": [
"esxhostname"
],
"type": "tag"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"measurement": "vsphere_host_mem",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"usage_average"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "esxhostname",
"operator": "=~",
"value": "/^$esxi$/"
}
]
}
],
"timeFrom": null,
"timeShift": null,
"title": "Hypervisor Memory",
"type": "timeseries"
},
{
"datasource": "${DS_INFLUXDB_- TELEGRAF - COLOMBELLES}",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 30,
"gradientMode": "hue",
"hideFrom": {
"graph": false,
"legend": false,
"tooltip": false
},
"lineInterpolation": "smooth",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "KBs"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 36
},
"id": 17,
"links": [],
"options": {
"graph": {},
"legend": {
"calcs": [
"last",
"min",
"max"
],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"pluginVersion": "7.5.3",
"targets": [
{
"alias": "$tag_esxhostname",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$inter"
],
"type": "time"
},
{
"params": [
"esxhostname"
],
"type": "tag"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"measurement": "vsphere_host_net",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"usage_average"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "esxhostname",
"operator": "=~",
"value": "/^$esxi$/"
}
]
}
],
"timeFrom": null,
"timeShift": null,
"title": "Hypervisor Net Usage",
"type": "timeseries"
}
],
"repeat": null,
"title": "Hypervisor Status",
"type": "row"
}
],
"refresh": "30s",
"schemaVersion": 30,
"style": "dark",
"tags": [
"VMware"
],
"templating": {
"list": [
{
"auto": true,
"auto_count": 100,
"auto_min": "20s",
"current": {
"selected": false,
"text": "auto",
"value": "$__auto_interval_inter"
},
"description": null,
"error": null,
"hide": 0,
"label": "Sampling",
"name": "inter",
"options": [
{
"selected": true,
"text": "auto",
"value": "$__auto_interval_inter"
},
{
"selected": false,
"text": "20s",
"value": "20s"
},
{
"selected": false,
"text": "1m",
"value": "1m"
},
{
"selected": false,
"text": "10m",
"value": "10m"
},
{
"selected": false,
"text": "30m",
"value": "30m"
},
{
"selected": false,
"text": "1h",
"value": "1h"
},
{
"selected": false,
"text": "6h",
"value": "6h"
},
{
"selected": false,
"text": "12h",
"value": "12h"
},
{
"selected": false,
"text": "1d",
"value": "1d"
},
{
"selected": false,
"text": "7d",
"value": "7d"
},
{
"selected": false,
"text": "14d",
"value": "14d"
},
{
"selected": false,
"text": "30d",
"value": "30d"
}
],
"query": "20s,1m,10m,30m,1h,6h,12h,1d,7d,14d,30d",
"queryValue": "",
"refresh": 2,
"skipUrlSync": false,
"type": "interval"
},
{
"allValue": null,
"current": {},
"datasource": "${DS_INFLUXDB_- TELEGRAF - COLOMBELLES}",
"definition": "",
"description": null,
"error": null,
"hide": 0,
"includeAll": false,
"label": "vCenter Server",
"multi": false,
"name": "vcenter",
"options": [],
"query": "select DISTINCT(\"vcenter\") from (select \"usage_average\",\"vcenter\" from \"vsphere_host_cpu\" WHERE $timeFilter)",
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {},
"datasource": "${DS_INFLUXDB_- TELEGRAF - COLOMBELLES}",
"definition": "",
"description": null,
"error": null,
"hide": 0,
"includeAll": true,
"label": "Cluster",
"multi": true,
"name": "clustername",
"options": [],
"query": "select DISTINCT(\"clustername\") from (select \"usage_average\",\"clustername\" from \"vsphere_host_cpu\" WHERE $timeFilter AND \"vcenter\" =~ /$vcenter/)",
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {},
"datasource": "${DS_INFLUXDB_- TELEGRAF - COLOMBELLES}",
"definition": "",
"description": null,
"error": null,
"hide": 0,
"includeAll": true,
"label": "ESXi Server",
"multi": true,
"name": "esxi",
"options": [],
"query": "select DISTINCT(\"esxhostname\") from (select \"usage_average\",\"esxhostname\" from \"vsphere_host_cpu\" WHERE $timeFilter AND \"vcenter\" =~ /$vcenter/)",
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {},
"datasource": "${DS_INFLUXDB_- TELEGRAF - COLOMBELLES}",
"definition": "select DISTINCT(\"dsname\") from (select \"used_latest\",\"dsname\" from \"vsphere_datastore_disk\" WHERE $timeFilter AND \"vcenter\" =~ /$vcenter/ AND dsname !~ /^(restore-|storageLocal_)/)",
"description": null,
"error": null,
"hide": 0,
"includeAll": true,
"label": "Datastore",
"multi": true,
"name": "datastore",
"options": [],
"query": "select DISTINCT(\"dsname\") from (select \"used_latest\",\"dsname\" from \"vsphere_datastore_disk\" WHERE $timeFilter AND \"vcenter\" =~ /$vcenter/ AND dsname !~ /^(restore-|storageLocal_)/)",
"refresh": 2,
"regex": "/^(?!VeeamBackup_)/",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-1h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "browser",
"title": "VMware vSphere",
"uid": "kwtyVaAmz",
"version": 28
}