Grafana dashboard: Synology NAS Overview
Description: The Synology NAS Overview dashboard gives an overall glance at multiple Synology NAS systems and their operational status.

**Update June 30th 2021 - Something changed in Grafana causing the Usage by Percentage to not display properly.  Had to set a Max 100 and Min 0 value to fix the display.

**Update May 21st 2021 - Fixed an issue with the Synology Systems count and variable.

The Synology NAS Overview dashboard was built to give an overall glance at multiple Synology NAS systems and their operational status.  It was built to compliment the Synology NAS Detail dashboard (https://grafana.com/grafana/dashboards/14284).  

Set the "NASDevices" variable to the number of NAS devices you are monitoring in order for the dashboard to properly report the "Total Synology's" and "Synology's Down".

This dashboard utilizes Prometheus and the snmp_exporter to gather various statistics from Synology NAS devices. It has been tested on both DSM 6.2 and DSM 7.0 utilizing DS1511+, DS1512+, DS1513+ and DS918+ hardware.

Requires: https://github.com/prometheus/snmp_exporter

Variables utilizing Regex are used to filter which Network Interfaces, File Systems and Services are displayed. You can enable or disable them from appearing in the dashboard simply by changing the Regex. Another variable named "interfacebits" allows you to set whether you want your network graphs to show bits or bytes (Megebyte set to 1, Megabits set to 8.).

My snmp generator.yml and the snmp.yml files used by me can be found here.

https://1drv.ms/f/s!Aoh9PyG_FKE1gYZeudlcHyVBGenFXw

If you have issues with the DSM Version, Serial Number and the Disk in the Hard Drives section not reporting correctly check your snmp.yml file. Make sure that the following are set to use "type: DisplayString". Eventhough my generator.yml was configured with overrides they didn't seem to take affect when generating the snmp.yml file (need to investigate more).

Issue: https://github.com/prometheus/snmp_exporter/issues/650


{
  "__inputs": [
    {
      "name": "DS_PROMETHEUS",
      "label": "Prometheus",
      "description": "",
      "type": "datasource",
      "pluginId": "prometheus",
      "pluginName": "Prometheus"
    },
    {
      "name": "VAR_NASDEVICES",
      "type": "constant",
      "label": "NASDevices",
      "value": "5",
      "description": ""
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "8.0.3"
    },
    {
      "type": "datasource",
      "id": "prometheus",
      "name": "Prometheus",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "stat",
      "name": "Stat",
      "version": ""
    },
    {
      "type": "panel",
      "id": "table",
      "name": "Table",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "description": "The Synology NAS Overview dashboard gives an overall glance at multiple Synology NAS systems and their operational status.",
  "editable": true,
  "gnetId": 14364,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1625079103625,
  "links": [
    {
      "asDropdown": true,
      "icon": "external link",
      "includeVars": false,
      "keepTime": true,
      "tags": [
        "synology"
      ],
      "targetBlank": false,
      "title": "Synology",
      "tooltip": "",
      "type": "dashboards",
      "url": ""
    }
  ],
  "panels": [
    {
      "collapsed": false,
      "datasource": null,
      "fieldConfig": {
        "defaults": {},
        "overrides": []
      },
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 23,
      "panels": [],
      "title": "Synology Components",
      "type": "row"
    },
    {
      "datasource": null,
      "description": "Update the NASDevices variable with the total number of Synology systems you have in Prometheus regardless of the Job they are assigned to.  This is to help identify a Synology NAS across the entire fleet of Synology’s.  It is meant to give you an idea that there is a problem regardless of which NAS device it is or the Prometheus Job it is in.\n\n“Total Synology's” is the number of NAS devices you are reporting in Prometheus.  This is a number that you must manually enter in the NASDevices variable.  Count every Synology you have in Prometheus regardless of the Job it is in.\n\n“Synology's Down” indicates that a NAS is either down or not being scrapped in either this Job or any other Job.\n\n“Update Variable” indicates that you are scrapping more NAS devices than you have entered in the NASDevices variable indicating a new device has come online.  Update the NASDevices variable to properly reflect the number of NAS devices you expect to be reporting on.\n",
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "dark-blue",
            "mode": "fixed"
          },
          "mappings": [],
          "noValue": "0",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Synology's Down"
            },
            "properties": [
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "dark-red",
                      "value": 1
                    }
                  ]
                }
              },
              {
                "id": "color"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Value"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Total Synology's"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Update Variable"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "yellow",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 3,
        "w": 4,
        "x": 0,
        "y": 1
      },
      "id": 5,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "last"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "value_and_name"
      },
      "pluginVersion": "8.0.3",
      "targets": [
        {
          "exemplar": true,
          "expr": "$NASDevices",
          "instant": true,
          "interval": "",
          "legendFormat": "Total Synology's",
          "refId": "A"
        },
        {
          "exemplar": true,
          "expr": "$NASDevices-count(systemStatus)>0",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "Synology's Down",
          "refId": "B"
        },
        {
          "exemplar": true,
          "expr": "count(systemStatus)-$NASDevices>0",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "Update Variable",
          "refId": "C"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Synology Systems",
      "type": "stat"
    },
    {
      "datasource": null,
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "noValue": "0",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Admin Down"
            },
            "properties": [
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "yellow",
                      "value": 1
                    }
                  ]
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "DOWN"
            },
            "properties": [
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "dark-red",
                      "value": 1
                    }
                  ]
                }
              },
              {
                "id": "displayName",
                "value": "Interfaces Down"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Admin Up"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-blue",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 3,
        "w": 4,
        "x": 4,
        "y": 1
      },
      "id": 19,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "last"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "value_and_name"
      },
      "pluginVersion": "8.0.3",
      "targets": [
        {
          "exemplar": true,
          "expr": "count(ifAdminStatus{job=~'$JobName',instance=~'$Device',ifName=~'$InterfacePhysical'}==1)",
          "format": "time_series",
          "instant": true,
          "interval": "",
          "legendFormat": "Admin Up",
          "refId": "A"
        },
        {
          "exemplar": true,
          "expr": "count(ifAdminStatus{job=~'$JobName',instance=~'$Device',ifName=~'$InterfacePhysical'}==2) >0",
          "format": "time_series",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "Admin Down",
          "refId": "B"
        },
        {
          "exemplar": true,
          "expr": "(count(ifOperStatus{job=~'$JobName',instance=~'$Device',ifName=~'$InterfacePhysical'}==2)) - (count(ifAdminStatus{job=~'$JobName',instance=~'$Device',ifName=~'$InterfacePhysical'}==2)) >0",
          "format": "time_series",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "DOWN",
          "refId": "C"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Network Interface Status",
      "transformations": [],
      "type": "stat"
    },
    {
      "datasource": null,
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "dark-blue",
            "mode": "fixed"
          },
          "mappings": [],
          "noValue": "0",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "RAID Warning"
            },
            "properties": [
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "yellow",
                      "value": 1
                    }
                  ]
                }
              },
              {
                "id": "color"
              },
              {
                "id": "noValue",
                "value": "0"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "RAID Failure"
            },
            "properties": [
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "dark-red",
                      "value": 1
                    }
                  ]
                }
              },
              {
                "id": "color"
              },
              {
                "id": "noValue",
                "value": "0"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 3,
        "w": 4,
        "x": 8,
        "y": 1
      },
      "id": 16,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "last"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "value_and_name"
      },
      "pluginVersion": "8.0.3",
      "targets": [
        {
          "exemplar": true,
          "expr": "count(raidStatus{job=~'$JobName',instance=~'$Device',raidName=~'$raidName'})",
          "instant": true,
          "interval": "",
          "legendFormat": "Total Storage",
          "refId": "A"
        },
        {
          "exemplar": true,
          "expr": "count((raidStatus{job=~'$JobName',instance=~'$Device',raidName=~'$raidName'}>=2 and raidStatus{job=~'$JobName',instance=~'$Device',raidName=~'$raidName'}<=10) or (raidStatus{job=~'$JobName',instance=~'$Device',raidName=~'$raidName'}>=13 and {job=~'$JobName',instance=~'$Device',raidName=~'$raidName'}<=20))",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "RAID Warning",
          "refId": "B"
        },
        {
          "exemplar": true,
          "expr": "count((raidStatus{job=~'$JobName',instance=~'$Device',raidName=~'$raidName'}>=11 and raidStatus{job=~'$JobName',instance=~'$Device',raidName=~'$raidName'}<=12) or raidStatus{job=~'$JobName',instance=~'$Device',raidName=~'$raidName'}>21)",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "RAID Failure",
          "refId": "C"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Storage Volumes",
      "transformations": [],
      "type": "stat"
    },
    {
      "datasource": null,
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "dark-blue",
            "mode": "fixed"
          },
          "mappings": [],
          "noValue": "0",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Not Used"
            },
            "properties": [
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "yellow",
                      "value": 1
                    }
                  ]
                }
              },
              {
                "id": "color"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Failure"
            },
            "properties": [
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "dark-red",
                      "value": 1
                    }
                  ]
                }
              },
              {
                "id": "color"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 3,
        "w": 4,
        "x": 12,
        "y": 1
      },
      "id": 17,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "last"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "value_and_name"
      },
      "pluginVersion": "8.0.3",
      "targets": [
        {
          "exemplar": true,
          "expr": "count(diskIndex{job=~'$JobName',instance=~'$Device',diskID=~'$DiskName'})",
          "format": "time_series",
          "instant": true,
          "interval": "",
          "legendFormat": "Total Drives",
          "refId": "A"
        },
        {
          "exemplar": true,
          "expr": "count(diskStatus{job=~'$JobName',instance=~'$Device',diskID=~'$DiskName'}>=2) and count(diskStatus{job=~'$JobName',instance=~'$Device',diskID=~'$DiskName'}<=3)",
          "format": "time_series",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "Not Used",
          "refId": "B"
        },
        {
          "exemplar": true,
          "expr": "count(diskStatus{job=~'$JobName',instance=~'$Device',diskID=~'$DiskName'}>=4)",
          "format": "time_series",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "Failure",
          "refId": "C"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Hard Drives",
      "transformations": [],
      "type": "stat"
    },
    {
      "datasource": null,
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "dark-blue",
            "mode": "fixed"
          },
          "mappings": [],
          "noValue": "No Cache",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Not Used"
            },
            "properties": [
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "yellow",
                      "value": 1
                    }
                  ]
                }
              },
              {
                "id": "color"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Failure"
            },
            "properties": [
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "dark-red",
                      "value": 1
                    }
                  ]
                }
              },
              {
                "id": "color"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 3,
        "w": 4,
        "x": 16,
        "y": 1
      },
      "id": 18,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "last"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "value_and_name"
      },
      "pluginVersion": "8.0.3",
      "targets": [
        {
          "exemplar": true,
          "expr": "count(diskIndex{job=~'$JobName',instance=~'$Device',diskID=~'$DiskNameSSD'})",
          "instant": true,
          "interval": "",
          "legendFormat": "Total Drives",
          "refId": "A"
        },
        {
          "exemplar": true,
          "expr": "count(diskStatus{job=~'$JobName',instance=~'$Device',diskID=~'$DiskNameSSD'}==3)>0",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "Not Used",
          "refId": "B"
        },
        {
          "exemplar": true,
          "expr": "count(diskStatus{job=~'$JobName',instance=~'$Device',diskID=~'$DiskNameSSD'}>=4)>0",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "Failure",
          "refId": "C"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Cache Drives",
      "type": "stat"
    },
    {
      "datasource": null,
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "noValue": "0",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "SMART Checks"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-blue",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "SMART Failures"
            },
            "properties": [
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "dark-red",
                      "value": 1
                    }
                  ]
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 3,
        "w": 4,
        "x": 20,
        "y": 1
      },
      "id": 30,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "last"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "value_and_name"
      },
      "pluginVersion": "8.0.3",
      "targets": [
        {
          "exemplar": true,
          "expr": "count(diskSMARTAttrStatus{job=~'$JobName',instance=~'$Device'}==1)",
          "format": "time_series",
          "instant": true,
          "interval": "",
          "legendFormat": "SMART Checks",
          "refId": "A"
        },
        {
          "exemplar": true,
          "expr": "count(diskSMARTAttrStatus{job=~'$JobName',instance=~'$Device',diskSMARTAttrStatus!=\"OK\"}==1)",
          "format": "time_series",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "SMART Failures",
          "refId": "B"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "S.M.A.R.T Status",
      "transformations": [],
      "type": "stat"
    },
    {
      "datasource": null,
      "fieldConfig": {
        "defaults": {},
        "overrides": []
      },
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 4
      },
      "id": 29,
      "title": "Synology Overview",
      "type": "row"
    },
    {
      "datasource": null,
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": "left",
            "displayMode": "auto",
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 176
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Uptime"
            },
            "properties": [
              {
                "id": "unit",
                "value": "s"
              },
              {
                "id": "decimals",
                "value": 2
              },
              {
                "id": "custom.width",
                "value": 85
              },
              {
                "id": "custom.align",
                "value": "center"
              }
            ]
          },
          {
            "matcher": {
              "id": "byRegexp",
              "options": "^.*Status$"
            },
            "properties": [
              {
                "id": "mappings",
                "value": [
                  {
                    "options": {
                      "1": {
                        "text": "Normal"
                      },
                      "2": {
                        "text": "FAILED"
                      }
                    },
                    "type": "value"
                  }
                ]
              },
              {
                "id": "custom.align",
                "value": "center"
              },
              {
                "id": "custom.displayMode",
                "value": "color-text"
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "red",
                      "value": 2
                    }
                  ]
                }
              },
              {
                "id": "custom.width",
                "value": 140
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Upgrades"
            },
            "properties": [
              {
                "id": "mappings",
                "value": [
                  {
                    "options": {
                      "1": {
                        "text": "Update Available"
                      },
                      "2": {
                        "text": "Up to Date"
                      },
                      "3": {
                        "text": "Connecting"
                      },
                      "4": {
                        "text": "Disconnected"
                      },
                      "5": {
                        "text": "Others"
                      }
                    },
                    "type": "value"
                  }
                ]
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "red",
                      "value": null
                    },
                    {
                      "color": "green",
                      "value": 2
                    },
                    {
                      "color": "orange",
                      "value": 3
                    }
                  ]
                }
              },
              {
                "id": "color",
                "value": {
                  "mode": "thresholds"
                }
              },
              {
                "id": "custom.displayMode",
                "value": "color-text"
              },
              {
                "id": "custom.align",
                "value": "center"
              },
              {
                "id": "custom.width",
                "value": 100
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "System Temp"
            },
            "properties": [
              {
                "id": "unit",
                "value": "fahrenheit"
              },
              {
                "id": "custom.displayMode",
                "value": "gradient-gauge"
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "yellow",
                      "value": 100
                    },
                    {
                      "color": "dark-red",
                      "value": 135
                    }
                  ]
                }
              },
              {
                "id": "max",
                "value": 141
              },
              {
                "id": "custom.width"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Model"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 75
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "DSM Version"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 130
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Serial Number"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 130
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "System Name"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 220
              },
              {
                "id": "custom.displayMode",
                "value": "color-background"
              },
              {
                "id": "color",
                "value": {
                  "fixedColor": "rgba(40, 33, 96, 0.78)",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Memory"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 70
              },
              {
                "id": "custom.align",
                "value": "center"
              },
              {
                "id": "unit",
                "value": "deckbytes"
              },
              {
                "id": "decimals",
                "value": 0
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Drives"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 75
              },
              {
                "id": "custom.align",
                "value": "center"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 6,
        "w": 24,
        "x": 0,
        "y": 5
      },
      "id": 8,
      "options": {
        "showHeader": true,
        "sortBy": []
      },
      "pluginVersion": "8.0.3",
      "targets": [
        {
          "exemplar": true,
          "expr": "ssCpuUser{job=~'$JobName',instance=~'$Device'}",
          "format": "table",
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "A"
        },
        {
          "exemplar": true,
          "expr": "modelName{job=~'$JobName',instance=~'$Device'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "B"
        },
        {
          "exemplar": true,
          "expr": "version{job=~'$JobName',instance=~'$Device'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "C"
        },
        {
          "exemplar": true,
          "expr": "serialNumber{job=~'$JobName',instance=~'$Device'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "D"
        },
        {
          "exemplar": true,
          "expr": "sysUpTime{job=~'$JobName',instance=~'$Device'}/100",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "UpTime",
          "refId": "E"
        },
        {
          "exemplar": true,
          "expr": "systemFanStatus{job=~'$JobName',instance=~'$Device'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "F"
        },
        {
          "exemplar": true,
          "expr": "upgradeAvailable{job=~'$JobName',instance=~'$Device'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "G"
        },
        {
          "exemplar": true,
          "expr": "systemFanStatus{job=~'$JobName',instance=~'$Device'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "H"
        },
        {
          "exemplar": true,
          "expr": "systemFanStatus{job=~'$JobName',instance=~'$Device'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "I"
        },
        {
          "exemplar": true,
          "expr": "cpuFanStatus{job=~'$JobName',instance=~'$Device'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "J"
        },
        {
          "exemplar": true,
          "expr": "(temperature{job=~'$JobName',instance=~'$Device'}*9/5)+32",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "K"
        },
        {
          "exemplar": true,
          "expr": "memTotalReal{job=~'$JobName',instance=~'$Device'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "L"
        },
        {
          "exemplar": true,
          "expr": "diskIndex{job=~'$JobName',instance=~'$Device',diskID=~'$DiskName'}+1",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "M"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "System Information",
      "transformations": [
        {
          "id": "seriesToColumns",
          "options": {
            "byField": "instance"
          }
        },
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "instance",
                "modelName",
                "version",
                "serialNumber",
                "Value #E",
                "Value #F",
                "Value #G",
                "Value #H",
                "Value #I",
                "Value #J",
                "Value #K",
                "Value #L",
                "Value #M"
              ]
            }
          }
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {},
            "indexByName": {
              "Value #E": 6,
              "Value #F": 7,
              "Value #G": 8,
              "Value #H": 9,
              "Value #I": 10,
              "Value #J": 11,
              "Value #K": 12,
              "Value #L": 4,
              "Value #M": 5,
              "instance": 0,
              "modelName": 1,
              "serialNumber": 3,
              "version": 2
            },
            "renameByName": {
              "Value #E": "Uptime",
              "Value #F": "System Status",
              "Value #G": "Upgrades",
              "Value #H": "Power Status",
              "Value #I": "CPU Fan Status",
              "Value #J": "System Fan Status",
              "Value #K": "System Temp",
              "Value #L": "Memory",
              "Value #M": "Drives",
              "instance": "System Name",
              "modelName": "Model",
              "serialNumber": "Serial Number",
              "version": "DSM Version"
            }
          }
        }
      ],
      "type": "table"
    },
    {
      "collapsed": false,
      "datasource": null,
      "fieldConfig": {
        "defaults": {},
        "overrides": []
      },
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 11
      },
      "id": 34,
      "panels": [],
      "title": "S.M.A.R.T Disk Failures",
      "type": "row"
    },
    {
      "datasource": null,
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "dark-red",
            "mode": "fixed"
          },
          "custom": {
            "align": null,
            "displayMode": "color-background",
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 24,
        "x": 0,
        "y": 12
      },
      "id": 32,
      "options": {
        "showHeader": true,
        "sortBy": [
          {
            "desc": false,
            "displayName": "diskSMARTAttrStatus"
          }
        ]
      },
      "pluginVersion": "8.0.3",
      "targets": [
        {
          "exemplar": true,
          "expr": "diskSMARTAttrStatus{job=~'$JobName',instance=~'$Device',diskSMARTAttrStatus!=\"OK\"}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "AttrStatus",
          "refId": "F"
        },
        {
          "exemplar": true,
          "expr": "diskSMARTInfoDevName{job=~'$JobName',instance=~'$Device'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "InfoDevName",
          "refId": "A"
        },
        {
          "exemplar": true,
          "expr": "diskSMARTAttrName{job=~'$JobName',instance=~'$Device'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "AttrName",
          "refId": "B"
        },
        {
          "exemplar": true,
          "expr": "diskSMARTAttrCurrent{job=~'$JobName',instance=~'$Device'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "AttrCurrent",
          "refId": "C"
        },
        {
          "exemplar": true,
          "expr": "diskSMARTAttrThreshold{job=~'$JobName',instance=~'$Device'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "AttrThreshold",
          "refId": "D"
        },
        {
          "exemplar": true,
          "expr": "diskSMARTAttrWorst{job=~'$JobName',instance=~'$Device'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "AttrWorst",
          "refId": "E"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "S.M.A.R.T Disk Failures",
      "transformations": [
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "diskSMARTAttrStatus",
                "instance",
                "Value #F",
                "diskSMARTInfoDevName",
                "Value #A",
                "diskSMARTAttrName",
                "Value #C",
                "Value #D",
                "Value #E"
              ]
            }
          }
        },
        {
          "id": "merge",
          "options": {}
        },
        {
          "id": "filterByValue",
          "options": {
            "filters": [
              {
                "config": {
                  "id": "equal",
                  "options": {
                    "value": 1
                  }
                },
                "fieldName": "Value #F"
              }
            ],
            "match": "any",
            "type": "include"
          }
        },
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "diskSMARTAttrStatus",
                "instance",
                "diskSMARTInfoDevName",
                "diskSMARTAttrName",
                "Value #C",
                "Value #D",
                "Value #E"
              ]
            }
          }
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {},
            "indexByName": {
              "diskSMARTAttrName": 0,
              "diskSMARTAttrStatus": 1,
              "diskSMARTInfoDevName": 3,
              "instance": 2
            },
            "renameByName": {
              "Value #C": "Current",
              "Value #D": "Threshold",
              "Value #E": "Worst",
              "diskSMARTAttrName": "SMART Test",
              "diskSMARTAttrStatus": "Status",
              "diskSMARTInfoDevName": "Disk Name",
              "instance": "Device Name"
            }
          }
        }
      ],
      "type": "table"
    },
    {
      "datasource": null,
      "fieldConfig": {
        "defaults": {},
        "overrides": []
      },
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 15
      },
      "id": 27,
      "title": "Storage Overview",
      "type": "row"
    },
    {
      "datasource": null,
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": "center",
            "displayMode": "auto",
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Raid Status"
            },
            "properties": [
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "yellow",
                      "value": 2
                    },
                    {
                      "color": "dark-red",
                      "value": 11
                    },
                    {
                      "color": "#EAB839",
                      "value": 13
                    },
                    {
                      "color": "dark-red",
                      "value": 21
                    }
                  ]
                }
              },
              {
                "id": "mappings",
                "value": [
                  {
                    "options": {
                      "1": {
                        "text": "Normal"
                      },
                      "2": {
                        "text": "Raid Repairing"
                      },
                      "3": {
                        "text": "Raid Migrating"
                      },
                      "4": {
                        "text": "Raid Expanding"
                      },
                      "5": {
                        "text": "Raid Deleting"
                      },
                      "6": {
                        "text": "Raid Creating"
                      },
                      "7": {
                        "text": "Raid Syncing"
                      },
                      "8": {
                        "text": "Raid Parity Checking"
                      },
                      "9": {
                        "text": "Raid Assembling"
                      },
                      "10": {
                        "text": "Raid Canceling"
                      },
                      "11": {
                        "text": "Raid Degraded"
                      },
                      "12": {
                        "text": "Raid Crashed"
                      },
                      "13": {
                        "text": "Raid Data Scrubbing"
                      },
                      "14": {
                        "text": "Raid Deploying"
                      },
                      "15": {
                        "text": "Raid UnDeploying"
                      },
                      "16": {
                        "text": "Raid Mount Cache"
                      },
                      "17": {
                        "text": "Raid Unmount Cache"
                      },
                      "18": {
                        "text": "Raid Expanding Unfinished SHR"
                      },
                      "20": {
                        "text": "Raid Migrate SHR1 To SHR2"
                      },
                      "21": {
                        "text": "Raid Unknown Status"
                      }
                    },
                    "type": "value"
                  }
                ]
              },
              {
                "id": "custom.width",
                "value": null
              },
              {
                "id": "custom.displayMode",
                "value": "color-text"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Storage Size"
            },
            "properties": [
              {
                "id": "unit",
                "value": "bytes"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Storage Used"
            },
            "properties": [
              {
                "id": "unit",
                "value": "bytes"
              },
              {
                "id": "custom.width",
                "value": 208
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Storage Free"
            },
            "properties": [
              {
                "id": "unit",
                "value": "bytes"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "System Name"
            },
            "properties": [
              {
                "id": "custom.displayMode",
                "value": "color-background"
              },
              {
                "id": "color",
                "value": {
                  "fixedColor": "rgba(40, 33, 96, 0.78)",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.width",
                "value": null
              },
              {
                "id": "custom.align",
                "value": "left"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Storage Name"
            },
            "properties": [
              {
                "id": "custom.align",
                "value": null
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Usage by Percentage"
            },
            "properties": [
              {
                "id": "custom.displayMode",
                "value": "gradient-gauge"
              },
              {
                "id": "unit",
                "value": "percent"
              },
              {
                "id": "custom.width",
                "value": 300
              },
              {
                "id": "decimals",
                "value": 2
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "yellow",
                      "value": 80
                    },
                    {
                      "color": "dark-orange",
                      "value": 85
                    },
                    {
                      "color": "dark-red",
                      "value": 90
                    }
                  ]
                }
              },
              {
                "id": "max",
                "value": 101
              },
              {
                "id": "min",
                "value": 0
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 7,
        "w": 24,
        "x": 0,
        "y": 16
      },
      "id": 14,
      "options": {
        "showHeader": true,
        "sortBy": [
          {
            "desc": false,
            "displayName": "System Name"
          }
        ]
      },
      "pluginVersion": "8.0.3",
      "targets": [
        {
          "exemplar": true,
          "expr": "raidTotalSize{job=~'$JobName',instance=~'$Device',raidName=~'$raidName'}",
          "format": "table",
          "instant": true,
          "interval": "",
          "legendFormat": "Total Size",
          "refId": "A"
        },
        {
          "exemplar": true,
          "expr": "(raidTotalSize{job=~'$JobName',instance=~'$Device',raidName=~'$raidName'}-raidFreeSize{job=~'$JobName',instance=~'$Device',raidName=~'$raidName'})",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "Used",
          "refId": "B"
        },
        {
          "exemplar": true,
          "expr": "raidFreeSize{job=~'$JobName',instance=~'$Device',raidName=~'$raidName'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "Free",
          "refId": "C"
        },
        {
          "exemplar": true,
          "expr": "raidStatus{job=~'$JobName',instance=~'$Device',raidName=~'$raidName'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "Free",
          "refId": "D"
        },
        {
          "exemplar": true,
          "expr": "((raidTotalSize{job=~'$JobName',instance=~'$Device',raidName=~'$raidName'}-raidFreeSize{job=~'$JobName',instance=~'$Device',raidName=~'$raidName'})/raidTotalSize{job=~'$JobName',instance=~'$Device',raidName=~'$raidName'})*100",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "Usage by Percent",
          "refId": "E"
        }
      ],
      "title": "Storage Information",
      "transformations": [
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "instance",
                "raidName",
                "Value #A",
                "Value #B",
                "Value #C",
                "Value #D",
                "Value #E"
              ]
            }
          }
        },
        {
          "id": "merge",
          "options": {}
        },
        {
          "id": "sortBy",
          "options": {
            "fields": {},
            "sort": [
              {
                "field": "instance"
              }
            ]
          }
        },
        {
          "id": "sortBy",
          "options": {
            "fields": {},
            "sort": [
              {
                "field": "raidName"
              }
            ]
          }
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {},
            "indexByName": {
              "Value #A": 3,
              "Value #B": 4,
              "Value #C": 5,
              "Value #D": 2,
              "instance": 0,
              "raidName": 1
            },
            "renameByName": {
              "Value #A": "Storage Size",
              "Value #B": "Storage Used",
              "Value #C": "Storage Free",
              "Value #D": "Raid Status",
              "Value #E": "Usage by Percentage",
              "instance": "System Name",
              "raidName": "Storage Name"
            }
          }
        }
      ],
      "type": "table"
    },
    {
      "datasource": null,
      "fieldConfig": {
        "defaults": {},
        "overrides": []
      },
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 23
      },
      "id": 25,
      "title": "Drive  Overview",
      "type": "row"
    },
    {
      "datasource": null,
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": null,
            "displayMode": "auto",
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Temperature"
            },
            "properties": [
              {
                "id": "custom.displayMode",
                "value": "gradient-gauge"
              },
              {
                "id": "color",
                "value": {
                  "mode": "thresholds"
                }
              },
              {
                "id": "unit",
                "value": "fahrenheit"
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "#EAB839",
                      "value": 100
                    },
                    {
                      "color": "red",
                      "value": 138
                    }
                  ]
                }
              },
              {
                "id": "max",
                "value": 140
              },
              {
                "id": "custom.width",
                "value": 300
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Status"
            },
            "properties": [
              {
                "id": "custom.displayMode",
                "value": "color-text"
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "dark-yellow",
                      "value": 2
                    },
                    {
                      "color": "dark-red",
                      "value": 4
                    }
                  ]
                }
              },
              {
                "id": "custom.align",
                "value": "center"
              },
              {
                "id": "mappings",
                "value": [
                  {
                    "options": {
                      "1": {
                        "text": "Normal"
                      },
                      "2": {
                        "text": "Initialized"
                      },
                      "3": {
                        "text": "Not Initialized"
                      },
                      "5": {
                        "text": "Crashed"
                      }
                    },
                    "type": "value"
                  }
                ]
              },
              {
                "id": "custom.displayMode",
                "value": "color-text"
              },
              {
                "id": "color"
              },
              {
                "id": "custom.width",
                "value": 125
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Disk"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 125
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Type"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": null
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "System Name"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 220
              },
              {
                "id": "custom.displayMode",
                "value": "color-background"
              },
              {
                "id": "color",
                "value": {
                  "fixedColor": "rgba(40, 33, 96, 0.78)",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 7,
        "w": 24,
        "x": 0,
        "y": 24
      },
      "id": 10,
      "options": {
        "frameIndex": 5,
        "showHeader": true,
        "sortBy": [
          {
            "desc": false,
            "displayName": "System Name"
          }
        ]
      },
      "pluginVersion": "8.0.3",
      "repeat": null,
      "targets": [
        {
          "exemplar": true,
          "expr": "diskIndex{job=~'$JobName',instance=~'$Device',diskID=~'$DiskName'} or diskIndex{job=~'$JobName',instance=~'$Device',diskID=~'$DiskNameSSD'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "F"
        },
        {
          "exemplar": true,
          "expr": "diskID{job=~'$JobName',instance=~'$Device',diskID=~'$DiskName'} or diskID{job=~'$JobName',instance=~'$Device',diskID=~'$DiskNameSSD'} ",
          "format": "table",
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "A"
        },
        {
          "exemplar": true,
          "expr": "diskType{job=~'$JobName',instance=~'$Device',diskID=~'$DiskName'} or diskType{job=~'$JobName',instance=~'$Device',diskID=~'$DiskNameSSD'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "B"
        },
        {
          "exemplar": true,
          "expr": "diskStatus{job=~'$JobName',instance=~'$Device',diskID=~'$DiskName'} or diskStatus{job=~'$JobName',instance=~'$Device',diskID=~'$DiskNameSSD'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "C"
        },
        {
          "exemplar": true,
          "expr": "diskModel{job=~'$JobName',instance=~'$Device',diskID=~'$DiskName'} or diskModel{job=~'$JobName',instance=~'$Device',diskID=~'$DiskNameSSD'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "D"
        },
        {
          "exemplar": true,
          "expr": "(diskTemperature{job=~'$JobName',instance=~'$Device',diskID=~'$DiskName'}*9/5)+32 or (diskTemperature{job=~'$JobName',instance=~'$Device',diskID=~'$DiskNameSSD'}*9/5)+32",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "E"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Hard Drive and SSD Information",
      "transformations": [
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "diskID",
                "instance",
                "diskType",
                "Value #C",
                "diskModel",
                "Value #E"
              ]
            }
          }
        },
        {
          "id": "merge",
          "options": {}
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {},
            "indexByName": {
              "Value #C": 2,
              "Value #E": 5,
              "diskID": 1,
              "diskModel": 4,
              "diskType": 3,
              "instance": 0
            },
            "renameByName": {
              "Value #C": "Status",
              "Value #E": "Temperature",
              "diskID": "Disk",
              "diskModel": "Model",
              "diskType": "Type",
              "instance": "System Name"
            }
          }
        },
        {
          "id": "sortBy",
          "options": {
            "fields": {},
            "sort": [
              {
                "field": "System Name"
              }
            ]
          }
        },
        {
          "id": "sortBy",
          "options": {
            "fields": {},
            "sort": [
              {
                "field": "Disk"
              }
            ]
          }
        }
      ],
      "type": "table"
    },
    {
      "collapsed": false,
      "datasource": null,
      "fieldConfig": {
        "defaults": {},
        "overrides": []
      },
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 31
      },
      "id": 21,
      "panels": [],
      "title": "Network Overview",
      "type": "row"
    },
    {
      "datasource": null,
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": "center",
            "displayMode": "auto",
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "System Name"
            },
            "properties": [
              {
                "id": "custom.displayMode",
                "value": "color-background"
              },
              {
                "id": "color",
                "value": {
                  "fixedColor": "rgba(40, 33, 96, 0.78)",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.width",
                "value": 220
              },
              {
                "id": "custom.align",
                "value": "left"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Admin Status"
            },
            "properties": [
              {
                "id": "mappings",
                "value": [
                  {
                    "options": {
                      "1": {
                        "text": "UP"
                      },
                      "2": {
                        "text": "DOWN"
                      },
                      "3": {
                        "text": "TESTING"
                      }
                    },
                    "type": "value"
                  }
                ]
              },
              {
                "id": "custom.displayMode",
                "value": "color-text"
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "yellow",
                      "value": 2
                    },
                    {
                      "color": "orange",
                      "value": 3
                    }
                  ]
                }
              },
              {
                "id": "custom.width",
                "value": 120
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Speed"
            },
            "properties": [
              {
                "id": "unit",
                "value": "decbytes"
              },
              {
                "id": "custom.width",
                "value": 90
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Status"
            },
            "properties": [
              {
                "id": "mappings",
                "value": [
                  {
                    "options": {
                      "1": {
                        "text": "UP"
                      },
                      "2": {
                        "text": "DOWN"
                      },
                      "3": {
                        "text": "TESTING"
                      },
                      "4": {
                        "text": "UNKNOWN"
                      },
                      "5": {
                        "text": "DORMANT"
                      },
                      "6": {
                        "text": "NOT PRESENT"
                      },
                      "7": {
                        "text": "LOWER LAYER DOWN"
                      }
                    },
                    "type": "value"
                  }
                ]
              },
              {
                "id": "custom.displayMode",
                "value": "color-text"
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "dark-red",
                      "value": 2
                    },
                    {
                      "color": "#EAB839",
                      "value": 3
                    },
                    {
                      "color": "dark-red",
                      "value": 7
                    }
                  ]
                }
              },
              {
                "id": "custom.width",
                "value": 120
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Interface"
            },
            "properties": [
              {
                "id": "custom.align",
                "value": "left"
              },
              {
                "id": "custom.width",
                "value": 90
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 32
      },
      "id": 12,
      "options": {
        "showHeader": true,
        "sortBy": [
          {
            "desc": false,
            "displayName": "System Name"
          }
        ]
      },
      "pluginVersion": "8.0.3",
      "targets": [
        {
          "exemplar": true,
          "expr": "ifPhysAddress{job=~'$JobName',instance=~'$Device',ifName=~'$InterfacePhysical'}",
          "format": "table",
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "A"
        },
        {
          "exemplar": true,
          "expr": "ifAdminStatus{job=~'$JobName',instance=~'$Device',ifName=~'$InterfacePhysical'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "B"
        },
        {
          "exemplar": true,
          "expr": "ifSpeed{job=~'$JobName',instance=~'$Device',ifName=~'$InterfacePhysical'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "C"
        },
        {
          "exemplar": true,
          "expr": "ifOperStatus{job=~'$JobName',instance=~'$Device',ifName=~'$InterfacePhysical'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "D"
        },
        {
          "exemplar": true,
          "expr": "ifAlias{job=~'$JobName',instance=~'$Device',ifName=~'$InterfacePhysical'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "E"
        },
        {
          "exemplar": true,
          "expr": "ifMtu{job=~'$JobName',instance=~'$Device',ifName=~'$InterfacePhysical'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "F"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Physical Network Interface Information",
      "transformations": [
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "ifName",
                "instance",
                "Value #B",
                "Value #C",
                "Value #D",
                "Value #F"
              ]
            }
          }
        },
        {
          "id": "merge",
          "options": {}
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {},
            "indexByName": {
              "Value #B": 4,
              "Value #C": 2,
              "Value #D": 5,
              "Value #E": 6,
              "Value #F": 3,
              "ifName": 1,
              "ifPhysAddress": 7,
              "instance": 0
            },
            "renameByName": {
              "Value #A": "",
              "Value #B": "Admin Status",
              "Value #C": "Speed",
              "Value #D": "Status",
              "Value #E": "what",
              "Value #F": "MTU",
              "ifName": "Interface",
              "ifPhysAddress": "MAC Address",
              "instance": "System Name"
            }
          }
        },
        {
          "id": "sortBy",
          "options": {
            "fields": {},
            "sort": [
              {
                "field": "System Name"
              }
            ]
          }
        },
        {
          "id": "sortBy",
          "options": {
            "fields": {},
            "sort": [
              {
                "field": "Interface"
              }
            ]
          }
        }
      ],
      "type": "table"
    },
    {
      "datasource": null,
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": "center",
            "displayMode": "auto",
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "System Name"
            },
            "properties": [
              {
                "id": "custom.displayMode",
                "value": "color-background"
              },
              {
                "id": "color",
                "value": {
                  "fixedColor": "rgba(40, 33, 96, 0.78)",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.width",
                "value": 220
              },
              {
                "id": "custom.align",
                "value": "left"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Admin Status"
            },
            "properties": [
              {
                "id": "mappings",
                "value": [
                  {
                    "options": {
                      "1": {
                        "text": "UP"
                      },
                      "2": {
                        "text": "DOWN"
                      },
                      "3": {
                        "text": "TESTING"
                      }
                    },
                    "type": "value"
                  }
                ]
              },
              {
                "id": "custom.displayMode",
                "value": "color-text"
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "dark-red",
                      "value": 2
                    },
                    {
                      "color": "#EAB839",
                      "value": 3
                    }
                  ]
                }
              },
              {
                "id": "custom.width",
                "value": 120
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Speed"
            },
            "properties": [
              {
                "id": "unit",
                "value": "decbytes"
              },
              {
                "id": "custom.width",
                "value": 90
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Status"
            },
            "properties": [
              {
                "id": "mappings",
                "value": [
                  {
                    "options": {
                      "1": {
                        "text": "UP"
                      },
                      "2": {
                        "text": "DOWN"
                      },
                      "3": {
                        "text": "TESTING"
                      },
                      "4": {
                        "text": "UNKNOWN"
                      },
                      "5": {
                        "text": "DORMANT"
                      },
                      "6": {
                        "text": "NOT PRESENT"
                      },
                      "7": {
                        "text": "LOWER LAYER DOWN"
                      }
                    },
                    "type": "value"
                  }
                ]
              },
              {
                "id": "custom.displayMode",
                "value": "color-text"
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "dark-red",
                      "value": 2
                    },
                    {
                      "color": "#EAB839",
                      "value": 3
                    },
                    {
                      "color": "dark-red",
                      "value": 7
                    }
                  ]
                }
              },
              {
                "id": "custom.width",
                "value": 120
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "MAC Address"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 200
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Interface"
            },
            "properties": [
              {
                "id": "custom.align",
                "value": "left"
              },
              {
                "id": "custom.width",
                "value": 90
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 32
      },
      "id": 15,
      "options": {
        "showHeader": true,
        "sortBy": [
          {
            "desc": false,
            "displayName": "System Name"
          }
        ]
      },
      "pluginVersion": "8.0.3",
      "targets": [
        {
          "exemplar": true,
          "expr": "ifPhysAddress{job=~'$JobName',instance=~'$Device',ifName=~'$InterfaceVirtual'}",
          "format": "table",
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "A"
        },
        {
          "exemplar": true,
          "expr": "ifAdminStatus{job=~'$JobName',instance=~'$Device',ifName=~'$InterfaceVirtual'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "B"
        },
        {
          "exemplar": true,
          "expr": "ifSpeed{job=~'$JobName',instance=~'$Device',ifName=~'$InterfaceVirtual'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "C"
        },
        {
          "exemplar": true,
          "expr": "ifOperStatus{job=~'$JobName',instance=~'$Device',ifName=~'$InterfaceVirtual'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "D"
        },
        {
          "exemplar": true,
          "expr": "ifAlias{job=~'$JobName',instance=~'$Device',ifName=~'$InterfaceVirtual'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "E"
        },
        {
          "exemplar": true,
          "expr": "ifMtu{job=~'$JobName',instance=~'$Device',ifName=~'$InterfaceVirtual'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "F"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Bond/Virtual Network Interface Information",
      "transformations": [
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "ifName",
                "instance",
                "Value #B",
                "Value #C",
                "Value #D",
                "Value #F"
              ]
            }
          }
        },
        {
          "id": "merge",
          "options": {}
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {},
            "indexByName": {
              "Value #B": 4,
              "Value #C": 2,
              "Value #D": 5,
              "Value #E": 6,
              "Value #F": 3,
              "ifName": 1,
              "ifPhysAddress": 7,
              "instance": 0
            },
            "renameByName": {
              "Value #A": "",
              "Value #B": "Admin Status",
              "Value #C": "Speed",
              "Value #D": "Status",
              "Value #E": "what",
              "Value #F": "MTU",
              "ifName": "Interface",
              "ifPhysAddress": "MAC Address",
              "instance": "System Name"
            }
          }
        },
        {
          "id": "sortBy",
          "options": {
            "fields": {},
            "sort": [
              {
                "field": "System Name"
              }
            ]
          }
        },
        {
          "id": "sortBy",
          "options": {
            "fields": {},
            "sort": [
              {
                "field": "Interface"
              }
            ]
          }
        }
      ],
      "type": "table"
    }
  ],
  "refresh": "30s",
  "schemaVersion": 30,
  "style": "dark",
  "tags": [
    "synology",
    "dsm"
  ],
  "templating": {
    "list": [
      {
        "description": "Total Number of NAS Systems manually entered.",
        "error": null,
        "hide": 2,
        "label": null,
        "name": "NASDevices",
        "query": "${VAR_NASDEVICES}",
        "skipUrlSync": false,
        "type": "constant",
        "current": {
          "value": "${VAR_NASDEVICES}",
          "text": "${VAR_NASDEVICES}",
          "selected": false
        },
        "options": [
          {
            "value": "${VAR_NASDEVICES}",
            "text": "${VAR_NASDEVICES}",
            "selected": false
          }
        ]
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_PROMETHEUS}",
        "definition": "label_values(ssCpuUser, job)",
        "description": null,
        "error": null,
        "hide": 0,
        "includeAll": true,
        "label": null,
        "multi": true,
        "name": "JobName",
        "options": [],
        "query": {
          "query": "label_values(ssCpuUser, job)",
          "refId": "StandardVariableQuery"
        },
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_PROMETHEUS}",
        "definition": "query_result(ssCpuUser{job=~'$JobName'})",
        "description": null,
        "error": null,
        "hide": 0,
        "includeAll": true,
        "label": null,
        "multi": true,
        "name": "Device",
        "options": [],
        "query": {
          "query": "query_result(ssCpuUser{job=~'$JobName'})",
          "refId": "StandardVariableQuery"
        },
        "refresh": 2,
        "regex": ".*instance=\"(.*?)\".*",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_PROMETHEUS}",
        "definition": "label_values(ifName{job=~'$JobName',instance=~'$Device'},ifName)",
        "description": "Physical Network Interfaces",
        "error": null,
        "hide": 0,
        "includeAll": true,
        "label": "Network Interface",
        "multi": true,
        "name": "InterfacePhysical",
        "options": [],
        "query": {
          "query": "label_values(ifName{job=~'$JobName',instance=~'$Device'},ifName)",
          "refId": "StandardVariableQuery"
        },
        "refresh": 2,
        "regex": "^eth.*",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": "",
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_PROMETHEUS}",
        "definition": "label_values(ifType_info{job=~'$JobName',instance=~'$Device'},ifName)",
        "description": "Bonds an VLans",
        "error": null,
        "hide": 0,
        "includeAll": true,
        "label": "Virtual Interfaces",
        "multi": true,
        "name": "InterfaceVirtual",
        "options": [],
        "query": {
          "query": "label_values(ifType_info{job=~'$JobName',instance=~'$Device'},ifName)",
          "refId": "StandardVariableQuery"
        },
        "refresh": 2,
        "regex": "^.*bond.*",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": "",
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_PROMETHEUS}",
        "definition": "label_values(raidName{job=~'$JobName',instance=~'$Device'},raidName)",
        "description": null,
        "error": null,
        "hide": 0,
        "includeAll": true,
        "label": "Storage",
        "multi": true,
        "name": "raidName",
        "options": [],
        "query": {
          "query": "label_values(raidName{job=~'$JobName',instance=~'$Device'},raidName)",
          "refId": "StandardVariableQuery"
        },
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": "",
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_PROMETHEUS}",
        "definition": "label_values(diskID{job=~'$JobName',instance=~'$Device'},diskID)",
        "description": null,
        "error": null,
        "hide": 0,
        "includeAll": true,
        "label": "Disk",
        "multi": true,
        "name": "DiskName",
        "options": [],
        "query": {
          "query": "label_values(diskID{job=~'$JobName',instance=~'$Device'},diskID)",
          "refId": "StandardVariableQuery"
        },
        "refresh": 2,
        "regex": "/^(?!Cache.*)/",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_PROMETHEUS}",
        "definition": "label_values(diskID{job=~'$JobName',instance=~'$Device'},diskID)",
        "description": null,
        "error": null,
        "hide": 0,
        "includeAll": true,
        "label": "Cache",
        "multi": true,
        "name": "DiskNameSSD",
        "options": [],
        "query": {
          "query": "label_values(diskID{job=~'$JobName',instance=~'$Device'},diskID)",
          "refId": "StandardVariableQuery"
        },
        "refresh": 2,
        "regex": "^Cache device.*",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      }
    ]
  },
  "time": {
    "from": "now-3h",
    "to": "now"
  },
  "timepicker": {},
  "timezone": "",
  "title": "Synology NAS Overview",
  "uid": "ZDXCZYrMk",
  "version": 50
}