From 0f0a977ed923776766bbc1cd129993817ade5ae7 Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Wed, 14 Jul 2021 16:04:17 -0400 Subject: [PATCH] add disk var --- salt/grafana/templates/disk.json | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 salt/grafana/templates/disk.json diff --git a/salt/grafana/templates/disk.json b/salt/grafana/templates/disk.json new file mode 100644 index 000000000..510eb2930 --- /dev/null +++ b/salt/grafana/templates/disk.json @@ -0,0 +1,28 @@ +{ + "allValue": null, + "current": { + "selected": false, + "text": "All", + "value": "$__all" + }, + "datasource": "$InfluxDB", + "definition": "", + "description": null, + "error": null, + "hide": 2, + "includeAll": true, + "label": "Disk", + "multi": true, + "name": "disk", + "options": [], + "query": "SHOW TAG VALUES ON telegraf FROM \"diskio\" WITH KEY = \"name\" WHERE host =~ /$servername/", + "refresh": 1, + "regex": "[a-z]d[\\D]$|nvme[\\d]n[\\d]$", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": null, + "tags": [], + "tagsQuery": null, + "type": "query", + "useTags": false +}