Grafana dashboard: Host Metrics
Description: Host Metrics. Collected by telegraf, stored in OpenTSDB.


{
  "__inputs": [
    {
      "name": "DS_OPENTSDB",
      "label": "OpenTSDB",
      "description": "Collected by telegraf, stored in OpenTSDB.",
      "type": "datasource",
      "pluginId": "opentsdb",
      "pluginName": "OpenTSDB"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "4.4.1"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "opentsdb",
      "name": "OpenTSDB",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "singlestat",
      "name": "Singlestat",
      "version": ""
    }
  ],
  "annotations": {
    "list": []
  },
  "description": "Host Metrics. Collected by telegraf, stored in OpenTSDB.",
  "editable": false,
  "gnetId": 3021,
  "graphTooltip": 1,
  "hideControls": true,
  "id": null,
  "links": [],
  "refresh": "5s",
  "rows": [
    {
      "collapse": false,
      "height": 204,
      "panels": [
        {
          "cacheTimeout": null,
          "colorBackground": true,
          "colorValue": false,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "datasource": "${DS_OPENTSDB}",
          "decimals": 0,
          "format": "s",
          "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "id": 7,
          "interval": null,
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "span": 2,
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": false
          },
          "tableColumn": "",
          "targets": [
            {
              "aggregator": "sum",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "avg",
              "downsampleFillPolicy": "none",
              "dsType": "influxdb",
              "expandHelper": 0,
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "metric": "system_uptime",
              "policy": "default",
              "query": "select last(uptime_format) from system where  host =~ /^$host$/",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "shouldComputeRate": false,
              "tags": [],
              "target": "Bosun Query"
            }
          ],
          "thresholds": "",
          "title": "Uptime",
          "type": "singlestat",
          "valueFontSize": "80%",
          "valueMaps": [
            {
              "op": "=",
              "text": "N/A",
              "value": "null"
            }
          ],
          "valueName": "current"
        },
        {
          "cacheTimeout": null,
          "colorBackground": true,
          "colorValue": false,
          "colors": [
            "rgba(50, 172, 45, 0.97)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(245, 54, 54, 0.9)"
          ],
          "datasource": "${DS_OPENTSDB}",
          "format": "none",
          "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "id": 12,
          "interval": null,
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "span": 2,
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": false
          },
          "tableColumn": "",
          "targets": [
            {
              "aggregator": "sum",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "disableDownsampling": false,
              "downsampleAggregator": "avg",
              "downsampleFillPolicy": "none",
              "dsType": "influxdb",
              "expandHelper": 0,
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "metric": "system_n_cpus",
              "policy": "default",
              "query": "SELECT mean(\"n_cpus\") FROM \"system\" WHERE \"host\" =~ /^$host$/ AND $timeFilter GROUP BY time($interval) fill(null)",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "shouldComputeRate": false,
              "tags": [],
              "target": "Bosun Query"
            }
          ],
          "thresholds": "22,85",
          "title": "CPUs",
          "type": "singlestat",
          "valueFontSize": "80%",
          "valueMaps": [
            {
              "op": "=",
              "text": "N/A",
              "value": "null"
            }
          ],
          "valueName": "avg"
        },
        {
          "cacheTimeout": null,
          "colorBackground": true,
          "colorValue": false,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(235, 123, 30, 0.89)",
            "rgba(106, 45, 172, 0.81)"
          ],
          "datasource": "${DS_OPENTSDB}",
          "format": "decbytes",
          "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "id": 19,
          "interval": null,
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "span": 2,
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": false
          },
          "tableColumn": "",
          "targets": [
            {
              "aggregator": "sum",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "avg",
              "downsampleFillPolicy": "none",
              "dsType": "influxdb",
              "expandHelper": 0,
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "metric": "mem_total",
              "policy": "default",
              "query": "SELECT last(\"total\") FROM \"mem\" WHERE \"host\" =~ /^$host$/",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [],
              "target": "Bosun Query"
            }
          ],
          "thresholds": "70,75",
          "title": "Memory",
          "type": "singlestat",
          "valueFontSize": "80%",
          "valueMaps": [
            {
              "op": "=",
              "text": "N/A",
              "value": "null"
            }
          ],
          "valueName": "current"
        },
        {
          "cacheTimeout": null,
          "colorBackground": true,
          "colorValue": false,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "datasource": "${DS_OPENTSDB}",
          "format": "none",
          "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "id": 13,
          "interval": "",
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "span": 1,
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": false
          },
          "tableColumn": "",
          "targets": [
            {
              "aggregator": "last",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "last",
              "downsampleFillPolicy": "none",
              "dsType": "influxdb",
              "expandHelper": 0,
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "metric": "system_n_users",
              "policy": "default",
              "query": "SELECT last(\"n_users\") FROM \"system\" WHERE \"host\" =~ /^$host$/",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [],
              "target": "Bosun Query"
            }
          ],
          "thresholds": "60,90",
          "title": "User",
          "type": "singlestat",
          "valueFontSize": "80%",
          "valueMaps": [
            {
              "op": "=",
              "text": "N/A",
              "value": "null"
            }
          ],
          "valueName": "avg"
        },
        {
          "cacheTimeout": null,
          "colorBackground": true,
          "colorValue": false,
          "colors": [
            "rgba(50, 172, 45, 0.97)",
            "rgba(244, 126, 30, 0.89)",
            "rgba(98, 54, 245, 0.9)"
          ],
          "datasource": "${DS_OPENTSDB}",
          "format": "short",
          "gauge": {
            "maxValue": 4,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "id": 17,
          "interval": null,
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "span": 2,
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgba(10, 10, 10, 0.99)",
            "show": false
          },
          "tableColumn": "",
          "targets": [
            {
              "aggregator": "sum",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "avg",
              "downsampleFillPolicy": "none",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "metric": "processes_total",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT last(\"total\") FROM \"processes\" WHERE \"host\" =~ /^$host$/",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            }
          ],
          "thresholds": "5,15",
          "title": "Total Processes",
          "type": "singlestat",
          "valueFontSize": "80%",
          "valueMaps": [
            {
              "op": "=",
              "text": "N/A",
              "value": "null"
            }
          ],
          "valueName": "avg"
        },
        {
          "cacheTimeout": null,
          "colorBackground": true,
          "colorValue": false,
          "colors": [
            "rgba(50, 172, 45, 0.97)",
            "rgba(244, 126, 30, 0.89)",
            "rgb(196, 95, 95)"
          ],
          "datasource": "${DS_OPENTSDB}",
          "format": "short",
          "gauge": {
            "maxValue": 4,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "id": 16,
          "interval": null,
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "span": 3,
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": false
          },
          "tableColumn": "",
          "targets": [
            {
              "aggregator": "last",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "last",
              "downsampleFillPolicy": "none",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "metric": "processes_total_threads",
              "policy": "default",
              "query": "SELECT last(\"total_threads\") FROM \"processes\" WHERE \"host\" =~ /^$host$/",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            }
          ],
          "thresholds": "5,15",
          "title": "Total Threads",
          "type": "singlestat",
          "valueFontSize": "80%",
          "valueMaps": [
            {
              "op": "=",
              "text": "N/A",
              "value": "null"
            }
          ],
          "valueName": "avg"
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": false,
      "title": "SUMMARY",
      "titleSize": "h6"
    },
    {
      "collapse": false,
      "height": 236,
      "panels": [
        {
          "cacheTimeout": null,
          "colorBackground": false,
          "colorValue": false,
          "colors": [
            "rgba(50, 172, 45, 0.97)",
            "rgba(244, 126, 30, 0.89)",
            "rgba(245, 54, 54, 0.9)"
          ],
          "datasource": "${DS_OPENTSDB}",
          "format": "short",
          "gauge": {
            "maxValue": 4,
            "minValue": 0,
            "show": true,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "id": 8,
          "interval": "",
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "span": 2,
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": true
          },
          "tableColumn": "",
          "targets": [
            {
              "aggregator": "last",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "last",
              "downsampleFillPolicy": "none",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "metric": "system_load1",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT last(\"load1\") FROM \"system\" WHERE \"host\" =~ /^$host$/",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            }
          ],
          "thresholds": "1,8",
          "title": "Load 1",
          "type": "singlestat",
          "valueFontSize": "80%",
          "valueMaps": [
            {
              "op": "=",
              "text": "N/A",
              "value": "null"
            }
          ],
          "valueName": "avg"
        },
        {
          "cacheTimeout": null,
          "colorBackground": false,
          "colorValue": false,
          "colors": [
            "rgba(50, 172, 45, 0.97)",
            "rgba(244, 126, 30, 0.89)",
            "rgba(245, 54, 54, 0.9)"
          ],
          "datasource": "${DS_OPENTSDB}",
          "format": "short",
          "gauge": {
            "maxValue": 4,
            "minValue": 0,
            "show": true,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "id": 14,
          "interval": "",
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "span": 2,
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": true
          },
          "tableColumn": "",
          "targets": [
            {
              "aggregator": "last",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "last",
              "downsampleFillPolicy": "none",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "metric": "system_load5",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT last(\"load5\") FROM \"system\" WHERE \"host\" =~ /^$host$/",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            }
          ],
          "thresholds": "1,8",
          "title": "Load 5",
          "type": "singlestat",
          "valueFontSize": "80%",
          "valueMaps": [
            {
              "op": "=",
              "text": "N/A",
              "value": "null"
            }
          ],
          "valueName": "avg"
        },
        {
          "cacheTimeout": null,
          "colorBackground": false,
          "colorValue": false,
          "colors": [
            "rgba(50, 172, 45, 0.97)",
            "rgba(244, 126, 30, 0.89)",
            "rgba(245, 54, 54, 0.9)"
          ],
          "datasource": "${DS_OPENTSDB}",
          "format": "short",
          "gauge": {
            "maxValue": 4,
            "minValue": 0,
            "show": true,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "id": 15,
          "interval": "",
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "span": 2,
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": true
          },
          "tableColumn": "",
          "targets": [
            {
              "aggregator": "last",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "last",
              "downsampleFillPolicy": "none",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "metric": "system_load15",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT last(\"load15\") FROM \"system\" WHERE \"host\" =~ /^$host$/",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            }
          ],
          "thresholds": "1,8",
          "title": "Load 15",
          "type": "singlestat",
          "valueFontSize": "80%",
          "valueMaps": [
            {
              "op": "=",
              "text": "N/A",
              "value": "null"
            }
          ],
          "valueName": "avg"
        },
        {
          "cacheTimeout": null,
          "colorBackground": false,
          "colorValue": false,
          "colors": [
            "rgba(50, 172, 45, 0.97)",
            "rgba(244, 126, 30, 0.89)",
            "rgba(245, 54, 54, 0.9)"
          ],
          "datasource": "${DS_OPENTSDB}",
          "format": "percent",
          "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": true,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "id": 18,
          "interval": "",
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "span": 2,
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": true
          },
          "tableColumn": "",
          "targets": [
            {
              "aggregator": "last",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "last",
              "downsampleFillPolicy": "none",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "metric": "mem_used_percent",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT last(used_percent) FROM \"mem\" WHERE \"host\" =~ /^$host$/",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            }
          ],
          "thresholds": "50,80",
          "title": "Memory",
          "type": "singlestat",
          "valueFontSize": "100%",
          "valueMaps": [
            {
              "op": "=",
              "text": "N/A",
              "value": "null"
            }
          ],
          "valueName": "current"
        },
        {
          "cacheTimeout": null,
          "colorBackground": false,
          "colorValue": false,
          "colors": [
            "rgba(50, 172, 45, 0.97)",
            "rgba(244, 126, 30, 0.89)",
            "rgba(245, 54, 54, 0.9)"
          ],
          "datasource": "${DS_OPENTSDB}",
          "format": "percent",
          "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": true,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "id": 25,
          "interval": "",
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "span": 4,
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": true
          },
          "tableColumn": "",
          "targets": [
            {
              "aggregator": "last",
              "alias": "",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "last",
              "downsampleFillPolicy": "none",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "metric": "disk_used_percent",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT max(used_percent) FROM \"disk\" WHERE \"host\" =~ /^$host$/ and \"device\" != 'rootfs'  and $timeFilter",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            }
          ],
          "thresholds": "50,80",
          "title": "Disk",
          "type": "singlestat",
          "valueFontSize": "100%",
          "valueMaps": [
            {
              "op": "=",
              "text": "N/A",
              "value": "null"
            }
          ],
          "valueName": "current"
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": false,
      "title": "Dashboard Row",
      "titleSize": "h6"
    },
    {
      "collapse": false,
      "height": 312,
      "panels": [
        {
          "aliasColors": {
            "available_percent": "#0A437C"
          },
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_OPENTSDB}",
          "fill": 2,
          "id": 1,
          "interval": "$interval",
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": true,
            "hideEmpty": true,
            "hideZero": true,
            "max": true,
            "min": true,
            "rightSide": false,
            "show": false,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 2,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 1,
          "points": true,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "alias": "Available Memory",
              "yaxis": 2
            }
          ],
          "spaceLength": 10,
          "span": 6,
          "stack": true,
          "steppedLine": false,
          "targets": [
            {
              "aggregator": "avg",
              "alias": "Percentage",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "disableDownsampling": false,
              "downsampleAggregator": "avg",
              "downsampleFillPolicy": "null",
              "downsampleInterval": "",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "mem",
              "metric": "mem_available_percent",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT mean(\"available_percent\") FROM \"mem\" WHERE \"host\" =~ /^$host$/ and $timeFilter GROUP BY time($interval) fill(null)",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "available_percent"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "aggregator": "sum",
              "alias": "Available Memory",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "avg",
              "downsampleFillPolicy": "none",
              "downsampleInterval": "",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "mem",
              "metric": "mem_available",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT last(\"available_percent\") FROM \"mem\" WHERE \"host\" = 'test.foschol.cn'  ",
              "rawQuery": true,
              "refId": "B",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "available_percent"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "Memory",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": [
              "total"
            ]
          },
          "yaxes": [
            {
              "format": "percent",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "decbytes",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        },
        {
          "aliasColors": {
            "load1": "#0A437C",
            "load15": "#962D82"
          },
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_OPENTSDB}",
          "fill": 1,
          "id": 24,
          "interval": "$interval",
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": true,
            "max": true,
            "min": true,
            "rightSide": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 2,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "aggregator": "sum",
              "alias": "load1",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "avg",
              "downsampleFillPolicy": "none",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "host"
                  ],
                  "type": "tag"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "interval": "$Interval",
              "metric": "system_load1",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT mean(\"load1\") FROM \"system\" WHERE \"host\" =~ /^$host$/ AND $timeFilter GROUP BY time($interval) fill(null)",
              "rawQuery": true,
              "refId": "B",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "aggregator": "sum",
              "alias": "load5",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "avg",
              "downsampleFillPolicy": "none",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "host"
                  ],
                  "type": "tag"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "interval": "$Interval",
              "metric": "system_load5",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT mean(\"load5\") FROM \"system\" WHERE \"host\" =~ /^$host$/ AND $timeFilter GROUP BY time($interval) fill(null)",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "aggregator": "sum",
              "alias": "load15",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "avg",
              "downsampleFillPolicy": "none",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "host"
                  ],
                  "type": "tag"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "interval": "$Interval",
              "metric": "system_load15",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT mean(\"load15\") FROM \"system\" WHERE \"host\" =~ /^$host$/ AND $timeFilter GROUP BY time($interval) fill(null)",
              "rawQuery": true,
              "refId": "C",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "Load",
          "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
            }
          ]
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_OPENTSDB}",
          "fill": 2,
          "id": 11,
          "interval": "$interval",
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": true,
            "hideEmpty": false,
            "hideZero": false,
            "max": true,
            "min": true,
            "show": true,
            "sort": "current",
            "sortDesc": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 2,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "alias": "eth0:out",
              "color": "#BF1B00",
              "transform": "negative-Y"
            }
          ],
          "spaceLength": 10,
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "aggregator": "sum",
              "alias": "$tag_interface:in",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "avg",
              "downsampleFillPolicy": "none",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                },
                {
                  "filter": "*",
                  "groupBy": true,
                  "tagk": "interface",
                  "type": "wildcard"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "interface"
                  ],
                  "type": "tag"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "net",
              "metric": "net_bytes_recv",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT non_negative_derivative(mean(\"bytes_recv\"), 10s) AS \"IN\" FROM \"net\" WHERE $timeFilter  and \"host\" =~ /^$host$/   GROUP BY time($interval), \"interface\" fill(null)",
              "rawQuery": true,
              "refId": "C",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "bytes_recv"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  },
                  {
                    "params": [
                      "10s"
                    ],
                    "type": "non_negative_derivative"
                  },
                  {
                    "params": [
                      "IN"
                    ],
                    "type": "alias"
                  }
                ]
              ],
              "shouldComputeRate": true,
              "tags": []
            },
            {
              "aggregator": "sum",
              "alias": "$tag_interface:out",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "avg",
              "downsampleFillPolicy": "none",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "interface"
                  ],
                  "type": "tag"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "isCounter": false,
              "measurement": "net",
              "metric": "net_bytes_sent",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT non_negative_derivative(mean(\"bytes_sent\"), 10s) AS \"OUT\" FROM \"net\" WHERE $timeFilter  and \"host\" =~ /^$host$/ GROUP BY time($interval), \"interface\" fill(null)",
              "rawQuery": true,
              "refId": "D",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "bytes_sent"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  },
                  {
                    "params": [
                      "10s"
                    ],
                    "type": "non_negative_derivative"
                  }
                ]
              ],
              "shouldComputeRate": true,
              "tags": []
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "Network Usage",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "decbits",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "decbits",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": false
            }
          ]
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_OPENTSDB}",
          "fill": 1,
          "id": 2,
          "interval": "$interval",
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": true,
            "max": true,
            "min": true,
            "rightSide": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 2,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "alias": "usage_idle",
              "yaxis": 2
            }
          ],
          "spaceLength": 10,
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "aggregator": "sum",
              "alias": "usage_idle",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "avg",
              "downsampleFillPolicy": "null",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "metric": "cpu_usage_idle",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT mean(\"usage_idle\") FROM \"cpu\" WHERE \"host\" =~ /^$host$/ AND $timeFilter GROUP BY time($interval) fill(null)",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "aggregator": "sum",
              "alias": "usage_iowait",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "avg",
              "downsampleFillPolicy": "null",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "interval": "$Interval",
              "metric": "cpu_usage_iowait",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT mean(\"usage_iowait\") FROM \"cpu\" WHERE \"host\" =~ /^$host$/ AND $timeFilter GROUP BY time($interval) fill(null)",
              "rawQuery": true,
              "refId": "B",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "aggregator": "sum",
              "alias": "usage_user",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "avg",
              "downsampleFillPolicy": "none",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "interval": "$Interval",
              "measurement": "cpu",
              "metric": "cpu_usage_user",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT mean(\"usage_user\") FROM \"cpu\" WHERE \"host\" =~ /^$host$/ and $timeFilter GROUP BY time($interval) fill(null)",
              "rawQuery": true,
              "refId": "C",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "usage_user"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "aggregator": "sum",
              "alias": "usage_system",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "avg",
              "downsampleFillPolicy": "none",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "interval": "$Interval",
              "measurement": "cpu",
              "metric": "cpu_usage_system",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT mean(\"usage_system\") FROM \"cpu\" WHERE \"host\" =~ /^$host$/ and $timeFilter GROUP BY time($interval) fill(null)",
              "rawQuery": true,
              "refId": "D",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "usage_system"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "CPU",
          "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
            }
          ]
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_OPENTSDB}",
          "fill": 1,
          "id": 3,
          "interval": "$interval",
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": true,
            "max": true,
            "min": true,
            "rightSide": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 2,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "alias": "Sleeping",
              "yaxis": 2
            },
            {
              "alias": "Total",
              "yaxis": 2
            },
            {
              "alias": "Total Threads",
              "yaxis": 2
            }
          ],
          "spaceLength": 10,
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "aggregator": "sum",
              "alias": "Total",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "avg",
              "downsampleFillPolicy": "none",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "metric": "processes_total",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "select blocked,running,sleeping,total,total_threads,zombies from processes where  host =~ /^$host$/ and $timeFilter",
              "rawQuery": true,
              "refId": "D",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "shouldComputeRate": false,
              "tags": []
            },
            {
              "aggregator": "sum",
              "alias": "Total Threads",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "avg",
              "downsampleFillPolicy": "none",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "metric": "processes_total_threads",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "select blocked,running,sleeping,total,total_threads,zombies from processes where  host =~ /^$host$/ and $timeFilter",
              "rawQuery": true,
              "refId": "E",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "shouldComputeRate": false,
              "tags": []
            },
            {
              "aggregator": "sum",
              "alias": "Sleeping",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "avg",
              "downsampleFillPolicy": "none",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "metric": "processes_sleeping",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "select blocked,running,sleeping,total,total_threads,zombies from processes where  host =~ /^$host$/ and $timeFilter",
              "rawQuery": true,
              "refId": "C",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "shouldComputeRate": false,
              "tags": []
            },
            {
              "aggregator": "sum",
              "alias": "Blocked",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "avg",
              "downsampleFillPolicy": "none",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "metric": "processes_blocked",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "select blocked,running,sleeping,total,total_threads,zombies from processes where  host =~ /^$host$/ and $timeFilter",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "shouldComputeRate": false,
              "tags": []
            },
            {
              "aggregator": "sum",
              "alias": "Running",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "avg",
              "downsampleFillPolicy": "none",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "metric": "processes_running",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "select blocked,running,sleeping,total,total_threads,zombies from processes where  host =~ /^$host$/ and $timeFilter",
              "rawQuery": true,
              "refId": "B",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "shouldComputeRate": false,
              "tags": []
            },
            {
              "aggregator": "sum",
              "alias": "Zombies",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "avg",
              "downsampleFillPolicy": "none",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "metric": "processes_zombies",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "select blocked,running,sleeping,total,total_threads,zombies from processes where  host =~ /^$host$/ and $timeFilter",
              "rawQuery": true,
              "refId": "F",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "shouldComputeRate": false,
              "tags": []
            },
            {
              "aggregator": "sum",
              "alias": "Paging",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "avg",
              "downsampleFillPolicy": "none",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "metric": "processes_paging",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "select blocked,running,sleeping,total,total_threads,zombies from processes where  host =~ /^$host$/ and $timeFilter",
              "rawQuery": true,
              "refId": "G",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "shouldComputeRate": false,
              "tags": []
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "Processes",
          "tooltip": {
            "shared": true,
            "sort": 1,
            "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
            }
          ]
        },
        {
          "aliasColors": {
            "/:used_percent": "#E0752D"
          },
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_OPENTSDB}",
          "fill": 1,
          "id": 4,
          "interval": "$interval",
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": true,
            "max": true,
            "min": true,
            "rightSide": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 2,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "alias": "inodes_free",
              "yaxis": 2
            },
            {
              "alias": "inodes_total",
              "yaxis": 2
            },
            {
              "alias": "inodes_used",
              "yaxis": 2
            }
          ],
          "spaceLength": 10,
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "aggregator": "sum",
              "alias": "free",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "avg",
              "downsampleFillPolicy": "null",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "metric": "disk_free",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "select mean(\"free\") from disk where $timeFilter and \"host\" =~ /^$host$/  and path =  '$path' group by time($interval) fill(null)",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "aggregator": "sum",
              "alias": "used",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "avg",
              "downsampleFillPolicy": "none",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "interval": "$Interval",
              "metric": "disk_used",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "select mean(\"used\") from disk where $timeFilter and \"host\" =~ /^$host$/  and path =  '$path' group by time($interval) fill(null)",
              "rawQuery": true,
              "refId": "B",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "aggregator": "sum",
              "alias": "total",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "avg",
              "downsampleFillPolicy": "none",
              "downsampleInterval": "",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "metric": "disk_total",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "select mean(\"total\") from disk where $timeFilter and \"host\" =~ /^$host$/  and path =  '$path' group by time($interval) fill(null)",
              "rawQuery": true,
              "refId": "C",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "aggregator": "sum",
              "alias": "inodes_free",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "avg",
              "downsampleFillPolicy": "none",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "metric": "disk_inodes_free",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "select mean(\"inodes_used\"/\"inodes_total\") from disk where $timeFilter and \"host\" =~ /^$host$/  and path =  '$path' group by time($interval) fill(null)",
              "rawQuery": true,
              "refId": "D",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "aggregator": "sum",
              "alias": "inodes_used",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "avg",
              "downsampleFillPolicy": "none",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$Host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "metric": "disk_inodes_used",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "select mean(\"inodes_used\") from disk where $timeFilter and \"host\" =~ /^$host$/  and path =  '$path' group by time($interval) fill(null)",
              "rawQuery": true,
              "refId": "E",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "aggregator": "sum",
              "alias": "inodes_total",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "avg",
              "downsampleFillPolicy": "none",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "metric": "disk_inodes_total",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "select mean(\"inodes_total\") from disk where $timeFilter and \"host\" =~ /^$host$/  and path =  '$path' group by time($interval) fill(null)",
              "rawQuery": true,
              "refId": "F",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "Disk",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "decbytes",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "none",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_OPENTSDB}",
          "fill": 1,
          "id": 5,
          "interval": "$interval",
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": true,
            "max": true,
            "min": false,
            "rightSide": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 2,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "alias": "write_bytes"
            },
            {
              "alias": "read_bytes",
              "color": "#BF1B00",
              "transform": "negative-Y",
              "yaxis": 2
            }
          ],
          "spaceLength": 10,
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "aggregator": "sum",
              "alias": "write_bytes",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "avg",
              "downsampleFillPolicy": "none",
              "dsType": "influxdb",
              "explicitTags": false,
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "isCounter": false,
              "metric": "diskio_write_bytes",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT non_negative_derivative(mean(\"write_bytes\"), 10s) FROM \"diskio\" WHERE \"host\" =~ /^$host$/  AND \"name\"= 'vda'  AND $timeFilter GROUP BY time($interval) fill(null)",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "shouldComputeRate": true,
              "tags": []
            },
            {
              "aggregator": "sum",
              "alias": "read_bytes",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "avg",
              "downsampleFillPolicy": "none",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "metric": "diskio_read_bytes",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT non_negative_derivative(mean(\"write_bytes\"), 10s) FROM \"diskio\" WHERE \"host\" =~ /^$host$/  AND \"name\"= 'vda'  AND $timeFilter GROUP BY time($interval) fill(null)",
              "rawQuery": true,
              "refId": "B",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "shouldComputeRate": true,
              "tags": []
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "Disk IO",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "decbytes",
              "label": null,
              "logBase": 2,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "decbytes",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        },
        {
          "aliasColors": {
            "tcp_established": "#0A437C"
          },
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_OPENTSDB}",
          "fill": 1,
          "id": 20,
          "interval": "$interval",
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": true,
            "hideEmpty": false,
            "hideZero": false,
            "max": true,
            "min": true,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 2,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "aggregator": "sum",
              "alias": "tcp_established",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "avg",
              "downsampleFillPolicy": "none",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "interval": "$Interval",
              "metric": "netstat_tcp_established",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT mean(tcp_established)   FROM \"netstat\" WHERE $timeFilter and \"host\" =~ /^$host$/ GROUP BY time($interval) fill(null)",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "aggregator": "sum",
              "alias": "tcp_syn_recv",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "avg",
              "downsampleFillPolicy": "none",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "metric": "netstat_tcp_syn_recv",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT mean(tcp_syn_recv)   FROM \"netstat\" WHERE $timeFilter and \"host\" =~ /^$host$/ GROUP BY time($interval) fill(null)",
              "rawQuery": true,
              "refId": "C",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "aggregator": "sum",
              "alias": "tcp_time_wait",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "avg",
              "downsampleFillPolicy": "none",
              "downsampleInterval": "",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "metric": "netstat_tcp_time_wait",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT mean(tcp_time_wait)   FROM \"netstat\" WHERE $timeFilter and \"host\" =~ /^$host$/ GROUP BY time($interval) fill(null)",
              "rawQuery": true,
              "refId": "D",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "aggregator": "sum",
              "alias": "udp_socket",
              "currentFilterGroupBy": false,
              "currentFilterKey": "",
              "currentFilterType": "literal_or",
              "currentFilterValue": "",
              "downsampleAggregator": "avg",
              "downsampleFillPolicy": "none",
              "dsType": "influxdb",
              "filters": [
                {
                  "filter": "$host",
                  "groupBy": true,
                  "tagk": "host",
                  "type": "iliteral_or"
                }
              ],
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "metric": "netstat_udp_socket",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT mean(udp_socket)   FROM \"netstat\" WHERE $timeFilter and \"host\" =~ /^$host$/ GROUP BY time($interval) fill(null)",
              "rawQuery": true,
              "refId": "E",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "Netstat",
          "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
            }
          ]
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": false,
      "title": "SYSTEM",
      "titleSize": "h6"
    }
  ],
  "schemaVersion": 14,
  "style": "dark",
  "tags": [
    "telegraf",
    "influxdb",
    "host"
  ],
  "templating": {
    "list": [
      {
        "auto": true,
        "auto_count": 30,
        "auto_min": "10s",
        "current": {
          "text": "1h",
          "value": "1h"
        },
        "hide": 0,
        "label": null,
        "name": "interval",
        "options": [
          {
            "selected": false,
            "text": "auto",
            "value": "$__auto_interval"
          },
          {
            "selected": false,
            "text": "10s",
            "value": "10s"
          },
          {
            "selected": false,
            "text": "20s",
            "value": "20s"
          },
          {
            "selected": false,
            "text": "30s",
            "value": "30s"
          },
          {
            "selected": false,
            "text": "1m",
            "value": "1m"
          },
          {
            "selected": false,
            "text": "10m",
            "value": "10m"
          },
          {
            "selected": false,
            "text": "30m",
            "value": "30m"
          },
          {
            "selected": true,
            "text": "1h",
            "value": "1h"
          },
          {
            "selected": false,
            "text": "6h",
            "value": "6h"
          },
          {
            "selected": false,
            "text": "12h",
            "value": "12h"
          },
          {
            "selected": false,
            "text": "1d",
            "value": "1d"
          },
          {
            "selected": false,
            "text": "7d",
            "value": "7d"
          },
          {
            "selected": false,
            "text": "14d",
            "value": "14d"
          },
          {
            "selected": false,
            "text": "30d",
            "value": "30d"
          }
        ],
        "query": "10s,20s,30s,1m,10m,30m,1h,6h,12h,1d,7d,14d,30d",
        "refresh": 2,
        "type": "interval"
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_OPENTSDB}",
        "hide": 0,
        "includeAll": false,
        "label": "Host",
        "multi": false,
        "name": "hosts",
        "options": [],
        "query": "tag_values(system_uptime, host)",
        "refresh": 1,
        "regex": "",
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      }
    ]
  },
  "time": {
    "from": "now-7d",
    "to": "now-30s"
  },
  "timepicker": {
    "nowDelay": "30s",
    "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": "Host Metrics",
  "version": 16
}