Grafana dashboard: QNAP SNMP
Description: A dashboard for visualizing collected QNAP NAS Storage data from the target's SNMP port using Telegraf.

Telegraf configuration file available on GitHub: https://github.com/marjan-mesgarani/Telegraf-Config-Files/tree/main/QNAP

{
  "__inputs": [
    {
      "name": "DS_TELEGRAF_QNAP",
      "label": "Telegraf QNAP",
      "description": "",
      "type": "datasource",
      "pluginId": "influxdb",
      "pluginName": "InfluxDB"
    }
  ],
  "__elements": [],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "8.4.4"
    },
    {
      "type": "datasource",
      "id": "influxdb",
      "name": "InfluxDB",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "stat",
      "name": "Stat",
      "version": ""
    },
    {
      "type": "panel",
      "id": "table",
      "name": "Table",
      "version": ""
    },
    {
      "type": "panel",
      "id": "text",
      "name": "Text",
      "version": ""
    },
    {
      "type": "panel",
      "id": "timeseries",
      "name": "Time series",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "target": {
          "limit": 100,
          "matchAny": false,
          "tags": [],
          "type": "dashboard"
        },
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "fiscalYearStartMonth": 0,
  "graphTooltip": 0,
  "id": 5664,
  "links": [],
  "liveNow": false,
  "panels": [
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_TELEGRAF_QNAP}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "#133f81",
            "mode": "fixed"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 4,
        "x": 0,
        "y": 0
      },
      "id": 2,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "/.*/",
          "values": false
        },
        "text": {
          "valueSize": 25
        },
        "textMode": "auto"
      },
      "pluginVersion": "8.3.6",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_TELEGRAF_QNAP}"
          },
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "qnap_snmp",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "host_name"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "agent_host",
              "operator": "=",
              "value": "192.168.1.40"
            }
          ]
        }
      ],
      "title": "Host Name",
      "transformations": [
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "qnap_snmp.last"
              ]
            }
          }
        }
      ],
      "type": "stat"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_TELEGRAF_QNAP}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "#330b46",
            "mode": "fixed"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 4,
        "x": 4,
        "y": 0
      },
      "id": 3,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "/.*/",
          "values": false
        },
        "text": {
          "valueSize": 25
        },
        "textMode": "auto"
      },
      "pluginVersion": "8.3.6",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_TELEGRAF_QNAP}"
          },
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "qnap_snmp",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "model_name"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "agent_host",
              "operator": "=",
              "value": "192.168.1.40"
            }
          ]
        }
      ],
      "title": "Model",
      "transformations": [
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "qnap_snmp.last"
              ]
            }
          }
        }
      ],
      "type": "stat"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_TELEGRAF_QNAP}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "#091a4e",
            "mode": "fixed"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "timeticks"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 4,
        "x": 8,
        "y": 0
      },
      "id": 4,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "/.*/",
          "values": false
        },
        "text": {
          "valueSize": 25
        },
        "textMode": "auto"
      },
      "pluginVersion": "8.3.6",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_TELEGRAF_QNAP}"
          },
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "qnap_snmp",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "system_uptime"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "agent_host",
              "operator": "=",
              "value": "192.168.1.40"
            }
          ]
        }
      ],
      "title": "Uptime",
      "transformations": [
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "qnap_snmp.last"
              ]
            }
          }
        }
      ],
      "type": "stat"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_TELEGRAF_QNAP}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "super-light-yellow",
            "mode": "fixed"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 3,
        "x": 12,
        "y": 0
      },
      "id": 12,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "/.*/",
          "values": false
        },
        "text": {},
        "textMode": "auto"
      },
      "pluginVersion": "8.3.6",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_TELEGRAF_QNAP}"
          },
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "qnap_snmp",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "hd_number"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "agent_host",
              "operator": "=",
              "value": "192.168.1.40"
            }
          ]
        }
      ],
      "title": "Hard Disk",
      "transformations": [
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "qnap_snmp.last"
              ]
            }
          }
        }
      ],
      "type": "stat"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_TELEGRAF_QNAP}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "super-light-yellow",
            "mode": "fixed"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 3,
        "x": 15,
        "y": 0
      },
      "id": 13,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "/.*/",
          "values": false
        },
        "text": {},
        "textMode": "auto"
      },
      "pluginVersion": "8.3.6",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_TELEGRAF_QNAP}"
          },
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "qnap_snmp",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "volume_number"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "agent_host",
              "operator": "=",
              "value": "192.168.1.40"
            }
          ]
        }
      ],
      "title": "System Volume",
      "transformations": [
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "qnap_snmp.last"
              ]
            }
          }
        }
      ],
      "type": "stat"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_TELEGRAF_QNAP}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "super-light-yellow",
            "mode": "fixed"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 3,
        "x": 18,
        "y": 0
      },
      "id": 14,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "/.*/",
          "values": false
        },
        "text": {},
        "textMode": "auto"
      },
      "pluginVersion": "8.3.6",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_TELEGRAF_QNAP}"
          },
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "qnap_snmp",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "fan_number"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "agent_host",
              "operator": "=",
              "value": "192.168.1.40"
            }
          ]
        }
      ],
      "title": "Fan",
      "transformations": [
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "qnap_snmp.last"
              ]
            }
          }
        }
      ],
      "type": "stat"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_TELEGRAF_QNAP}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "super-light-yellow",
            "mode": "fixed"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 3,
        "x": 21,
        "y": 0
      },
      "id": 15,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "/.*/",
          "values": false
        },
        "text": {},
        "textMode": "auto"
      },
      "pluginVersion": "8.3.6",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_TELEGRAF_QNAP}"
          },
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "qnap_snmp",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "if_number"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "agent_host",
              "operator": "=",
              "value": "192.168.1.40"
            }
          ]
        }
      ],
      "title": "Network Interface",
      "transformations": [
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "qnap_snmp.last"
              ]
            }
          }
        }
      ],
      "type": "stat"
    },
    {
      "alert": {
        "alertRuleTags": {},
        "conditions": [
          {
            "evaluator": {
              "params": [
                60
              ],
              "type": "gt"
            },
            "operator": {
              "type": "and"
            },
            "query": {
              "params": [
                "A",
                "5m",
                "now"
              ]
            },
            "reducer": {
              "params": [],
              "type": "avg"
            },
            "type": "query"
          }
        ],
        "executionErrorState": "keep_state",
        "for": "5m",
        "frequency": "1m",
        "handler": 1,
        "name": "QNAP - System Temperature alert",
        "noDataState": "ok",
        "notifications": []
      },
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_TELEGRAF_QNAP}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "#ffe91e",
            "mode": "fixed"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 25,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "min": 0,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "celsius"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 6,
        "x": 0,
        "y": 3
      },
      "id": 8,
      "options": {
        "legend": {
          "calcs": [
            "min",
            "max",
            "mean",
            "lastNotNull"
          ],
          "displayMode": "table",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "targets": [
        {
          "alias": "System",
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_TELEGRAF_QNAP}"
          },
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "measurement": "qnap_script",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "system_temperature_celsius"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": []
        }
      ],
      "thresholds": [
        {
          "colorMode": "critical",
          "op": "gt",
          "value": 60,
          "visible": true
        }
      ],
      "title": "System Temperature",
      "type": "timeseries"
    },
    {
      "alert": {
        "alertRuleTags": {},
        "conditions": [
          {
            "evaluator": {
              "params": [
                70
              ],
              "type": "gt"
            },
            "operator": {
              "type": "and"
            },
            "query": {
              "params": [
                "A",
                "5m",
                "now"
              ]
            },
            "reducer": {
              "params": [],
              "type": "avg"
            },
            "type": "query"
          }
        ],
        "executionErrorState": "keep_state",
        "for": "5m",
        "frequency": "1m",
        "handler": 1,
        "name": "QNAP - CPU Temperature alert",
        "noDataState": "ok",
        "notifications": []
      },
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_TELEGRAF_QNAP}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "#059162",
            "mode": "fixed"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 25,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "min": 0,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "celsius"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 6,
        "x": 6,
        "y": 3
      },
      "id": 6,
      "options": {
        "legend": {
          "calcs": [
            "min",
            "max",
            "mean",
            "lastNotNull"
          ],
          "displayMode": "table",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "targets": [
        {
          "alias": "CPU",
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_TELEGRAF_QNAP}"
          },
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "measurement": "qnap_script",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "cpu_temperature_celsius"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": []
        }
      ],
      "thresholds": [
        {
          "colorMode": "critical",
          "op": "gt",
          "value": 70,
          "visible": true
        }
      ],
      "title": "CPU Temperature",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_TELEGRAF_QNAP}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "dark-blue",
            "mode": "fixed"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 25,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "min": 0,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "percent"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 6,
        "x": 12,
        "y": 3
      },
      "id": 7,
      "options": {
        "legend": {
          "calcs": [
            "min",
            "max",
            "mean",
            "lastNotNull"
          ],
          "displayMode": "table",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "targets": [
        {
          "alias": "CPU",
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_TELEGRAF_QNAP}"
          },
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "measurement": "qnap_script",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "cpu_usage_percent"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": []
        }
      ],
      "title": "CPU Usage",
      "type": "timeseries"
    },
    {
      "alert": {
        "alertRuleTags": {},
        "conditions": [
          {
            "evaluator": {
              "params": [
                80
              ],
              "type": "gt"
            },
            "operator": {
              "type": "and"
            },
            "query": {
              "params": [
                "A",
                "5m",
                "now"
              ]
            },
            "reducer": {
              "params": [],
              "type": "avg"
            },
            "type": "query"
          }
        ],
        "executionErrorState": "keep_state",
        "for": "5m",
        "frequency": "1m",
        "handler": 1,
        "name": "QNAP - Memory Usage alert",
        "noDataState": "ok",
        "notifications": []
      },
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_TELEGRAF_QNAP}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "#880a19",
            "mode": "fixed"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 25,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "min": 0,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "percent"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 6,
        "x": 18,
        "y": 3
      },
      "id": 9,
      "options": {
        "legend": {
          "calcs": [
            "min",
            "max",
            "mean",
            "lastNotNull"
          ],
          "displayMode": "table",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "targets": [
        {
          "alias": "Memory",
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_TELEGRAF_QNAP}"
          },
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "qnap_script",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT ((last(\"memory_total_mb\") - last(\"memory_free_mb\")) / last(\"memory_total_mb\")) * 100 FROM \"qnap_script\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "memory_total_mb"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": []
        }
      ],
      "thresholds": [
        {
          "colorMode": "critical",
          "op": "gt",
          "value": 80,
          "visible": true
        }
      ],
      "title": "Memory Usage",
      "type": "timeseries"
    },
    {
      "alert": {
        "alertRuleTags": {},
        "conditions": [
          {
            "evaluator": {
              "params": [],
              "type": "no_value"
            },
            "operator": {
              "type": "and"
            },
            "query": {
              "params": [
                "A",
                "5m",
                "now"
              ]
            },
            "reducer": {
              "params": [],
              "type": "avg"
            },
            "type": "query"
          }
        ],
        "executionErrorState": "keep_state",
        "for": "5m",
        "frequency": "1m",
        "handler": 1,
        "name": "QNAP - Network Status alert",
        "noDataState": "ok",
        "notifications": []
      },
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_TELEGRAF_QNAP}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "light-yellow",
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 25,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 6,
        "x": 0,
        "y": 10
      },
      "id": 20,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "targets": [
        {
          "alias": "$tag_if_desc_tag",
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_TELEGRAF_QNAP}"
          },
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "if_desc_tag"
              ],
              "type": "tag"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "measurement": "qnap_snmp",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "if_error_packets"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "agent_host",
              "operator": "=",
              "value": "192.168.1.40"
            }
          ]
        }
      ],
      "thresholds": [],
      "title": "Network Status",
      "type": "timeseries"
    },
    {
      "alert": {
        "alertRuleTags": {},
        "conditions": [
          {
            "evaluator": {
              "params": [
                0
              ],
              "type": "lt"
            },
            "operator": {
              "type": "and"
            },
            "query": {
              "params": [
                "A",
                "5m",
                "now"
              ]
            },
            "reducer": {
              "params": [],
              "type": "last"
            },
            "type": "query"
          }
        ],
        "executionErrorState": "keep_state",
        "for": "5m",
        "frequency": "1m",
        "handler": 1,
        "name": "QNAP - Hard Disk Status alert",
        "noDataState": "ok",
        "notifications": []
      },
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_TELEGRAF_QNAP}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "dark-blue",
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 25,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "none"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "HDD1"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "SSD1"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "HDD2"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "SSD2"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 7,
        "w": 6,
        "x": 6,
        "y": 10
      },
      "id": 19,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "targets": [
        {
          "alias": "$tag_hd_desc_tag",
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_TELEGRAF_QNAP}"
          },
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "hd_desc_tag"
              ],
              "type": "tag"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "measurement": "qnap_snmp",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"hd_status\") FROM \"qnap_snmp\" WHERE (\"agent_host\" = '192.168.1.40' AND \"hd_status\" != -5) AND $timeFilter GROUP BY time($__interval), \"hd_desc_tag\" fill(none)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "hd_status"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "agent_host",
              "operator": "=",
              "value": "192.168.1.40"
            }
          ]
        }
      ],
      "thresholds": [
        {
          "colorMode": "critical",
          "op": "lt",
          "value": 0,
          "visible": true
        }
      ],
      "title": "Hard Disk Status",
      "type": "timeseries"
    },
    {
      "alert": {
        "alertRuleTags": {},
        "conditions": [
          {
            "evaluator": {
              "params": [
                0
              ],
              "type": "gt"
            },
            "operator": {
              "type": "and"
            },
            "query": {
              "params": [
                "A",
                "5m",
                "now"
              ]
            },
            "reducer": {
              "params": [],
              "type": "last"
            },
            "type": "query"
          }
        ],
        "executionErrorState": "keep_state",
        "for": "5m",
        "frequency": "1m",
        "handler": 1,
        "name": "QNAP - System Volume Status alert",
        "noDataState": "ok",
        "notifications": []
      },
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_TELEGRAF_QNAP}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "dark-blue",
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 25,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "min": 0,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 6,
        "x": 12,
        "y": 10
      },
      "id": 21,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "targets": [
        {
          "alias": "$tag_volume_desc_tag",
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_TELEGRAF_QNAP}"
          },
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "volume_desc_tag"
              ],
              "type": "tag"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "measurement": "qnap_snmp",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "vol_status_code"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "agent_host",
              "operator": "=",
              "value": "192.168.1.40"
            }
          ]
        }
      ],
      "thresholds": [
        {
          "colorMode": "critical",
          "op": "gt",
          "value": 0,
          "visible": true
        }
      ],
      "title": "System Volume Status",
      "type": "timeseries"
    },
    {
      "alert": {
        "alertRuleTags": {},
        "conditions": [
          {
            "evaluator": {
              "params": [
                90
              ],
              "type": "gt"
            },
            "operator": {
              "type": "and"
            },
            "query": {
              "params": [
                "A",
                "5m",
                "now"
              ]
            },
            "reducer": {
              "params": [],
              "type": "avg"
            },
            "type": "query"
          }
        ],
        "executionErrorState": "keep_state",
        "for": "5m",
        "frequency": "1m",
        "handler": 1,
        "name": "QNAP - System Volume Usage alert",
        "noDataState": "ok",
        "notifications": []
      },
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_TELEGRAF_QNAP}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "dark-blue",
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 25,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "min": 0,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "percent"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 6,
        "x": 18,
        "y": 10
      },
      "id": 22,
      "options": {
        "legend": {
          "calcs": [
            "min",
            "max",
            "mean",
            "lastNotNull"
          ],
          "displayMode": "table",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "targets": [
        {
          "alias": "$tag_vol_name_tag",
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_TELEGRAF_QNAP}"
          },
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "vol_name_tag"
              ],
              "type": "tag"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "measurement": "qnap_snmp",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT ((last(\"vol_cap\") - last(\"vol_free\")) / last(\"vol_cap\")) * 100 FROM \"qnap_snmp\" WHERE (\"agent_host\" = '192.168.1.40') AND $timeFilter GROUP BY time($__interval), \"vol_name_tag\" fill(none)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "vol_cap"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "agent_host",
              "operator": "=",
              "value": "192.168.1.40"
            }
          ]
        }
      ],
      "thresholds": [
        {
          "colorMode": "critical",
          "op": "gt",
          "value": 90,
          "visible": true
        }
      ],
      "title": "System Volume Usage",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_TELEGRAF_QNAP}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": "left",
            "displayMode": "auto"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Index"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 80
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Description"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 120
              },
              {
                "id": "mappings",
                "value": [
                  {
                    "options": {
                      "HDD1": {
                        "index": 0,
                        "text": "SSD1"
                      },
                      "HDD2": {
                        "index": 1,
                        "text": "SSD2"
                      }
                    },
                    "type": "value"
                  }
                ]
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Model"
            },
            "properties": [
              {
                "id": "custom.width"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Status"
            },
            "properties": [
              {
                "id": "mappings",
                "value": [
                  {
                    "options": {
                      "0": {
                        "color": "dark-green",
                        "index": 0,
                        "text": "Ready"
                      },
                      "-4": {
                        "color": "#404040",
                        "index": 4,
                        "text": "Unknown"
                      },
                      "-5": {
                        "color": "#404040",
                        "index": 1,
                        "text": "No Disk"
                      },
                      "-6": {
                        "color": "dark-red",
                        "index": 2,
                        "text": "Invalid"
                      },
                      "-9": {
                        "color": "dark-red",
                        "index": 3,
                        "text": "R/W Error"
                      }
                    },
                    "type": "value"
                  }
                ]
              },
              {
                "id": "color"
              },
              {
                "id": "custom.displayMode",
                "value": "color-background"
              },
              {
                "id": "custom.width",
                "value": 120
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Temperature"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 120
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Capacity"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 120
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "S.M.A.R.T Info"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 120
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 17
      },
      "id": 11,
      "options": {
        "footer": {
          "fields": "",
          "reducer": [
            "sum"
          ],
          "show": false
        },
        "showHeader": true,
        "sortBy": [
          {
            "desc": false,
            "displayName": "Index"
          }
        ]
      },
      "pluginVersion": "8.3.6",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_TELEGRAF_QNAP}"
          },
          "groupBy": [],
          "hide": false,
          "measurement": "qnap_snmp",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "hd_index"
                ],
                "type": "field"
              },
              {
                "params": [
                  "index"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "hd_desc"
                ],
                "type": "field"
              },
              {
                "params": [
                  "desc"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "hd_model"
                ],
                "type": "field"
              },
              {
                "params": [
                  "model"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "hd_status"
                ],
                "type": "field"
              },
              {
                "params": [
                  "status"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "hd_temperature"
                ],
                "type": "field"
              },
              {
                "params": [
                  "temp"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "hd_capacity"
                ],
                "type": "field"
              },
              {
                "params": [
                  "cap"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "hd_smart_info"
                ],
                "type": "field"
              },
              {
                "params": [
                  "smart"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "agent_host",
              "operator": "=",
              "value": "192.168.1.40"
            }
          ]
        }
      ],
      "title": "Hard Disk Details",
      "transformations": [
        {
          "id": "groupBy",
          "options": {
            "fields": {
              "cap": {
                "aggregations": [],
                "operation": "groupby"
              },
              "desc": {
                "aggregations": [],
                "operation": "groupby"
              },
              "index": {
                "aggregations": [],
                "operation": "groupby"
              },
              "model": {
                "aggregations": [],
                "operation": "groupby"
              },
              "smart": {
                "aggregations": [],
                "operation": "groupby"
              },
              "status": {
                "aggregations": [],
                "operation": "groupby"
              },
              "temp": {
                "aggregations": [
                  "lastNotNull"
                ],
                "operation": "aggregate"
              }
            }
          }
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "cap": false,
              "desc": false,
              "index": false,
              "model": false,
              "smart": false,
              "status": false,
              "temp (lastNotNull)": false
            },
            "indexByName": {
              "cap": 5,
              "desc": 1,
              "index": 0,
              "model": 2,
              "smart": 6,
              "status": 3,
              "temp (lastNotNull)": 4
            },
            "renameByName": {
              "cap": "Capacity",
              "desc": "Description",
              "index": "Index",
              "model": "Model",
              "smart": "S.M.A.R.T Info",
              "status": "Status",
              "temp (lastNotNull)": "Temperature"
            }
          }
        },
        {
          "id": "filterByValue",
          "options": {
            "filters": [
              {
                "config": {
                  "id": "isNull",
                  "options": {}
                },
                "fieldName": "Index"
              }
            ],
            "match": "any",
            "type": "exclude"
          }
        }
      ],
      "type": "table"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_TELEGRAF_QNAP}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": "left",
            "displayMode": "auto"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Index"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 80
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Description"
            },
            "properties": [
              {
                "id": "custom.width"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "File System"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 120
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Status"
            },
            "properties": [
              {
                "id": "mappings",
                "value": [
                  {
                    "options": {
                      "Ready": {
                        "color": "dark-green",
                        "index": 0
                      },
                      "Unknown": {
                        "color": "#404040",
                        "index": 1
                      }
                    },
                    "type": "value"
                  }
                ]
              },
              {
                "id": "color"
              },
              {
                "id": "custom.displayMode",
                "value": "color-background"
              },
              {
                "id": "custom.width",
                "value": 120
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Capacity"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 120
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Free Space"
            },
            "properties": [
              {
                "id": "custom.width"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 17
      },
      "id": 16,
      "options": {
        "footer": {
          "fields": "",
          "reducer": [
            "sum"
          ],
          "show": false
        },
        "showHeader": true,
        "sortBy": [
          {
            "desc": false,
            "displayName": "Index"
          }
        ]
      },
      "pluginVersion": "8.3.6",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_TELEGRAF_QNAP}"
          },
          "groupBy": [],
          "hide": false,
          "measurement": "qnap_snmp",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "volume_index"
                ],
                "type": "field"
              },
              {
                "params": [
                  "index"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "volume_desc"
                ],
                "type": "field"
              },
              {
                "params": [
                  "desc"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "volume_file_system"
                ],
                "type": "field"
              },
              {
                "params": [
                  "file_sys"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "volume_status"
                ],
                "type": "field"
              },
              {
                "params": [
                  "status"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "volume_total_size"
                ],
                "type": "field"
              },
              {
                "params": [
                  "cap"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "volume_free_size"
                ],
                "type": "field"
              },
              {
                "params": [
                  "free"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "agent_host",
              "operator": "=",
              "value": "192.168.1.40"
            }
          ]
        }
      ],
      "title": "System Volume Details",
      "transformations": [
        {
          "id": "groupBy",
          "options": {
            "fields": {
              "cap": {
                "aggregations": [],
                "operation": "groupby"
              },
              "desc": {
                "aggregations": [],
                "operation": "groupby"
              },
              "file_sys": {
                "aggregations": [],
                "operation": "groupby"
              },
              "free": {
                "aggregations": [
                  "lastNotNull"
                ],
                "operation": "aggregate"
              },
              "index": {
                "aggregations": [],
                "operation": "groupby"
              },
              "model": {
                "aggregations": [],
                "operation": "groupby"
              },
              "smart": {
                "aggregations": [],
                "operation": "groupby"
              },
              "status": {
                "aggregations": [
                  "lastNotNull"
                ],
                "operation": "aggregate"
              },
              "temp": {
                "aggregations": [
                  "lastNotNull"
                ],
                "operation": "aggregate"
              }
            }
          }
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "cap": false,
              "desc": false,
              "index": false,
              "model": false,
              "smart": false,
              "status": false,
              "temp (lastNotNull)": false
            },
            "indexByName": {
              "cap": 4,
              "desc": 1,
              "file_sys": 3,
              "free (lastNotNull)": 5,
              "index": 0,
              "status (lastNotNull)": 2
            },
            "renameByName": {
              "cap": "Capacity",
              "desc": "Description",
              "file_sys": "File System",
              "free (lastNotNull)": "Free Space",
              "index": "Index",
              "model": "Model",
              "smart": "S.M.A.R.T Info",
              "status": "Status",
              "status (lastNotNull)": "Status",
              "temp (lastNotNull)": "Temperature"
            }
          }
        },
        {
          "id": "filterByValue",
          "options": {
            "filters": [
              {
                "config": {
                  "id": "isNull",
                  "options": {}
                },
                "fieldName": "Index"
              }
            ],
            "match": "any",
            "type": "exclude"
          }
        }
      ],
      "type": "table"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_TELEGRAF_QNAP}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": "left",
            "displayMode": "auto"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Index"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 80
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Packets Received"
            },
            "properties": [
              {
                "id": "custom.width"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 24
      },
      "id": 17,
      "options": {
        "footer": {
          "fields": "",
          "reducer": [
            "sum"
          ],
          "show": false
        },
        "showHeader": true,
        "sortBy": [
          {
            "desc": false,
            "displayName": "Index"
          }
        ]
      },
      "pluginVersion": "8.3.6",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_TELEGRAF_QNAP}"
          },
          "groupBy": [],
          "hide": false,
          "measurement": "qnap_snmp",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "if_index"
                ],
                "type": "field"
              },
              {
                "params": [
                  "index"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "if_desc"
                ],
                "type": "field"
              },
              {
                "params": [
                  "desc"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "if_packets_in"
                ],
                "type": "field"
              },
              {
                "params": [
                  "rx"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "if_packets_out"
                ],
                "type": "field"
              },
              {
                "params": [
                  "tx"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "if_error_packets"
                ],
                "type": "field"
              },
              {
                "params": [
                  "error"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "agent_host",
              "operator": "=",
              "value": "192.168.1.40"
            }
          ]
        }
      ],
      "title": "Network Interface Details",
      "transformations": [
        {
          "id": "groupBy",
          "options": {
            "fields": {
              "cap": {
                "aggregations": [],
                "operation": "groupby"
              },
              "desc": {
                "aggregations": [],
                "operation": "groupby"
              },
              "error": {
                "aggregations": [
                  "lastNotNull"
                ],
                "operation": "aggregate"
              },
              "file_sys": {
                "aggregations": [],
                "operation": "groupby"
              },
              "free": {
                "aggregations": [
                  "lastNotNull"
                ],
                "operation": "aggregate"
              },
              "index": {
                "aggregations": [],
                "operation": "groupby"
              },
              "model": {
                "aggregations": [],
                "operation": "groupby"
              },
              "rx": {
                "aggregations": [
                  "lastNotNull"
                ],
                "operation": "aggregate"
              },
              "smart": {
                "aggregations": [],
                "operation": "groupby"
              },
              "status": {
                "aggregations": [],
                "operation": "groupby"
              },
              "temp": {
                "aggregations": [
                  "lastNotNull"
                ],
                "operation": "aggregate"
              },
              "tx": {
                "aggregations": [
                  "lastNotNull"
                ],
                "operation": "aggregate"
              }
            }
          }
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "cap": false,
              "desc": false,
              "index": false,
              "model": false,
              "smart": false,
              "status": false,
              "temp (lastNotNull)": false
            },
            "indexByName": {
              "cap": 4,
              "desc": 1,
              "file_sys": 2,
              "free (lastNotNull)": 5,
              "index": 0,
              "status": 3
            },
            "renameByName": {
              "cap": "Capacity",
              "desc": "Description",
              "error (lastNotNull)": "Error Packets",
              "file_sys": "File System",
              "free (lastNotNull)": "Free Space",
              "index": "Index",
              "model": "Model",
              "rx (lastNotNull)": "Packets Received",
              "smart": "S.M.A.R.T Info",
              "status": "Status",
              "temp (lastNotNull)": "Temperature",
              "tx (lastNotNull)": "Packets Sent"
            }
          }
        },
        {
          "id": "filterByValue",
          "options": {
            "filters": [
              {
                "config": {
                  "id": "isNull",
                  "options": {}
                },
                "fieldName": "Index"
              }
            ],
            "match": "any",
            "type": "exclude"
          }
        }
      ],
      "type": "table"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_TELEGRAF_QNAP}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": "left",
            "displayMode": "auto"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Index"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 80
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 24
      },
      "id": 18,
      "options": {
        "footer": {
          "fields": "",
          "reducer": [
            "sum"
          ],
          "show": false
        },
        "showHeader": true,
        "sortBy": [
          {
            "desc": false,
            "displayName": "Index"
          }
        ]
      },
      "pluginVersion": "8.3.6",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_TELEGRAF_QNAP}"
          },
          "groupBy": [],
          "hide": false,
          "measurement": "qnap_snmp",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "fan_index"
                ],
                "type": "field"
              },
              {
                "params": [
                  "index"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "fan_desc"
                ],
                "type": "field"
              },
              {
                "params": [
                  "desc"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "fan_speed"
                ],
                "type": "field"
              },
              {
                "params": [
                  "speed"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "agent_host",
              "operator": "=",
              "value": "192.168.1.40"
            }
          ]
        }
      ],
      "title": "Fan Details",
      "transformations": [
        {
          "id": "groupBy",
          "options": {
            "fields": {
              "cap": {
                "aggregations": [],
                "operation": "groupby"
              },
              "desc": {
                "aggregations": [],
                "operation": "groupby"
              },
              "error": {
                "aggregations": [
                  "lastNotNull"
                ],
                "operation": "aggregate"
              },
              "file_sys": {
                "aggregations": [],
                "operation": "groupby"
              },
              "free": {
                "aggregations": [
                  "lastNotNull"
                ],
                "operation": "aggregate"
              },
              "index": {
                "aggregations": [],
                "operation": "groupby"
              },
              "model": {
                "aggregations": [],
                "operation": "groupby"
              },
              "rx": {
                "aggregations": [
                  "lastNotNull"
                ],
                "operation": "aggregate"
              },
              "smart": {
                "aggregations": [],
                "operation": "groupby"
              },
              "speed": {
                "aggregations": [
                  "lastNotNull"
                ],
                "operation": "aggregate"
              },
              "status": {
                "aggregations": [],
                "operation": "groupby"
              },
              "temp": {
                "aggregations": [
                  "lastNotNull"
                ],
                "operation": "aggregate"
              },
              "tx": {
                "aggregations": [
                  "lastNotNull"
                ],
                "operation": "aggregate"
              }
            }
          }
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "cap": false,
              "desc": false,
              "index": false,
              "model": false,
              "smart": false,
              "status": false,
              "temp (lastNotNull)": false
            },
            "indexByName": {
              "cap": 4,
              "desc": 1,
              "file_sys": 2,
              "free (lastNotNull)": 5,
              "index": 0,
              "status": 3
            },
            "renameByName": {
              "cap": "Capacity",
              "desc": "Description",
              "error (lastNotNull)": "Error Packets",
              "file_sys": "File System",
              "free (lastNotNull)": "Free Space",
              "index": "Index",
              "model": "Model",
              "rx (lastNotNull)": "Packets Received",
              "smart": "S.M.A.R.T Info",
              "speed (lastNotNull)": "Speed",
              "status": "Status",
              "temp (lastNotNull)": "Temperature",
              "tx (lastNotNull)": "Packets Sent"
            }
          }
        },
        {
          "id": "filterByValue",
          "options": {
            "filters": [
              {
                "config": {
                  "id": "isNull",
                  "options": {}
                },
                "fieldName": "Index"
              }
            ],
            "match": "any",
            "type": "exclude"
          }
        }
      ],
      "type": "table"
    }
  ],
  "refresh": "1m",
  "schemaVersion": 34,
  "style": "dark",
  "tags": [
    "qnap",
    "nas",
    "snmp"
  ],
  "templating": {
    "list": []
  },
  "time": {
    "from": "now-1h",
    "to": "now"
  },
  "timepicker": {},
  "timezone": "",
  "title": "QNAP SNMP",
  "uid": "qnap",
  "version": 1,
  "weekStart": "",
  "gnetId": 18842,
  "description": "A dashboard for visualizing collected QNAP NAS Storage data from the target's SNMP port using Telegraf."
}