Grafana dashboard: Telegraf: system dashboard
Description: Prometheus/victoriametrics dashboards for telegraf metrics

Converted from dashboard [#928](https://grafana.com/grafana/dashboards/928) from influxdb for victoriametrics.

Templated dashboard for telegraf + victoriametrics.

* CPUs (defaults to all)
* Disks (per-disk IOPS)
* Network interfaces (packets, bandwidth, errors/drops)
* Mountpoints (space / inodes)

Metrics:

* Detailed network stack info, nstat plugin allows us to grab raw snmp data, ie:
  * TCP handshakes data
  * TCP aborts data
  * ICMP errors, ICMP data
  * SYN data
  * TCP errors (retransmissions/etc)
  * IPv4 errors
  * IPv6 errors
* Conntrack data
* File descriptors
* UDP data
*...And basically everything "generic" you can extract from ordinary linux system

By default all variables points to "all", so dashboard can be huge if you have large amounts of disks/network interfaces.
So far i tested it on machine with 46 disks, 8 interfaces and it loaded correctly (but pretty slow, poor browser barely handled all that data)

{
  "__inputs": [
    {
      "name": "DS_PROMETHEUS_TELEGRAF",
      "label": "Prometheus telegraf",
      "description": "",
      "type": "datasource",
      "pluginId": "prometheus",
      "pluginName": "Prometheus"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "6.3.0"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "prometheus",
      "name": "Prometheus",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "singlestat",
      "name": "Singlestat",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "description": "Prometheus/victoriametrics dashboards for telegraf metrics",
  "editable": true,
  "graphTooltip": 1,
  "id": null,
  "iteration": 1565202458953,
  "links": [],
  "panels": [
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 62044,
      "panels": [],
      "repeat": null,
      "title": "Quick overview",
      "type": "row"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": false,
      "colors": [
        "rgba(245, 54, 54, 0.9)",
        "rgba(237, 129, 40, 0.89)",
        "rgba(50, 172, 45, 0.97)"
      ],
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "decimals": 1,
      "editable": true,
      "error": false,
      "format": "s",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 4,
        "w": 4,
        "x": 0,
        "y": 1
      },
      "height": "150",
      "id": 61858,
      "interval": null,
      "links": [],
      "mappingType": 1,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "nullText": null,
      "options": [],
      "postfix": "",
      "postfixFontSize": "50%",
      "prefix": "",
      "prefixFontSize": "50%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "sparkline": {
        "fillColor": "rgba(31, 118, 189, 0.18)",
        "full": false,
        "lineColor": "rgb(31, 120, 193)",
        "show": false
      },
      "tableColumn": "",
      "targets": [
        {
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "system",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "field",
                "params": [
                  "uptime"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "system_uptime{host =~ \"^$server$\"}"
        }
      ],
      "thresholds": "",
      "title": "Uptime",
      "type": "singlestat",
      "valueFontSize": "100%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "current"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": true,
      "colors": [
        "rgba(50, 172, 45, 0.97)",
        "rgba(237, 129, 40, 0.89)",
        "rgba(245, 54, 54, 0.9)"
      ],
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "decimals": 1,
      "editable": true,
      "error": false,
      "format": "none",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 4,
        "w": 2,
        "x": 4,
        "y": 1
      },
      "height": "150",
      "id": 61859,
      "interval": null,
      "links": [],
      "mappingType": 1,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "nullText": null,
      "options": [],
      "postfix": "",
      "postfixFontSize": "50%",
      "prefix": "",
      "prefixFontSize": "50%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "sparkline": {
        "fillColor": "rgba(31, 118, 189, 0.18)",
        "full": false,
        "lineColor": "rgb(31, 120, 193)",
        "show": true
      },
      "tableColumn": "",
      "targets": [
        {
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "system",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "field",
                "params": [
                  "load5"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "system_load5{host =~ \"^$server$\"}"
        }
      ],
      "thresholds": "4,8,12",
      "title": "LA medium",
      "type": "singlestat",
      "valueFontSize": "80%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "current"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": true,
      "colors": [
        "rgba(50, 172, 45, 0.97)",
        "rgba(237, 129, 40, 0.89)",
        "rgba(245, 54, 54, 0.9)"
      ],
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "decimals": 0,
      "editable": true,
      "error": false,
      "format": "none",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 4,
        "w": 2,
        "x": 6,
        "y": 1
      },
      "height": "150",
      "id": 61862,
      "interval": null,
      "links": [],
      "mappingType": 1,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "nullText": null,
      "options": [],
      "postfix": "",
      "postfixFontSize": "50%",
      "prefix": "",
      "prefixFontSize": "50%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "sparkline": {
        "fillColor": "rgba(31, 118, 189, 0.18)",
        "full": false,
        "lineColor": "rgb(31, 120, 193)",
        "show": false
      },
      "tableColumn": "",
      "targets": [
        {
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "processes",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "field",
                "params": [
                  "zombies"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "processes_zombies{host =~ \"^$server$\"}"
        }
      ],
      "thresholds": "1,5,10",
      "title": "Zombies",
      "type": "singlestat",
      "valueFontSize": "80%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "current"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": true,
      "colors": [
        "rgba(50, 172, 45, 0.97)",
        "rgba(237, 129, 40, 0.89)",
        "rgba(245, 54, 54, 0.9)"
      ],
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "decimals": 0,
      "editable": true,
      "error": false,
      "format": "none",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 4,
        "w": 2,
        "x": 8,
        "y": 1
      },
      "height": "150",
      "id": 61864,
      "interval": null,
      "links": [],
      "mappingType": 1,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "nullText": null,
      "options": [],
      "postfix": "",
      "postfixFontSize": "50%",
      "prefix": "",
      "prefixFontSize": "50%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "sparkline": {
        "fillColor": "rgba(31, 118, 189, 0.18)",
        "full": false,
        "lineColor": "rgb(31, 120, 193)",
        "show": true
      },
      "tableColumn": "",
      "targets": [
        {
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "processes",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "field",
                "params": [
                  "total"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "processes_total{host =~ \"^$server$\"}"
        }
      ],
      "thresholds": "1,5,10",
      "title": "Processes",
      "type": "singlestat",
      "valueFontSize": "80%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "current"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": true,
      "colors": [
        "rgba(50, 172, 45, 0.97)",
        "rgba(237, 129, 40, 0.89)",
        "rgba(245, 54, 54, 0.9)"
      ],
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "decimals": 0,
      "editable": true,
      "error": false,
      "format": "none",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 4,
        "w": 2,
        "x": 10,
        "y": 1
      },
      "height": "150",
      "id": 61865,
      "interval": null,
      "links": [],
      "mappingType": 1,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "nullText": null,
      "options": [],
      "postfix": "",
      "postfixFontSize": "50%",
      "prefix": "",
      "prefixFontSize": "50%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "sparkline": {
        "fillColor": "rgba(31, 118, 189, 0.18)",
        "full": false,
        "lineColor": "rgb(31, 120, 193)",
        "show": true
      },
      "tableColumn": "",
      "targets": [
        {
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "processes",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "field",
                "params": [
                  "total_threads"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "processes_total_threads{host =~ \"^$server$\"}"
        }
      ],
      "thresholds": "1,5,10",
      "title": "Threads",
      "type": "singlestat",
      "valueFontSize": "80%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "current"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": true,
      "colors": [
        "rgba(50, 172, 45, 0.97)",
        "rgba(237, 129, 40, 0.89)",
        "rgba(245, 54, 54, 0.9)"
      ],
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "editable": true,
      "error": false,
      "format": "percent",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": true,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 4,
        "w": 2,
        "x": 12,
        "y": 1
      },
      "height": "150",
      "id": 61861,
      "interval": null,
      "links": [],
      "mappingType": 1,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "nullText": null,
      "options": [],
      "postfix": "",
      "postfixFontSize": "50%",
      "prefix": "",
      "prefixFontSize": "50%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "sparkline": {
        "fillColor": "rgba(31, 118, 189, 0.18)",
        "full": false,
        "lineColor": "rgb(31, 120, 193)",
        "show": false
      },
      "tableColumn": "",
      "targets": [
        {
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "cpu",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "field",
                "params": [
                  "usage_idle"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\",cpu = \"cpu-total\"}",
          "expr": "100-cpu_usage_idle{host =~ \"^$server$\",cpu = \"cpu-total\"}"
        }
      ],
      "thresholds": "70,80,90",
      "title": "CPU usage",
      "type": "singlestat",
      "valueFontSize": "80%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "current"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": true,
      "colors": [
        "rgba(50, 172, 45, 0.97)",
        "rgba(237, 129, 40, 0.89)",
        "rgba(245, 54, 54, 0.9)"
      ],
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "editable": true,
      "error": false,
      "format": "percent",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": true,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 4,
        "w": 2,
        "x": 14,
        "y": 1
      },
      "height": "150",
      "id": 61860,
      "interval": null,
      "links": [],
      "mappingType": 1,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "nullText": null,
      "options": [],
      "postfix": "",
      "postfixFontSize": "50%",
      "prefix": "",
      "prefixFontSize": "50%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "sparkline": {
        "fillColor": "rgba(31, 118, 189, 0.18)",
        "full": false,
        "lineColor": "rgb(31, 120, 193)",
        "show": false
      },
      "tableColumn": "",
      "targets": [
        {
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "mem",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "field",
                "params": [
                  "used_percent"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "mem_used_percent{host =~ \"^$server$\"}"
        }
      ],
      "thresholds": "70,80,90",
      "title": "RAM usage",
      "type": "singlestat",
      "valueFontSize": "80%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "current"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": true,
      "colors": [
        "rgba(50, 172, 45, 0.97)",
        "rgba(237, 129, 40, 0.89)",
        "rgba(245, 54, 54, 0.9)"
      ],
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "decimals": 0,
      "editable": true,
      "error": false,
      "format": "percent",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": true,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 4,
        "w": 2,
        "x": 16,
        "y": 1
      },
      "height": "150",
      "id": 61863,
      "interval": null,
      "links": [],
      "mappingType": 1,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "nullText": null,
      "options": [],
      "postfix": "",
      "postfixFontSize": "50%",
      "prefix": "",
      "prefixFontSize": "50%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "sparkline": {
        "fillColor": "rgba(31, 118, 189, 0.18)",
        "full": false,
        "lineColor": "rgb(31, 120, 193)",
        "show": false
      },
      "tableColumn": "",
      "targets": [
        {
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "swap",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "field",
                "params": [
                  "used_percent"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "swap_used_percent{host =~ \"^$server$\"}"
        }
      ],
      "thresholds": "50,70,90",
      "title": "Swap usage",
      "type": "singlestat",
      "valueFontSize": "80%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "current"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": true,
      "colors": [
        "rgba(50, 172, 45, 0.97)",
        "rgba(237, 129, 40, 0.89)",
        "rgba(245, 54, 54, 0.9)"
      ],
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "decimals": 0,
      "editable": true,
      "error": false,
      "format": "percent",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": true,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 4,
        "w": 2,
        "x": 18,
        "y": 1
      },
      "height": "150",
      "id": 61866,
      "interval": null,
      "links": [],
      "mappingType": 1,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "nullText": null,
      "options": [],
      "postfix": "",
      "postfixFontSize": "50%",
      "prefix": "",
      "prefixFontSize": "50%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "sparkline": {
        "fillColor": "rgba(31, 118, 189, 0.18)",
        "full": false,
        "lineColor": "rgb(31, 120, 193)",
        "show": false
      },
      "tableColumn": "",
      "targets": [
        {
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "disk",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "field",
                "params": [
                  "used_percent"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\",path = \"/\"}",
          "expr": "disk_used_percent{host =~ \"^$server$\",path = \"/\"}"
        }
      ],
      "thresholds": "70,80,90",
      "title": "RootFS used",
      "type": "singlestat",
      "valueFontSize": "80%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "current"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": false,
      "colors": [
        "rgba(245, 54, 54, 0.9)",
        "rgba(237, 129, 40, 0.89)",
        "rgba(50, 172, 45, 0.97)"
      ],
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "decimals": 2,
      "editable": true,
      "error": false,
      "format": "percent",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 4,
        "w": 4,
        "x": 20,
        "y": 1
      },
      "height": "150",
      "id": 61867,
      "interval": null,
      "links": [],
      "mappingType": 1,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "nullText": null,
      "options": [],
      "postfix": "",
      "postfixFontSize": "50%",
      "prefix": "",
      "prefixFontSize": "50%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "sparkline": {
        "fillColor": "rgba(31, 118, 189, 0.18)",
        "full": false,
        "lineColor": "rgb(31, 120, 193)",
        "show": true
      },
      "tableColumn": "",
      "targets": [
        {
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "cpu",
          "policy": "default",
          "query": "SELECT non_negative_derivative(mean(\"usage_iowait\"), 1s) FROM \"cpu\" WHERE \"host\" =~ /^$server$/ AND \"cpu\" = 'cpu-total' AND $timeFilter GROUP BY time($interval) fill(null)",
          "rawQuery": false,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "field",
                "params": [
                  "usage_iowait"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\",cpu = \"cpu-total\"}",
          "expr": "cpu_usage_iowait{host =~ \"^$server$\",cpu = \"cpu-total\"}"
        }
      ],
      "thresholds": "30,40,50",
      "title": "IOWait",
      "type": "singlestat",
      "valueFontSize": "100%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "current"
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 5
      },
      "id": 62045,
      "panels": [],
      "repeat": null,
      "title": "CPU",
      "type": "row"
    },
    {
      "aliasColors": [],
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "editable": true,
      "error": false,
      "fill": 1,
      "fillGradient": 0,
      "grid": [],
      "gridPos": {
        "h": 8,
        "w": 24,
        "x": 0,
        "y": 6
      },
      "height": "300",
      "id": 28239,
      "interval": "$inter",
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": true,
        "hideZero": true,
        "max": true,
        "min": true,
        "rightSide": false,
        "show": true,
        "sort": "current",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host)",
          "hide": false,
          "measurement": "cpu",
          "policy": "default",
          "query": "select mean(usage_user) as user from \"cpu\" WHERE \"host\" =~ /$server$/ and cpu = 'cpu-total' AND $timeFilter GROUP BY time($interval), *",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "usage_user"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\",cpu = 'cpu-total'}",
          "interval": "$inter",
          "col": "user",
          "expr": "median(cpu_usage_user{host =~ \"$server$\",cpu = 'cpu-total'}) by (host)",
          "g": true,
          "legendFormat": "{{host}}: user"
        },
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host)",
          "hide": false,
          "measurement": "cpu",
          "policy": "default",
          "query": "select mean(usage_system) as system from \"cpu\" WHERE \"host\" =~ /$server$/ and cpu = 'cpu-total' AND $timeFilter GROUP BY time($interval), *",
          "rawQuery": true,
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "usage_system"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\",cpu = 'cpu-total'}",
          "interval": "$inter",
          "col": "system",
          "expr": "median(cpu_usage_system{host =~ \"$server$\",cpu = 'cpu-total'}) by (host)",
          "g": true,
          "legendFormat": "{{host}}: system"
        },
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host)",
          "hide": false,
          "measurement": "cpu",
          "policy": "default",
          "query": "select mean(usage_softirq) as softirq from \"cpu\" WHERE \"host\" =~ /$server$/ and cpu = 'cpu-total' AND $timeFilter GROUP BY time($interval), *",
          "rawQuery": true,
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "usage_softirq"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\",cpu = 'cpu-total'}",
          "interval": "$inter",
          "col": "softirq",
          "expr": "median(cpu_usage_softirq{host =~ \"$server$\",cpu = 'cpu-total'}) by (host)",
          "g": true,
          "legendFormat": "{{host}}: softirq"
        },
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host)",
          "hide": false,
          "measurement": "cpu",
          "policy": "default",
          "query": "select mean(usage_steal) as steal from \"cpu\" WHERE \"host\" =~ /$server$/ and cpu = 'cpu-total' AND $timeFilter GROUP BY time($interval), *",
          "rawQuery": true,
          "refId": "E",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "usage_steal"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\",cpu = 'cpu-total'}",
          "interval": "$inter",
          "col": "steal",
          "expr": "median(cpu_usage_steal{host =~ \"$server$\",cpu = 'cpu-total'}) by (host)",
          "g": true,
          "legendFormat": "{{host}}: steal"
        },
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host)",
          "hide": false,
          "measurement": "cpu",
          "policy": "default",
          "query": "select mean(usage_nice) as nice from \"cpu\" WHERE \"host\" =~ /$server$/ and cpu = 'cpu-total' AND $timeFilter GROUP BY time($interval), *",
          "rawQuery": true,
          "refId": "F",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "usage_nice"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\",cpu = 'cpu-total'}",
          "interval": "$inter",
          "col": "nice",
          "expr": "median(cpu_usage_nice{host =~ \"$server$\",cpu = 'cpu-total'}) by (host)",
          "g": true,
          "legendFormat": "{{host}}: nice"
        },
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host)",
          "hide": false,
          "measurement": "cpu",
          "policy": "default",
          "query": "select mean(usage_irq) as irq from \"cpu\" WHERE \"host\" =~ /$server$/ and cpu = 'cpu-total' AND $timeFilter GROUP BY time($interval), *",
          "rawQuery": true,
          "refId": "G",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "usage_irq"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\",cpu = 'cpu-total'}",
          "interval": "$inter",
          "col": "irq",
          "expr": "median(cpu_usage_irq{host =~ \"$server$\",cpu = 'cpu-total'}) by (host)",
          "g": true,
          "legendFormat": "{{host}}: irq"
        },
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host)",
          "hide": false,
          "measurement": "cpu",
          "policy": "default",
          "query": "select mean(usage_iowait) as iowait from \"cpu\" WHERE \"host\" =~ /$server$/ and cpu = 'cpu-total' AND $timeFilter GROUP BY time($interval), *",
          "rawQuery": true,
          "refId": "H",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "usage_iowait"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\",cpu = 'cpu-total'}",
          "interval": "$inter",
          "col": "iowait",
          "expr": "median(cpu_usage_iowait{host =~ \"$server$\",cpu = 'cpu-total'}) by (host)",
          "g": true,
          "legendFormat": "{{host}}: iowait"
        },
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host)",
          "hide": false,
          "measurement": "cpu",
          "policy": "default",
          "query": "select mean(usage_guest) as guest from \"cpu\" WHERE \"host\" =~ /$server$/ and cpu = 'cpu-total' AND $timeFilter GROUP BY time($interval), *",
          "rawQuery": true,
          "refId": "I",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "usage_guest"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\",cpu = 'cpu-total'}",
          "interval": "$inter",
          "col": "guest",
          "expr": "median(cpu_usage_guest{host =~ \"$server$\",cpu = 'cpu-total'}) by (host)",
          "g": true,
          "legendFormat": "{{host}}: guest"
        },
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host)",
          "hide": false,
          "measurement": "cpu",
          "policy": "default",
          "query": "select mean(usage_guest_nice) as guest_nice from \"cpu\" WHERE \"host\" =~ /$server$/ and cpu = 'cpu-total' AND $timeFilter GROUP BY time($interval), *",
          "rawQuery": true,
          "refId": "J",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "usage_guest_nice"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\",cpu = 'cpu-total'}",
          "interval": "$inter",
          "col": "guest_nice",
          "expr": "median(cpu_usage_guest_nice{host =~ \"$server$\",cpu = 'cpu-total'}) by (host)",
          "g": true,
          "legendFormat": "{{host}}: guest_nice"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "CPU usage",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 0,
        "value_type": "cumulative"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "percent",
          "logBase": 1,
          "max": 100,
          "min": 0,
          "show": true
        },
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": [],
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "editable": true,
      "error": false,
      "fill": 0,
      "fillGradient": 0,
      "grid": [],
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 0,
        "y": 14
      },
      "height": "350",
      "id": 54694,
      "interval": "$inter",
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host)",
          "measurement": "system",
          "policy": "default",
          "query": "select mean(load1) as short from \"system\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), * ORDER BY asc",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "load1"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\"}",
          "interval": "$inter",
          "col": "short",
          "expr": "median(system_load1{host =~ \"$server$\"}) by (host)",
          "g": true,
          "legendFormat": "{{host}}: short"
        },
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host)",
          "measurement": "system",
          "policy": "default",
          "query": "select mean(load5) as medium from \"system\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), * ORDER BY asc",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "load5"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\"}",
          "interval": "$inter",
          "col": "medium",
          "expr": "median(system_load5{host =~ \"$server$\"}) by (host)",
          "g": true,
          "legendFormat": "{{host}}: medium"
        },
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host)",
          "measurement": "system",
          "policy": "default",
          "query": "select mean(load15) as long from \"system\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), * ORDER BY asc",
          "rawQuery": true,
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "load15"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\"}",
          "interval": "$inter",
          "col": "long",
          "expr": "median(system_load15{host =~ \"$server$\"}) by (host)",
          "g": true,
          "legendFormat": "{{host}}: long"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Load averages",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 0,
        "value_type": "cumulative"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": 0,
          "show": true
        },
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": [],
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "editable": true,
      "error": false,
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 12,
        "y": 14
      },
      "height": "350",
      "id": 61852,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": true,
        "hideZero": true,
        "max": true,
        "min": false,
        "rightSide": false,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "groupBy": " by (host)",
          "measurement": "processes",
          "policy": "default",
          "query": "select mean(running) as running from \"processes\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "running"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\"}",
          "interval": "$inter",
          "col": "running",
          "expr": "median(processes_running{host =~ \"$server$\"}) by (host)",
          "legendFormat": "{{host}}: running"
        },
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "groupBy": " by (host)",
          "measurement": "processes",
          "policy": "default",
          "query": "select mean(blocked) as blocked from \"processes\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc",
          "rawQuery": true,
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "blocked"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\"}",
          "interval": "$inter",
          "col": "blocked",
          "expr": "median(processes_blocked{host =~ \"$server$\"}) by (host)",
          "legendFormat": "{{host}}: blocked"
        },
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "groupBy": " by (host)",
          "measurement": "processes",
          "policy": "default",
          "query": "select mean(sleeping) as sleeping from \"processes\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc",
          "rawQuery": true,
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "sleeping"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\"}",
          "interval": "$inter",
          "col": "sleeping",
          "expr": "median(processes_sleeping{host =~ \"$server$\"}) by (host)",
          "legendFormat": "{{host}}: sleeping"
        },
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "groupBy": " by (host)",
          "measurement": "processes",
          "policy": "default",
          "query": "select mean(stopped) as stopped from \"processes\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc",
          "rawQuery": true,
          "refId": "E",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "stopped"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\"}",
          "interval": "$inter",
          "col": "stopped",
          "expr": "median(processes_stopped{host =~ \"$server$\"}) by (host)",
          "legendFormat": "{{host}}: stopped"
        },
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "groupBy": " by (host)",
          "measurement": "processes",
          "policy": "default",
          "query": "select mean(zombies) as zombies from \"processes\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc",
          "rawQuery": true,
          "refId": "F",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "zombies"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\"}",
          "interval": "$inter",
          "col": "zombies",
          "expr": "median(processes_zombies{host =~ \"$server$\"}) by (host)",
          "legendFormat": "{{host}}: zombies"
        },
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "groupBy": " by (host)",
          "measurement": "processes",
          "policy": "default",
          "query": "select mean(paging) as paging from \"processes\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc",
          "rawQuery": true,
          "refId": "G",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "paging"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\"}",
          "interval": "$inter",
          "col": "paging",
          "expr": "median(processes_paging{host =~ \"$server$\"}) by (host)",
          "legendFormat": "{{host}}: paging"
        },
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "groupBy": " by (host)",
          "measurement": "processes",
          "policy": "default",
          "query": "select mean(unknown) as unknown from \"processes\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc",
          "rawQuery": true,
          "refId": "H",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "unknown"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\"}",
          "interval": "$inter",
          "col": "unknown",
          "expr": "median(processes_unknown{host =~ \"$server$\"}) by (host)",
          "legendFormat": "{{host}}: unknown"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Processes",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 23
      },
      "id": 62046,
      "panels": [],
      "repeat": null,
      "title": "Memory",
      "type": "row"
    },
    {
      "aliasColors": [],
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "editable": true,
      "error": false,
      "fill": 1,
      "fillGradient": 0,
      "grid": [],
      "gridPos": {
        "h": 10,
        "w": 24,
        "x": 0,
        "y": 24
      },
      "height": "400",
      "id": 12054,
      "interval": "$inter",
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "show": true,
        "sort": "current",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "/total/",
          "color": "#BF1B00",
          "fill": 0,
          "linewidth": 2
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host)",
          "measurement": "mem",
          "policy": "default",
          "query": "select mean(total) as total from \"mem\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "total"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\"}",
          "interval": "$inter",
          "col": "total",
          "expr": "median(mem_total{host =~ \"$server$\"}) by (host)",
          "legendFormat": "{{host}}: total"
        },
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host)",
          "measurement": "mem",
          "policy": "default",
          "query": "select mean(used) as used from \"mem\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "used"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\"}",
          "interval": "$inter",
          "col": "used",
          "expr": "median(mem_used{host =~ \"$server$\"}) by (host)",
          "legendFormat": "{{host}}: used"
        },
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host)",
          "measurement": "mem",
          "policy": "default",
          "query": "select mean(cached) as cached from \"mem\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc",
          "rawQuery": true,
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "cached"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\"}",
          "interval": "$inter",
          "col": "cached",
          "expr": "median(mem_cached{host =~ \"$server$\"}) by (host)",
          "legendFormat": "{{host}}: cached"
        },
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host)",
          "measurement": "mem",
          "policy": "default",
          "query": "select mean(free) as free from \"mem\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc",
          "rawQuery": true,
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "free"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\"}",
          "interval": "$inter",
          "col": "free",
          "expr": "median(mem_free{host =~ \"$server$\"}) by (host)",
          "legendFormat": "{{host}}: free"
        },
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host)",
          "measurement": "mem",
          "policy": "default",
          "query": "select mean(buffered) as buffered from \"mem\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc",
          "rawQuery": true,
          "refId": "E",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "buffered"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\"}",
          "interval": "$inter",
          "col": "buffered",
          "expr": "median(mem_buffered{host =~ \"$server$\"}) by (host)",
          "legendFormat": "{{host}}: buffered"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Memory usage",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 0,
        "value_type": "cumulative"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "bytes",
          "logBase": 1,
          "max": null,
          "min": 0,
          "show": true
        },
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 34
      },
      "id": 62047,
      "panels": [],
      "repeat": null,
      "title": "Kernel",
      "type": "row"
    },
    {
      "aliasColors": [],
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "editable": true,
      "error": false,
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 0,
        "y": 35
      },
      "height": "",
      "id": 61855,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "rightSide": false,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "groupBy": " by (host)",
          "measurement": "kernel",
          "policy": "default",
          "query": "SELECT non_negative_derivative(mean(context_switches),1s)as \"context switches\"  FROM \"kernel\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "context_switches"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\"}",
          "interval": "$inter",
          "expr": "abs(ideriv(median(kernel_context_switches{host =~ \"$server$\"}) by (host)))",
          "legendFormat": "{{host}}: context_switches"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Context switches",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "ops",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": [],
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "editable": true,
      "error": false,
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 8,
        "y": 35
      },
      "height": "",
      "id": 61960,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "rightSide": false,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "groupBy": " by (host)",
          "measurement": "kernel",
          "policy": "default",
          "query": "SELECT non_negative_derivative(mean(processes_forked),1s) as forks FROM \"kernel\" WHERE \"host\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval), host fill(null)",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "processes_forked"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "interval": "$inter",
          "col": "forks",
          "expr": "abs(ideriv(median(kernel_processes_forked{host =~ \"^$server$\"}) by (host)))",
          "legendFormat": "{{host}}: forks"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Forks",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "ops",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": [],
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "editable": true,
      "error": false,
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 16,
        "y": 35
      },
      "height": "",
      "id": 62042,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "rightSide": false,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "/max/",
          "color": "#890F02",
          "fill": 0
        },
        {
          "alias": "/opened/",
          "color": "#0A437C"
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "groupBy": " by (host)",
          "measurement": "linux_sysctl_fs",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT mean(\"file-max\") as max FROM \"linux_sysctl_fs\" WHERE \"host\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval), host fill(null)",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "file-max"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "interval": "$inter",
          "col": "max",
          "expr": "median(linux_sysctl_fs_file-max{host =~ \"^$server$\"}) by (host)",
          "legendFormat": "{{host}}: max"
        },
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "groupBy": " by (host)",
          "measurement": "linux_sysctl_fs",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT mean(\"file-nr\") as opened FROM \"linux_sysctl_fs\" WHERE \"host\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval), host fill(null)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "file-nr"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "interval": "$inter",
          "col": "opened",
          "expr": "median(linux_sysctl_fs_file-nr{host =~ \"^$server$\"}) by (host)",
          "legendFormat": "{{host}}: opened"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "File descriptors",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 42
      },
      "id": 62048,
      "panels": [],
      "repeat": null,
      "title": "Interrupts",
      "type": "row"
    },
    {
      "aliasColors": [],
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 7,
        "w": 24,
        "x": 0,
        "y": 43
      },
      "id": 62043,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": true,
        "hideEmpty": true,
        "hideZero": true,
        "max": false,
        "min": false,
        "rightSide": true,
        "show": true,
        "sort": "current",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_host: $tag_irq",
          "dsType": "prometheus",
          "groupBy": " by (irq,host)",
          "measurement": "interrupts",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "total"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(idelta(median(interrupts_total{host =~ \"^$server$\"}) by (irq,host)))",
          "legendFormat": "{{host}}: {{irq}}"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Interrupts",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "ops",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 50
      },
      "id": 62049,
      "panels": [],
      "repeat": null,
      "title": "Per-cpu usage",
      "type": "row"
    },
    {
      "aliasColors": [],
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "editable": true,
      "error": false,
      "fill": 1,
      "fillGradient": 0,
      "grid": [],
      "gridPos": {
        "h": 7,
        "w": 6,
        "x": 0,
        "y": 51
      },
      "height": "",
      "id": 61868,
      "interval": "$inter",
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": true,
        "hideZero": true,
        "max": true,
        "min": false,
        "rightSide": false,
        "show": true,
        "sort": "current",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "maxPerRow": 4,
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "repeat": "cpu",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_host: $cpu $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host)",
          "hide": false,
          "measurement": "cpu",
          "policy": "default",
          "query": "select mean(usage_user) as user from \"cpu\" WHERE \"host\" =~ /$server$/ and cpu = '$cpu' AND $timeFilter GROUP BY time($interval), *",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "usage_user"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\",cpu = '$cpu'}",
          "interval": "$inter",
          "col": "user",
          "expr": "median(cpu_usage_user{host =~ \"$server$\",cpu = '$cpu'}) by (host)",
          "g": true,
          "legendFormat": "{{host}}: $cpu user"
        },
        {
          "alias": "$tag_host: $cpu $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host)",
          "hide": false,
          "measurement": "cpu",
          "policy": "default",
          "query": "select mean(usage_system) as system from \"cpu\" WHERE \"host\" =~ /$server$/ and cpu = '$cpu' AND $timeFilter GROUP BY time($interval), *",
          "rawQuery": true,
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "usage_system"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\",cpu = '$cpu'}",
          "interval": "$inter",
          "col": "system",
          "expr": "median(cpu_usage_system{host =~ \"$server$\",cpu = '$cpu'}) by (host)",
          "g": true,
          "legendFormat": "{{host}}: $cpu system"
        },
        {
          "alias": "$tag_host: $cpu $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host)",
          "hide": false,
          "measurement": "cpu",
          "policy": "default",
          "query": "select mean(usage_softirq) as softirq from \"cpu\" WHERE \"host\" =~ /$server$/ and cpu = '$cpu' AND $timeFilter GROUP BY time($interval), *",
          "rawQuery": true,
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "usage_softirq"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\",cpu = '$cpu'}",
          "interval": "$inter",
          "col": "softirq",
          "expr": "median(cpu_usage_softirq{host =~ \"$server$\",cpu = '$cpu'}) by (host)",
          "g": true,
          "legendFormat": "{{host}}: $cpu softirq"
        },
        {
          "alias": "$tag_host: $cpu $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host)",
          "hide": false,
          "measurement": "cpu",
          "policy": "default",
          "query": "select mean(usage_steal) as steal from \"cpu\" WHERE \"host\" =~ /$server$/ and cpu = '$cpu' AND $timeFilter GROUP BY time($interval), *",
          "rawQuery": true,
          "refId": "E",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "usage_steal"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\",cpu = '$cpu'}",
          "interval": "$inter",
          "col": "steal",
          "expr": "median(cpu_usage_steal{host =~ \"$server$\",cpu = '$cpu'}) by (host)",
          "g": true,
          "legendFormat": "{{host}}: $cpu steal"
        },
        {
          "alias": "$tag_host: $cpu $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host)",
          "hide": false,
          "measurement": "cpu",
          "policy": "default",
          "query": "select mean(usage_nice) as nice from \"cpu\" WHERE \"host\" =~ /$server$/ and cpu = '$cpu' AND $timeFilter GROUP BY time($interval), *",
          "rawQuery": true,
          "refId": "F",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "usage_nice"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\",cpu = '$cpu'}",
          "interval": "$inter",
          "col": "nice",
          "expr": "median(cpu_usage_nice{host =~ \"$server$\",cpu = '$cpu'}) by (host)",
          "g": true,
          "legendFormat": "{{host}}: $cpu nice"
        },
        {
          "alias": "$tag_host: $cpu $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host)",
          "hide": false,
          "measurement": "cpu",
          "policy": "default",
          "query": "select mean(usage_irq) as irq from \"cpu\" WHERE \"host\" =~ /$server$/ and cpu = '$cpu' AND $timeFilter GROUP BY time($interval), *",
          "rawQuery": true,
          "refId": "G",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "usage_irq"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\",cpu = '$cpu'}",
          "interval": "$inter",
          "col": "irq",
          "expr": "median(cpu_usage_irq{host =~ \"$server$\",cpu = '$cpu'}) by (host)",
          "g": true,
          "legendFormat": "{{host}}: $cpu irq"
        },
        {
          "alias": "$tag_host: $cpu $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host)",
          "hide": false,
          "measurement": "cpu",
          "policy": "default",
          "query": "select mean(usage_iowait) as iowait from \"cpu\" WHERE \"host\" =~ /$server$/ and cpu = '$cpu' AND $timeFilter GROUP BY time($interval), *",
          "rawQuery": true,
          "refId": "H",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "usage_iowait"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\",cpu = '$cpu'}",
          "interval": "$inter",
          "col": "iowait",
          "expr": "median(cpu_usage_iowait{host =~ \"$server$\",cpu = '$cpu'}) by (host)",
          "g": true,
          "legendFormat": "{{host}}: $cpu iowait"
        },
        {
          "alias": "$tag_host: $cpu $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host)",
          "hide": false,
          "measurement": "cpu",
          "policy": "default",
          "query": "select mean(usage_guest) as guest from \"cpu\" WHERE \"host\" =~ /$server$/ and cpu = '$cpu' AND $timeFilter GROUP BY time($interval), *",
          "rawQuery": true,
          "refId": "I",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "usage_guest"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\",cpu = '$cpu'}",
          "interval": "$inter",
          "col": "guest",
          "expr": "median(cpu_usage_guest{host =~ \"$server$\",cpu = '$cpu'}) by (host)",
          "g": true,
          "legendFormat": "{{host}}: $cpu guest"
        },
        {
          "alias": "$tag_host: $cpu $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host)",
          "hide": false,
          "measurement": "cpu",
          "policy": "default",
          "query": "select mean(usage_guest_nice) as guest_nice from \"cpu\" WHERE \"host\" =~ /$server$/ and cpu = '$cpu' AND $timeFilter GROUP BY time($interval), *",
          "rawQuery": true,
          "refId": "J",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "usage_guest_nice"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\",cpu = '$cpu'}",
          "interval": "$inter",
          "col": "guest_nice",
          "expr": "median(cpu_usage_guest_nice{host =~ \"$server$\",cpu = '$cpu'}) by (host)",
          "g": true,
          "legendFormat": "{{host}}: $cpu guest_nice"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "CPU usage for $cpu",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 0,
        "value_type": "cumulative"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "percent",
          "logBase": 1,
          "max": 100,
          "min": 0,
          "show": true
        },
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 58
      },
      "id": 62050,
      "panels": [],
      "repeat": null,
      "title": "Conntrack",
      "type": "row"
    },
    {
      "aliasColors": [],
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "editable": true,
      "error": false,
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 7,
        "w": 24,
        "x": 0,
        "y": 59
      },
      "id": 61991,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": false,
        "rightSide": false,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "/.*: max.*/",
          "color": "#890F02",
          "fill": 0
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$server: current",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "conntrack",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "ip_conntrack_count"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "median(conntrack_ip_conntrack_count{host =~ \"^$server$\"})",
          "legendFormat": "$server: current"
        },
        {
          "alias": "$server: maximum",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "conntrack",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "ip_conntrack_max"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "median(conntrack_ip_conntrack_max{host =~ \"^$server$\"})",
          "legendFormat": "$server: maximum"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Netfilter conntrack usage",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 66
      },
      "id": 62051,
      "panels": [],
      "repeat": null,
      "title": "Network stack (TCP)",
      "type": "row"
    },
    {
      "aliasColors": [],
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "editable": true,
      "error": false,
      "fill": 1,
      "fillGradient": 0,
      "grid": [],
      "gridPos": {
        "h": 7,
        "w": 24,
        "x": 0,
        "y": 67
      },
      "id": 61854,
      "interval": "$inter",
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": true,
        "hideZero": true,
        "max": true,
        "min": false,
        "rightSide": true,
        "show": true,
        "sort": "avg",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "function": "derivative",
          "groupBy": " by (host)",
          "measurement": "netstat",
          "policy": "default",
          "query": "select mean(tcp_close) as CLOSED from \"netstat\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "tcp_close"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\"}",
          "interval": "$inter",
          "col": "CLOSED",
          "expr": "median(netstat_tcp_close{host =~ \"$server$\"}) by (host)",
          "legendFormat": "{{host}}: CLOSED"
        },
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "function": "derivative",
          "groupBy": " by (host)",
          "measurement": "netstat",
          "policy": "default",
          "query": "select mean(tcp_close_wait) as CLOSE_WAIT from \"netstat\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "tcp_close_wait"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\"}",
          "interval": "$inter",
          "col": "CLOSE_WAIT",
          "expr": "median(netstat_tcp_close_wait{host =~ \"$server$\"}) by (host)",
          "legendFormat": "{{host}}: CLOSE_WAIT"
        },
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "function": "derivative",
          "groupBy": " by (host)",
          "measurement": "netstat",
          "policy": "default",
          "query": "select mean(tcp_closing) as CLOSING from \"netstat\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc",
          "rawQuery": true,
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "tcp_closing"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\"}",
          "interval": "$inter",
          "col": "CLOSING",
          "expr": "median(netstat_tcp_closing{host =~ \"$server$\"}) by (host)",
          "legendFormat": "{{host}}: CLOSING"
        },
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "function": "derivative",
          "groupBy": " by (host)",
          "measurement": "netstat",
          "policy": "default",
          "query": "select mean(tcp_established) as ESTABLISHED from \"netstat\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc",
          "rawQuery": true,
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "tcp_established"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\"}",
          "interval": "$inter",
          "col": "ESTABLISHED",
          "expr": "median(netstat_tcp_established{host =~ \"$server$\"}) by (host)",
          "legendFormat": "{{host}}: ESTABLISHED"
        },
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "function": "derivative",
          "groupBy": " by (host)",
          "measurement": "netstat",
          "policy": "default",
          "query": "select mean(tcp_fin_wait1) as FIN_WAIT1 from \"netstat\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc",
          "rawQuery": true,
          "refId": "E",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "tcp_fin_wait1"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\"}",
          "interval": "$inter",
          "col": "FIN_WAIT1",
          "expr": "median(netstat_tcp_fin_wait1{host =~ \"$server$\"}) by (host)",
          "legendFormat": "{{host}}: FIN_WAIT1"
        },
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "function": "derivative",
          "groupBy": " by (host)",
          "measurement": "netstat",
          "policy": "default",
          "query": "select mean(tcp_fin_wait2) as FIN_WAIT2 from \"netstat\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc",
          "rawQuery": true,
          "refId": "F",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "tcp_fin_wait2"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\"}",
          "interval": "$inter",
          "col": "FIN_WAIT2",
          "expr": "median(netstat_tcp_fin_wait2{host =~ \"$server$\"}) by (host)",
          "legendFormat": "{{host}}: FIN_WAIT2"
        },
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "function": "derivative",
          "groupBy": " by (host)",
          "measurement": "netstat",
          "policy": "default",
          "query": "select mean(tcp_last_ack) as LAST_ACK from \"netstat\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc",
          "rawQuery": true,
          "refId": "G",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "tcp_last_ack"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\"}",
          "interval": "$inter",
          "col": "LAST_ACK",
          "expr": "median(netstat_tcp_last_ack{host =~ \"$server$\"}) by (host)",
          "legendFormat": "{{host}}: LAST_ACK"
        },
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "function": "derivative",
          "groupBy": " by (host)",
          "measurement": "netstat",
          "policy": "default",
          "query": "select mean(tcp_syn_recv) as SYN_RECV from \"netstat\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc",
          "rawQuery": true,
          "refId": "H",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "tcp_syn_recv"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\"}",
          "interval": "$inter",
          "col": "SYN_RECV",
          "expr": "median(netstat_tcp_syn_recv{host =~ \"$server$\"}) by (host)",
          "legendFormat": "{{host}}: SYN_RECV"
        },
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "function": "derivative",
          "groupBy": " by (host)",
          "measurement": "netstat",
          "policy": "default",
          "query": "select mean(tcp_syn_sent) as SYN_SENT from \"netstat\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc",
          "rawQuery": true,
          "refId": "I",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "tcp_syn_sent"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\"}",
          "interval": "$inter",
          "col": "SYN_SENT",
          "expr": "median(netstat_tcp_syn_sent{host =~ \"$server$\"}) by (host)",
          "legendFormat": "{{host}}: SYN_SENT"
        },
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "function": "derivative",
          "groupBy": " by (host)",
          "measurement": "netstat",
          "policy": "default",
          "query": "select mean(tcp_time_wait) as TIME_WAIT from \"netstat\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc",
          "rawQuery": true,
          "refId": "J",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "tcp_time_wait"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\"}",
          "interval": "$inter",
          "col": "TIME_WAIT",
          "expr": "median(netstat_tcp_time_wait{host =~ \"$server$\"}) by (host)",
          "legendFormat": "{{host}}: TIME_WAIT"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "TCP connections",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 0,
        "value_type": "cumulative"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": [],
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "editable": true,
      "error": false,
      "fill": 0,
      "fillGradient": 0,
      "grid": [],
      "gridPos": {
        "h": 7,
        "w": 24,
        "x": 0,
        "y": 74
      },
      "id": 61969,
      "interval": "$inter",
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": true,
        "hideZero": true,
        "max": true,
        "min": false,
        "rightSide": true,
        "show": true,
        "sort": "avg",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "/in/",
          "transform": "negative-Y"
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "on close",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "nstat",
          "policy": "default",
          "query": "SELECT non_negative_derivative(mean(tcp_estabresets), 1s) FROM \"net\" WHERE \"host\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval) fill(null)",
          "rawQuery": false,
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "TcpExtTCPAbortOnClose"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(idelta(median(nstat_TcpExtTCPAbortOnClose{host =~ \"^$server$\"})))",
          "legendFormat": "on close"
        },
        {
          "alias": "on data",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "nstat",
          "policy": "default",
          "query": "SELECT non_negative_derivative(mean(tcp_estabresets), 1s) FROM \"net\" WHERE \"host\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval) fill(null)",
          "rawQuery": false,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "TcpExtTCPAbortOnData"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(idelta(median(nstat_TcpExtTCPAbortOnData{host =~ \"^$server$\"})))",
          "legendFormat": "on data"
        },
        {
          "alias": "timeout",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "nstat",
          "policy": "default",
          "query": "SELECT non_negative_derivative(mean(tcp_estabresets), 1s) FROM \"net\" WHERE \"host\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval) fill(null)",
          "rawQuery": false,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "TcpExtTCPAbortOnTimeout"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(idelta(median(nstat_TcpExtTCPAbortOnTimeout{host =~ \"^$server$\"})))",
          "legendFormat": "timeout"
        },
        {
          "alias": "failed",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "nstat",
          "policy": "default",
          "query": "SELECT non_negative_derivative(mean(tcp_estabresets), 1s) FROM \"net\" WHERE \"host\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval) fill(null)",
          "rawQuery": false,
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "TcpExtTCPAbortFailed"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(idelta(median(nstat_TcpExtTCPAbortFailed{host =~ \"^$server$\"})))",
          "legendFormat": "failed"
        },
        {
          "alias": "linger",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "nstat",
          "policy": "default",
          "query": "SELECT non_negative_derivative(mean(tcp_estabresets), 1s) FROM \"net\" WHERE \"host\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval) fill(null)",
          "rawQuery": false,
          "refId": "E",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "TcpExtTCPAbortOnLinger"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(idelta(median(nstat_TcpExtTCPAbortOnLinger{host =~ \"^$server$\"})))",
          "legendFormat": "linger"
        },
        {
          "alias": "memory",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "nstat",
          "policy": "default",
          "query": "SELECT non_negative_derivative(mean(tcp_estabresets), 1s) FROM \"net\" WHERE \"host\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval) fill(null)",
          "rawQuery": false,
          "refId": "F",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "TcpExtTCPAbortOnMemory"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(idelta(median(nstat_TcpExtTCPAbortOnMemory{host =~ \"^$server$\"})))",
          "legendFormat": "memory"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "TCP aborts",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 0,
        "value_type": "cumulative"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "ops",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": [],
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "decimals": 0,
      "editable": true,
      "error": false,
      "fill": 0,
      "fillGradient": 0,
      "grid": [],
      "gridPos": {
        "h": 7,
        "w": 24,
        "x": 0,
        "y": 81
      },
      "id": 61968,
      "interval": "$inter",
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": true,
        "hideZero": true,
        "max": true,
        "min": false,
        "rightSide": true,
        "show": true,
        "sort": "avg",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "/in/",
          "transform": "negative-Y"
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "estabresets",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "net",
          "policy": "default",
          "query": "SELECT non_negative_derivative(mean(tcp_estabresets), 1s) FROM \"net\" WHERE \"host\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval) fill(null)",
          "rawQuery": true,
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "tcp_estabresets"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "interval": "$inter",
          "expr": "abs(ideriv(median(net_tcp_estabresets{host =~ \"^$server$\"})))",
          "legendFormat": "estabresets"
        },
        {
          "alias": "outrsts",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "net",
          "policy": "default",
          "query": "SELECT non_negative_derivative(mean(tcp_outrsts), 1s) FROM \"net\" WHERE \"host\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval) fill(null)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "tcp_outrsts"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "interval": "$inter",
          "expr": "abs(ideriv(median(net_tcp_outrsts{host =~ \"^$server$\"})))",
          "legendFormat": "outrsts"
        },
        {
          "alias": "activeopens",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "net",
          "policy": "default",
          "query": "SELECT non_negative_derivative(mean(tcp_activeopens), 1s) FROM \"net\" WHERE \"host\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval) fill(null)",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "tcp_activeopens"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "interval": "$inter",
          "expr": "abs(ideriv(median(net_tcp_activeopens{host =~ \"^$server$\"})))",
          "legendFormat": "activeopens"
        },
        {
          "alias": "passiveopens",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "net",
          "policy": "default",
          "query": "SELECT non_negative_derivative(mean(tcp_passiveopens), 1s) FROM \"net\" WHERE \"host\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval) fill(null)",
          "rawQuery": true,
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "tcp_passiveopens"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "interval": "$inter",
          "expr": "abs(ideriv(median(net_tcp_passiveopens{host =~ \"^$server$\"})))",
          "legendFormat": "passiveopens"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "TCP handshake issues",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 0,
        "value_type": "cumulative"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "ops",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": [],
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "editable": true,
      "error": false,
      "fill": 1,
      "fillGradient": 0,
      "grid": [],
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 0,
        "y": 88
      },
      "id": 61967,
      "interval": "$inter",
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": true,
        "hideZero": true,
        "max": true,
        "min": false,
        "rightSide": false,
        "show": true,
        "sort": "avg",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "/in/",
          "transform": "negative-Y"
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "failed",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "nstat",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "TcpExtSyncookiesFailed"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(ideriv(median(nstat_TcpExtSyncookiesFailed{host =~ \"^$server$\"})))",
          "legendFormat": "failed"
        },
        {
          "alias": "received",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "nstat",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "TcpExtSyncookiesRecv"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(ideriv(median(nstat_TcpExtSyncookiesRecv{host =~ \"^$server$\"})))",
          "legendFormat": "received"
        },
        {
          "alias": "sent",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "nstat",
          "policy": "default",
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "TcpExtSyncookiesSent"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(ideriv(median(nstat_TcpExtSyncookiesSent{host =~ \"^$server$\"})))",
          "legendFormat": "sent"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "TCP SYN cookies",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 0,
        "value_type": "cumulative"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": [],
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "editable": true,
      "error": false,
      "fill": 1,
      "fillGradient": 0,
      "grid": [],
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 8,
        "y": 88
      },
      "id": 61978,
      "interval": "$inter",
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": true,
        "hideZero": true,
        "max": true,
        "min": false,
        "rightSide": false,
        "show": true,
        "sort": "avg",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "/in/",
          "transform": "negative-Y"
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "in echos",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "nstat",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "IcmpInEchos"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(ideriv(median(nstat_IcmpInEchos{host =~ \"^$server$\"})))",
          "legendFormat": "in echos"
        },
        {
          "alias": "out echos",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "nstat",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "IcmpOutEchos"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(ideriv(median(nstat_IcmpOutEchos{host =~ \"^$server$\"})))",
          "legendFormat": "out echos"
        },
        {
          "alias": "in echo responses",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "nstat",
          "policy": "default",
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "IcmpInEchoReps"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(ideriv(median(nstat_IcmpInEchoReps{host =~ \"^$server$\"})))",
          "legendFormat": "in echo responses"
        },
        {
          "alias": "out echo responses",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "nstat",
          "policy": "default",
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "IcmpOutEchoReps"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(ideriv(median(nstat_IcmpOutEchoReps{host =~ \"^$server$\"})))",
          "legendFormat": "out echo responses"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "ICMP packets",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 0,
        "value_type": "cumulative"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "pps",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": [],
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "decimals": 1,
      "editable": true,
      "error": false,
      "fill": 1,
      "fillGradient": 0,
      "grid": [],
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 16,
        "y": 88
      },
      "id": 61979,
      "interval": "$inter",
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": true,
        "hideZero": true,
        "max": true,
        "min": false,
        "rightSide": false,
        "show": true,
        "sort": "avg",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "/in/",
          "transform": "negative-Y"
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "in errors",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "nstat",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "IcmpInErrors"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(ideriv(median(nstat_IcmpInErrors{host =~ \"^$server$\"})))",
          "legendFormat": "in errors"
        },
        {
          "alias": "out errors",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "nstat",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "IcmpOutErrors"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(ideriv(median(nstat_IcmpOutErrors{host =~ \"^$server$\"})))",
          "legendFormat": "out errors"
        },
        {
          "alias": "checksum errors",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "nstat",
          "policy": "default",
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "IcmpInCsumErrors"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(ideriv(median(nstat_IcmpInCsumErrors{host =~ \"^$server$\"})))",
          "legendFormat": "checksum errors"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "ICMP errors",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 0,
        "value_type": "cumulative"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": [],
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "editable": true,
      "error": false,
      "fill": 1,
      "fillGradient": 0,
      "grid": [],
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 95
      },
      "id": 61980,
      "interval": "$inter",
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": true,
        "hideZero": true,
        "max": true,
        "min": false,
        "rightSide": false,
        "show": true,
        "sort": "avg",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "/in/",
          "transform": "negative-Y"
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "in discards",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "nstat",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "IpInDiscards"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(ideriv(median(nstat_IpInDiscards{host =~ \"^$server$\"})))",
          "legendFormat": "in discards"
        },
        {
          "alias": "out discards",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "nstat",
          "policy": "default",
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "IpOutDiscards"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(ideriv(median(nstat_IpOutDiscards{host =~ \"^$server$\"})))",
          "legendFormat": "out discards"
        },
        {
          "alias": "in hdr errors",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "nstat",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "IpInHdrErrors"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(ideriv(median(nstat_IpInHdrErrors{host =~ \"^$server$\"})))",
          "legendFormat": "in hdr errors"
        },
        {
          "alias": "in addr errors",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "nstat",
          "policy": "default",
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "IpInAddrErrors"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(ideriv(median(nstat_IpInAddrErrors{host =~ \"^$server$\"})))",
          "legendFormat": "in addr errors"
        },
        {
          "alias": "out no routes",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "nstat",
          "policy": "default",
          "refId": "E",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "IpOutNoRoutes"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(ideriv(median(nstat_IpOutNoRoutes{host =~ \"^$server$\"})))",
          "legendFormat": "out no routes"
        },
        {
          "alias": "in unknown protocol",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "nstat",
          "policy": "default",
          "refId": "F",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "IpInUnknownProtos"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(ideriv(median(nstat_IpInUnknownProtos{host =~ \"^$server$\"})))",
          "legendFormat": "in unknown protocol"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "IPv4 errors",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 0,
        "value_type": "cumulative"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": [],
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "editable": true,
      "error": false,
      "fill": 1,
      "fillGradient": 0,
      "grid": [],
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 95
      },
      "id": 61981,
      "interval": "$inter",
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": true,
        "hideZero": true,
        "max": true,
        "min": false,
        "rightSide": false,
        "show": true,
        "sort": "avg",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "/in/",
          "transform": "negative-Y"
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "in discards",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "nstat",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "Ip6InDiscards"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(ideriv(median(nstat_Ip6InDiscards{host =~ \"^$server$\"})))",
          "legendFormat": "in discards"
        },
        {
          "alias": "out discards",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "nstat",
          "policy": "default",
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "Ip6OutDiscards"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(ideriv(median(nstat_Ip6OutDiscards{host =~ \"^$server$\"})))",
          "legendFormat": "out discards"
        },
        {
          "alias": "in hdr errors",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "nstat",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "Ip6InHdrErrors"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(ideriv(median(nstat_Ip6InHdrErrors{host =~ \"^$server$\"})))",
          "legendFormat": "in hdr errors"
        },
        {
          "alias": "in addr errors",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "nstat",
          "policy": "default",
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "Ip6InAddrErrors"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(ideriv(median(nstat_Ip6InAddrErrors{host =~ \"^$server$\"})))",
          "legendFormat": "in addr errors"
        },
        {
          "alias": "out no routes",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "nstat",
          "policy": "default",
          "refId": "E",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "Ip6OutNoRoutes"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(ideriv(median(nstat_Ip6OutNoRoutes{host =~ \"^$server$\"})))",
          "legendFormat": "out no routes"
        },
        {
          "alias": "in unknown protocol",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "nstat",
          "policy": "default",
          "refId": "F",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "Ip6InUnknownProtos"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(ideriv(median(nstat_Ip6InUnknownProtos{host =~ \"^$server$\"})))",
          "legendFormat": "in unknown protocol"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "IPv6 errors",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 0,
        "value_type": "cumulative"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 102
      },
      "id": 62052,
      "panels": [],
      "repeat": null,
      "title": "Network stack (UDP)",
      "type": "row"
    },
    {
      "aliasColors": [],
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "editable": true,
      "error": false,
      "fill": 1,
      "fillGradient": 0,
      "grid": [],
      "gridPos": {
        "h": 7,
        "w": 24,
        "x": 0,
        "y": 103
      },
      "id": 61893,
      "interval": "$inter",
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": false,
        "rightSide": false,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "/in/",
          "transform": "negative-Y"
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "function": "derivative",
          "groupBy": " by (host)",
          "measurement": "net",
          "policy": "default",
          "query": "SELECT non_negative_derivative(mean(udp_indatagrams), 1s) as \"in datagrams\" FROM \"net\" WHERE host =~ /$server/ AND $timeFilter GROUP BY time($interval), * fill(none)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "udp_indatagrams"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server\"}",
          "interval": "$inter",
          "col": "in datagrams",
          "expr": "abs(ideriv(median(net_udp_indatagrams{host =~ \"$server\"}) by (host)))",
          "g": true,
          "legendFormat": "{{host}}: in datagrams"
        },
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "function": "derivative",
          "groupBy": " by (host)",
          "measurement": "net",
          "policy": "default",
          "query": "SELECT non_negative_derivative(mean(udp_outdatagrams), 1s) as \"out datagrams\" FROM \"net\" WHERE host =~ /$server/ AND $timeFilter GROUP BY time($interval), * fill(none)",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "udp_outdatagrams"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server\"}",
          "interval": "$inter",
          "col": "out datagrams",
          "expr": "abs(ideriv(median(net_udp_outdatagrams{host =~ \"$server\"}) by (host)))",
          "g": true,
          "legendFormat": "{{host}}: out datagrams"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "UDP datagrams",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 0,
        "value_type": "cumulative"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "pps",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": [],
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "decimals": 2,
      "editable": true,
      "error": false,
      "fill": 1,
      "fillGradient": 0,
      "grid": [],
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 110
      },
      "id": 61989,
      "interval": "$inter",
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": false,
        "rightSide": false,
        "show": true,
        "sort": "avg",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "/in/",
          "transform": "negative-Y"
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "Send buffer errors",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "nstat",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "UdpSndbufErrors"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(ideriv(median(nstat_UdpSndbufErrors{host =~ \"^$server$\"})))",
          "legendFormat": "Send buffer errors"
        },
        {
          "alias": "Receive buffer errors",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "nstat",
          "policy": "default",
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "UdpRcvbufErrors"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(ideriv(median(nstat_UdpRcvbufErrors{host =~ \"^$server$\"})))",
          "legendFormat": "Receive buffer errors"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "UDP buffer errors",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 0,
        "value_type": "cumulative"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": [],
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "decimals": 2,
      "editable": true,
      "error": false,
      "fill": 1,
      "fillGradient": 0,
      "grid": [],
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 110
      },
      "id": 61990,
      "interval": "$inter",
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": false,
        "hideZero": false,
        "max": true,
        "min": false,
        "rightSide": false,
        "show": true,
        "sort": "avg",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "/in/",
          "transform": "negative-Y"
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "checksum errors",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "nstat",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "UdpInCsumErrors"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(ideriv(median(nstat_UdpInCsumErrors{host =~ \"^$server$\"})))",
          "legendFormat": "checksum errors"
        },
        {
          "alias": "in errors",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "nstat",
          "policy": "default",
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "UdpInErrors"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(ideriv(median(nstat_UdpInErrors{host =~ \"^$server$\"})))",
          "legendFormat": "in errors"
        },
        {
          "alias": "no ports",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "nstat",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "UdpNoPorts"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(ideriv(median(nstat_UdpNoPorts{host =~ \"^$server$\"})))",
          "legendFormat": "no ports"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "UDP errors",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 0,
        "value_type": "cumulative"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 117
      },
      "id": 62053,
      "panels": [],
      "repeat": "netif",
      "title": "Network interface stats for $netif",
      "type": "row"
    },
    {
      "aliasColors": [],
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "editable": true,
      "error": false,
      "fill": 1,
      "fillGradient": 0,
      "grid": [],
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 118
      },
      "id": 42026,
      "interval": "$inter",
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": false,
        "rightSide": false,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "/ in$/",
          "transform": "negative-Y"
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_host: $tag_interface: $col",
          "dsType": "prometheus",
          "function": "derivative",
          "groupBy": " by (host,interface)",
          "measurement": "net",
          "policy": "default",
          "query": "SELECT non_negative_derivative(mean(bytes_recv),1s)*8 as \"in\"  FROM \"net\" WHERE host =~ /$server/ AND interface =~ /$netif/ AND $timeFilter GROUP BY time($interval), * fill(none)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "bytes_recv"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server\",interface =~ \"$netif\"}",
          "interval": "$inter",
          "col": "in",
          "expr": "abs(ideriv(median(net_bytes_recv{host =~ \"$server\",interface =~ \"$netif\"}) by (host,interface)))*8",
          "g": true,
          "legendFormat": "{{host}}: {{interface}}: in"
        },
        {
          "alias": "$tag_host: $tag_interface: $col",
          "dsType": "prometheus",
          "function": "derivative",
          "groupBy": " by (host,interface)",
          "measurement": "net",
          "policy": "default",
          "query": "SELECT non_negative_derivative(mean(bytes_sent),1s)*8 as \"out\" FROM \"net\" WHERE host =~ /$server/ AND interface =~ /$netif/ AND $timeFilter GROUP BY time($interval), * fill(none)",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "bytes_sent"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server\",interface =~ \"$netif\"}",
          "interval": "$inter",
          "col": "out",
          "expr": "abs(ideriv(median(net_bytes_sent{host =~ \"$server\",interface =~ \"$netif\"}) by (host,interface)))*8",
          "g": true,
          "legendFormat": "{{host}}: {{interface}}: out"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Network Usage",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 0,
        "value_type": "cumulative"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "bps",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": [],
      "bars": true,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "editable": true,
      "error": false,
      "fill": 1,
      "fillGradient": 0,
      "grid": [],
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 118
      },
      "id": 28572,
      "interval": "$inter",
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": false,
        "rightSide": false,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": false,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "/ in$/",
          "transform": "negative-Y"
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_host: $tag_interface: $col",
          "dsType": "prometheus",
          "function": "derivative",
          "groupBy": " by (host,interface)",
          "measurement": "net",
          "policy": "default",
          "query": "SELECT non_negative_derivative(mean(packets_recv), 1s) as \"in\" FROM \"net\" WHERE host =~ /$server/ AND interface =~ /$netif/ AND $timeFilter GROUP BY time($interval), * fill(none)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "packets_recv"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server\",interface =~ \"$netif\"}",
          "interval": "$inter",
          "col": "in",
          "expr": "abs(ideriv(median(net_packets_recv{host =~ \"$server\",interface =~ \"$netif\"}) by (host,interface)))",
          "g": true,
          "legendFormat": "{{host}}: {{interface}}: in"
        },
        {
          "alias": "$tag_host: $tag_interface: $col",
          "dsType": "prometheus",
          "function": "derivative",
          "groupBy": " by (host,interface)",
          "measurement": "net",
          "policy": "default",
          "query": "SELECT non_negative_derivative(mean(packets_sent), 1s) as \"out\" FROM \"net\" WHERE host =~ /$server/ AND interface =~ /$netif/ AND $timeFilter GROUP BY time($interval), * fill(none)",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "packets_sent"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server\",interface =~ \"$netif\"}",
          "interval": "$inter",
          "col": "out",
          "expr": "abs(ideriv(median(net_packets_sent{host =~ \"$server\",interface =~ \"$netif\"}) by (host,interface)))",
          "g": true,
          "legendFormat": "{{host}}: {{interface}}: out"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Network Packets",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 0,
        "value_type": "cumulative"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "pps",
          "label": "",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": [],
      "bars": true,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "decimals": 1,
      "editable": true,
      "error": false,
      "fill": 1,
      "fillGradient": 0,
      "grid": [],
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 125
      },
      "id": 58901,
      "interval": "$inter",
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": false,
        "rightSide": false,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": false,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_host: $tag_interface: $col",
          "dsType": "prometheus",
          "function": "derivative",
          "groupBy": " by (host,interface)",
          "measurement": "net",
          "policy": "default",
          "query": "SELECT non_negative_derivative(mean(drop_in), 1s) as \"in\" FROM \"net\" WHERE host =~ /$server/ AND interface =~ /$netif/ AND $timeFilter GROUP BY time($interval), host,interface fill(none)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "drop_in"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server\",interface =~ \"$netif\"}",
          "interval": "$inter",
          "col": "in",
          "expr": "abs(ideriv(median(net_drop_in{host =~ \"$server\",interface =~ \"$netif\"}) by (host,interface)))",
          "legendFormat": "{{host}}: {{interface}}: in"
        },
        {
          "alias": "$tag_host: $tag_interface: $col",
          "dsType": "prometheus",
          "function": "derivative",
          "groupBy": " by (host,interface)",
          "measurement": "net",
          "policy": "default",
          "query": "SELECT non_negative_derivative(mean(drop_out), 1s) as \"out\" FROM \"net\" WHERE host =~ /$server/ AND interface =~ /$netif/ AND $timeFilter GROUP BY time($interval), host,interface fill(none)",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "drop_out"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server\",interface =~ \"$netif\"}",
          "interval": "$inter",
          "col": "out",
          "expr": "abs(ideriv(median(net_drop_out{host =~ \"$server\",interface =~ \"$netif\"}) by (host,interface)))",
          "legendFormat": "{{host}}: {{interface}}: out"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Network drops",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "pps",
          "label": "Drops per second",
          "logBase": 1,
          "max": null,
          "min": 0,
          "show": true
        },
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": [],
      "bars": true,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "editable": true,
      "error": false,
      "fill": 1,
      "fillGradient": 0,
      "grid": [],
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 125
      },
      "id": 50643,
      "interval": "$inter",
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": false,
        "rightSide": false,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": false,
      "linewidth": 2,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_host: $tag_interface: $col",
          "dsType": "prometheus",
          "function": "derivative",
          "groupBy": " by (host,interface)",
          "measurement": "net",
          "policy": "default",
          "query": "SELECT non_negative_derivative(mean(err_in), 1s) as \"in\" FROM \"net\" WHERE host =~ /$server/ AND interface =~ /$netif/ AND $timeFilter GROUP BY time($interval), host,interface fill(none)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "err_in"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server\",interface =~ \"$netif\"}",
          "interval": "$inter",
          "col": "in",
          "expr": "abs(ideriv(median(net_err_in{host =~ \"$server\",interface =~ \"$netif\"}) by (host,interface)))",
          "legendFormat": "{{host}}: {{interface}}: in"
        },
        {
          "alias": "$tag_host: $tag_interface: $col",
          "dsType": "prometheus",
          "function": "derivative",
          "groupBy": " by (host,interface)",
          "measurement": "net",
          "policy": "default",
          "query": "SELECT non_negative_derivative(mean(err_out), 1s) as \"out\" FROM \"net\" WHERE host =~ /$server/ AND interface =~ /$netif/ AND $timeFilter GROUP BY time($interval), host,interface fill(none)",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "err_out"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server\",interface =~ \"$netif\"}",
          "interval": "$inter",
          "col": "out",
          "expr": "abs(ideriv(median(net_err_out{host =~ \"$server\",interface =~ \"$netif\"}) by (host,interface)))",
          "legendFormat": "{{host}}: {{interface}}: out"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Network errors",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 0,
        "value_type": "cumulative"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": "Errors per second",
          "logBase": 1,
          "max": null,
          "min": 0,
          "show": true
        },
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 132
      },
      "id": 62054,
      "panels": [],
      "repeat": null,
      "title": "Swap",
      "type": "row"
    },
    {
      "aliasColors": [],
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "editable": true,
      "error": false,
      "fill": 1,
      "fillGradient": 0,
      "grid": [],
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 133
      },
      "id": 26024,
      "interval": "$inter",
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": false,
        "show": true,
        "sort": "current",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "/in/",
          "transform": "negative-Y"
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host)",
          "measurement": "swap",
          "policy": "default",
          "query": "select non_negative_derivative(mean(in)) as in from \"swap\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "in"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\"}",
          "interval": "$inter",
          "col": "in",
          "expr": "abs(idelta(median(swap_in{host =~ \"$server$\"}) by (host)))",
          "legendFormat": "{{host}}: in"
        },
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host)",
          "measurement": "swap",
          "policy": "default",
          "query": "select non_negative_derivative(mean(out)) as out from \"swap\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "out"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\"}",
          "interval": "$inter",
          "col": "out",
          "expr": "abs(idelta(median(swap_out{host =~ \"$server$\"}) by (host)))",
          "legendFormat": "{{host}}: out"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Swap I/O bytes",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 0,
        "value_type": "cumulative"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "bytes",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": [],
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "editable": true,
      "error": false,
      "fill": 1,
      "fillGradient": 0,
      "grid": [],
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 133
      },
      "id": 61850,
      "interval": "$inter",
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": false,
        "show": true,
        "sort": "current",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "/total/",
          "color": "#890F02",
          "fill": 0
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": true,
      "targets": [
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host)",
          "measurement": "swap",
          "policy": "default",
          "query": "select mean(used) as used from \"swap\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "used"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\"}",
          "interval": "$inter",
          "col": "used",
          "expr": "median(swap_used{host =~ \"$server$\"}) by (host)",
          "legendFormat": "{{host}}: used"
        },
        {
          "alias": "$tag_host: $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host)",
          "measurement": "swap",
          "policy": "default",
          "query": "select mean(total) as total from \"swap\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc",
          "rawQuery": true,
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "total"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\"}",
          "interval": "$inter",
          "col": "total",
          "expr": "median(swap_total{host =~ \"$server$\"}) by (host)",
          "legendFormat": "{{host}}: total"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Swap usage (bytes)",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 0,
        "value_type": "cumulative"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "bytes",
          "logBase": 1,
          "max": null,
          "min": 0,
          "show": true
        },
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 140
      },
      "id": 62055,
      "panels": [],
      "repeat": "disk",
      "title": "Disk IOPS for /dev/$disk",
      "type": "row"
    },
    {
      "aliasColors": [],
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "editable": true,
      "error": false,
      "fill": 1,
      "fillGradient": 0,
      "grid": [],
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 0,
        "y": 141
      },
      "id": 13782,
      "interval": "$inter",
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": true,
        "max": true,
        "min": false,
        "rightSide": false,
        "show": true,
        "sort": "current",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "maxPerRow": 6,
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "repeat": null,
      "seriesOverrides": [
        {
          "alias": "/.*write$/",
          "transform": "negative-Y"
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_host: $tag_name: $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host,name)",
          "measurement": "diskio",
          "policy": "default",
          "query": "SELECT non_negative_derivative(mean(reads),1s) as \"read\" FROM \"diskio\" WHERE \"host\" =~ /$server$/ AND \"name\" =~ /$disk$/ AND $timeFilter GROUP BY time($interval), *",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "reads"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\",name =~ \"$disk$\"}",
          "interval": "$inter",
          "col": "read",
          "expr": "abs(ideriv(median(diskio_reads{host =~ \"$server$\",name =~ \"$disk$\"}) by (host,name)))",
          "g": true,
          "legendFormat": "{{host}}: {{name}}: read"
        },
        {
          "alias": "$tag_host: $tag_name: $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host,name)",
          "measurement": "diskio",
          "policy": "default",
          "query": "SELECT non_negative_derivative(mean(writes),1s) as \"write\" FROM \"diskio\" WHERE \"host\" =~ /$server$/ AND \"name\" =~ /$disk$/  AND $timeFilter GROUP BY time($interval), *",
          "rawQuery": true,
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "writes"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\",name =~ \"$disk$\"}",
          "interval": "$inter",
          "col": "write",
          "expr": "abs(ideriv(median(diskio_writes{host =~ \"$server$\",name =~ \"$disk$\"}) by (host,name)))",
          "g": true,
          "legendFormat": "{{host}}: {{name}}: write"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Disk I/O requests for /dev/$disk",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 0,
        "value_type": "cumulative"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "iops",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": [],
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "editable": true,
      "error": false,
      "fill": 1,
      "fillGradient": 0,
      "grid": [],
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 8,
        "y": 141
      },
      "id": 60200,
      "interval": "$inter",
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": true,
        "max": true,
        "min": false,
        "rightSide": false,
        "show": true,
        "sort": "current",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "maxPerRow": 6,
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "repeat": null,
      "seriesOverrides": [
        {
          "alias": "/.*write$/",
          "transform": "negative-Y"
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_host: $tag_name: $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host,name)",
          "measurement": "diskio",
          "policy": "default",
          "query": "SELECT non_negative_derivative(mean(read_bytes),1s) as \"read\" FROM \"diskio\" WHERE \"host\" =~ /$server$/ AND \"name\" =~ /$disk$/  AND $timeFilter GROUP BY time($interval), *",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "read_bytes"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\",name =~ \"$disk$\"}",
          "interval": "$inter",
          "col": "read",
          "expr": "abs(ideriv(median(diskio_read_bytes{host =~ \"$server$\",name =~ \"$disk$\"}) by (host,name)))",
          "g": true,
          "legendFormat": "{{host}}: {{name}}: read"
        },
        {
          "alias": "$tag_host: $tag_name: $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host,name)",
          "measurement": "diskio",
          "policy": "default",
          "query": "SELECT non_negative_derivative(mean(write_bytes),1s) as \"write\" FROM \"diskio\" WHERE \"host\" =~ /$server$/ AND \"name\" =~ /$disk$/ AND $timeFilter GROUP BY time($interval), *",
          "rawQuery": true,
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "write_bytes"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\",name =~ \"$disk$\"}",
          "interval": "$inter",
          "col": "write",
          "expr": "abs(ideriv(median(diskio_write_bytes{host =~ \"$server$\",name =~ \"$disk$\"}) by (host,name)))",
          "g": true,
          "legendFormat": "{{host}}: {{name}}: write"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Disk I/O bytes for /dev/$disk",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 0,
        "value_type": "cumulative"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "bytes",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": [],
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "editable": true,
      "error": false,
      "fill": 1,
      "fillGradient": 0,
      "grid": [],
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 16,
        "y": 141
      },
      "id": 56720,
      "interval": "$inter",
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": true,
        "max": true,
        "min": false,
        "rightSide": false,
        "show": true,
        "sort": "current",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "maxPerRow": 6,
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "repeat": null,
      "seriesOverrides": [
        {
          "alias": "/.*write$/",
          "transform": "negative-Y"
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_host: $tag_name: $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host,name)",
          "measurement": "diskio",
          "policy": "default",
          "query": "SELECT non_negative_derivative(mean(read_time),1s) as \"read\" FROM \"diskio\" WHERE \"host\" =~ /$server$/ AND \"name\" =~ /$disk$/  AND $timeFilter GROUP BY time($interval), *",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "read_time"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\",name =~ \"$disk$\"}",
          "interval": "$inter",
          "col": "read",
          "expr": "abs(ideriv(median(diskio_read_time{host =~ \"$server$\",name =~ \"$disk$\"}) by (host,name)))",
          "g": true,
          "legendFormat": "{{host}}: {{name}}: read"
        },
        {
          "alias": "$tag_host: $tag_name: $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host,name)",
          "measurement": "diskio",
          "policy": "default",
          "query": "SELECT non_negative_derivative(mean(write_time),1s) as \"write\" FROM \"diskio\" WHERE \"host\" =~ /$server$/ AND \"name\" =~ /$disk$/ AND $timeFilter GROUP BY time($interval), *",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "write_time"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\",name =~ \"$disk$\"}",
          "interval": "$inter",
          "col": "write",
          "expr": "abs(ideriv(median(diskio_write_time{host =~ \"$server$\",name =~ \"$disk$\"}) by (host,name)))",
          "g": true,
          "legendFormat": "{{host}}: {{name}}: write"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Disk I/O time for /dev/$disk",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 0,
        "value_type": "cumulative"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "ms",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 148
      },
      "id": 62056,
      "panels": [],
      "repeat": "mountpoint",
      "title": "Disk space usage for $mountpoint",
      "type": "row"
    },
    {
      "aliasColors": [],
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "editable": true,
      "error": false,
      "fill": 1,
      "fillGradient": 0,
      "grid": [],
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 149
      },
      "id": 52240,
      "interval": "$inter",
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": false,
        "show": true,
        "sort": "current",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "maxPerRow": 4,
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "repeat": null,
      "seriesOverrides": [
        {
          "alias": "/total/",
          "color": "#BF1B00",
          "fill": 0,
          "linewidth": 2,
          "zindex": 3
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": true,
      "targets": [
        {
          "alias": "$tag_host: mountpoint $tag_path - $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host,path)",
          "measurement": "disk",
          "policy": "default",
          "query": "select mean(total) AS total from \"disk\" WHERE \"host\" =~ /$server$/ AND \"path\" =~ /^$mountpoint$/AND $timeFilter GROUP BY time($interval), \"host\", \"path\"",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "total"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\",path =~ \"^$mountpoint$\"}",
          "interval": "$inter",
          "col": "total",
          "expr": "median(disk_total{host =~ \"$server$\",path =~ \"^$mountpoint$\"}) by (host,path)",
          "legendFormat": "{{host}}: mountpoint {{path}} - total"
        },
        {
          "alias": "$tag_host: mountpoint $tag_path - $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host,path)",
          "measurement": "disk",
          "policy": "default",
          "query": "select mean(used) as used from \"disk\" WHERE \"host\" =~ /$server$/ AND \"path\" =~ /^$mountpoint$/AND $timeFilter GROUP BY time($interval), \"host\", \"path\"",
          "rawQuery": true,
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "used"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\",path =~ \"^$mountpoint$\"}",
          "interval": "$inter",
          "col": "used",
          "expr": "median(disk_used{host =~ \"$server$\",path =~ \"^$mountpoint$\"}) by (host,path)",
          "legendFormat": "{{host}}: mountpoint {{path}} - used"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Disk usage for $mountpoint",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 0,
        "value_type": "cumulative"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "bytes",
          "logBase": 1,
          "max": null,
          "min": 0,
          "show": true
        },
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": [],
      "bars": true,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "editable": true,
      "error": false,
      "fill": 1,
      "fillGradient": 0,
      "grid": [],
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 149
      },
      "id": 33458,
      "interval": "$inter",
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": false,
        "show": true,
        "sort": "current",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": false,
      "linewidth": 1,
      "links": [],
      "maxPerRow": 4,
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "repeat": null,
      "seriesOverrides": [
        {
          "alias": "/used/",
          "color": "#447EBC",
          "zindex": 3
        },
        {
          "alias": "/total/",
          "bars": false,
          "color": "#BF1B00",
          "fill": 0,
          "lines": true,
          "linewidth": 1
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": true,
      "targets": [
        {
          "alias": "$tag_host: mountpoint $tag_path - $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host,path)",
          "measurement": "disk",
          "policy": "default",
          "query": "SELECT mean(inodes_used) as \"used\" FROM \"disk\" WHERE \"host\" =~ /$server$/  AND \"path\" =~ /^$mountpoint$/ AND $timeFilter GROUP BY time($interval), \"host\", \"path\"",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean",
                "params": [
                  "inodes_used"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\",path =~ \"^$mountpoint$\"}",
          "interval": "$inter",
          "col": "used",
          "expr": "median(disk_inodes_used{host =~ \"$server$\",path =~ \"^$mountpoint$\"}) by (host,path)",
          "legendFormat": "{{host}}: mountpoint {{path}} - used"
        },
        {
          "alias": "$tag_host: mountpoint $tag_path - $col",
          "dsType": "prometheus",
          "function": "mean",
          "groupBy": " by (host,path)",
          "measurement": "disk",
          "policy": "default",
          "query": "SELECT mean(inodes_free) + mean(inodes_used) as \"total\" FROM \"disk\" WHERE \"host\" =~ /$server$/  AND \"path\" =~ /^$mountpoint$/ AND $timeFilter GROUP BY time($interval), \"host\", \"path\"",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "mean(inodes_free) + mean",
                "params": [
                  "inodes_used"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"$server$\",path =~ \"^$mountpoint$\"}",
          "interval": "$inter",
          "col": "total",
          "expr": "median(disk_inodes_free{host =~ \"$server$\",path =~ \"^$mountpoint$\"}) + median(disk_inodes_used{host =~ \"$server$\",path =~ \"^$mountpoint$\"}) by (host,path)",
          "legendFormat": "{{host}}: mountpoint {{path}} - total"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Disk inodes for $mountpoint",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 0,
        "value_type": "cumulative"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": 0,
          "show": true
        },
        {
          "format": "short",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 156
      },
      "id": 62057,
      "panels": [],
      "repeat": null,
      "title": "Metrics velocity",
      "type": "row"
    },
    {
      "aliasColors": [],
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 7,
        "w": 6,
        "x": 0,
        "y": 157
      },
      "id": 62001,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "Delivery time",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "internal_write",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "write_time_ns"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(idelta(median(internal_write_write_time_ns{host =~ \"^$server$\"})))",
          "legendFormat": "Delivery time"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Delivery time",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "ns",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": [],
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 7,
        "w": 6,
        "x": 6,
        "y": 157
      },
      "id": 62004,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "Gather time",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "internal_gather",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "gather_time_ns"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(idelta(median(internal_gather_gather_time_ns{host =~ \"^$server$\"})))",
          "legendFormat": "Gather time"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Gather time",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "ns",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": [],
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 7,
        "w": 6,
        "x": 12,
        "y": 157
      },
      "id": 62003,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "Metrics written",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "internal_agent",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "metrics_written"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(idelta(median(internal_agent_metrics_written{host =~ \"^$server$\"})))",
          "legendFormat": "Metrics written"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Written metrics",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": [],
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_TELEGRAF}",
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 7,
        "w": 6,
        "x": 18,
        "y": 157
      },
      "id": 62002,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "Gather errors",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "internal_agent",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "gather_errors"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(idelta(median(internal_agent_gather_errors{host =~ \"^$server$\"})))",
          "legendFormat": "Gather errors"
        },
        {
          "alias": "Dropped metrics",
          "dsType": "prometheus",
          "groupBy": [],
          "measurement": "internal_agent",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "type": "non_negative_derivative(mean",
                "params": [
                  "metrics_dropped"
                ]
              }
            ]
          ],
          "tags": "{host =~ \"^$server$\"}",
          "expr": "abs(idelta(median(internal_agent_metrics_dropped{host =~ \"^$server$\"})))",
          "legendFormat": "Dropped metrics"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Error rate",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    }
  ],
  "refresh": "1m",
  "schemaVersion": 19,
  "style": "dark",
  "tags": [
    "prometheus",
    "telegraf",
    "victoriametrics"
  ],
  "templating": {
    "list": [
      {
        "allFormat": "glob",
        "current": {
          "text": "Prometheus telegraf",
          "value": "Prometheus telegraf"
        },
        "datasource": "Prometheus telegraf",
        "hide": 0,
        "includeAll": false,
        "label": "",
        "multi": false,
        "name": "datasource",
        "options": [],
        "query": "prometheus",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "type": "datasource"
      },
      {
        "auto": true,
        "auto_count": 100,
        "auto_min": "30s",
        "current": {
          "text": "10s",
          "value": "10s"
        },
        "datasource": null,
        "hide": 0,
        "includeAll": false,
        "label": "Sampling",
        "multi": false,
        "name": "inter",
        "options": [
          {
            "selected": false,
            "text": "auto",
            "value": "$__auto_interval_inter"
          },
          {
            "selected": true,
            "text": "10s",
            "value": "10s"
          },
          {
            "selected": false,
            "text": "30s",
            "value": "30s"
          },
          {
            "selected": false,
            "text": "1m",
            "value": "1m"
          },
          {
            "selected": false,
            "text": "2m",
            "value": "2m"
          },
          {
            "selected": false,
            "text": "5m",
            "value": "5m"
          },
          {
            "selected": false,
            "text": "10m",
            "value": "10m"
          },
          {
            "selected": false,
            "text": "30m",
            "value": "30m"
          },
          {
            "selected": false,
            "text": "1h",
            "value": "1h"
          }
        ],
        "query": "10s,30s,1m,2m,5m,10m,30m,1h",
        "refresh": 2,
        "skipUrlSync": false,
        "type": "interval"
      },
      {
        "allValue": null,
        "current": [],
        "datasource": "${DS_PROMETHEUS_TELEGRAF}",
        "definition": "",
        "hide": 0,
        "includeAll": false,
        "label": "Server",
        "multi": false,
        "name": "server",
        "options": [],
        "query": "label_values(host)",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": null,
        "tags": [],
        "tagsQuery": null,
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": [],
        "datasource": "$datasource",
        "definition": "",
        "hide": 0,
        "includeAll": true,
        "label": "Mountpoint",
        "multi": true,
        "name": "mountpoint",
        "options": [],
        "query": "label_values(path)",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": null,
        "tags": [],
        "tagsQuery": null,
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": [],
        "datasource": "$datasource",
        "definition": "",
        "hide": 0,
        "includeAll": true,
        "label": "CPU",
        "multi": true,
        "name": "cpu",
        "options": [],
        "query": "label_values(cpu)",
        "refresh": 1,
        "regex": "/cpu[0-9]/",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": null,
        "tags": [],
        "tagsQuery": null,
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": [],
        "datasource": "$datasource",
        "definition": "",
        "hide": 0,
        "includeAll": true,
        "label": "Disk",
        "multi": true,
        "name": "disk",
        "options": [],
        "query": "label_values(name)",
        "refresh": 1,
        "regex": "[a-z]d[\\D]$|nvme[\\d]n[\\d]$",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": null,
        "tags": [],
        "tagsQuery": null,
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": [],
        "datasource": "$datasource",
        "definition": "",
        "hide": 0,
        "includeAll": true,
        "label": "Network interface",
        "multi": true,
        "name": "netif",
        "options": [],
        "query": "label_values(interface)",
        "refresh": 1,
        "regex": "^(?!.*veth|all|tap).*$",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": null,
        "tags": [],
        "tagsQuery": null,
        "type": "query",
        "useTags": false
      }
    ]
  },
  "time": {
    "from": "now-1h",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "5s",
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "timezone": "browser",
  "title": "Telegraf: system dashboard",
  "gnetId": 11051
}