Grafana Synology NAS Dashboard ID #14284

  • What Grafana version and what operating system are you using?

  • I’m using the latest version of Grafana on WIndows 10 Pro

  • What are you trying to achieve?

  • Dashboard Functionality

  • How are you trying to achieve it?
    By collecting metrics from Prometheus

  • What happened?

  • only some information is populating on the dashboard

  • What did you expect to happen?

  • For the dashboard to work

  • Can you copy/paste the configuration(s) that you are having problems with?

  • Here is my generator.yml config\


auths:
public_v1:
version: 1
public_v2:
version: 2

modules:

Default IF-MIB interfaces table with ifIndex.

if_mib:
walk: [sysUpTime, 1.3.6.1.2.1.2.2, 1.3.6.1.2.1.31.1.1]
lookups:
- source_indexes: [ifIndex]
lookup: ifAlias
- source_indexes: [ifIndex]
# Uis OID to avoid conflict with PaloAlto PAN-COMMON-MIB.
lookup: 1.3.6.1.2.1.2.2.1.2 # ifDescr
- source_indexes: [ifIndex]
# Use OID to avoid conflict with Netscaler NS-ROOT-MIB.
lookup: 1.3.6.1.2.1.31.1.1.1.1 # ifName
overrides:
ifAlias:
ignore: true # Lookup metric
ifDescr:
ignore: true # Lookup metric
ifName:
ignore: true # Lookup metric
ifType:
type: EnumAsInfo

Default IP-MIB with ipv4InterfaceTable for example.

ip_mib:
walk: [ipv4InterfaceTable]

readynas:
walk:
- 1.3.6.1.4.1.4526 # Raid/Disks status

Synology

Synology MIBs can be found here:

http://www.synology.com/support/snmp_mib.php

http://dedl.synology.com/download/Document/MIBGuide/Synology_MIB_File.zip

Tested on RS2414rp+ NAS

synology:
walk:
- 1.3.6.1.4.1.6574.1 # synoSystem
- 1.3.6.1.4.1.6574.2 # synoDisk
- 1.3.6.1.4.1.6574.3 # synoRaid
- 1.3.6.1.4.1.6574.4 # synoUPS
- 1.3.6.1.4.1.6574.5 # synologyDiskSMART
- 1.3.6.1.4.1.6574.6 # synologyService
- 1.3.6.1.4.1.6574.101 # storageIO
- 1.3.6.1.4.1.6574.102 # spaceIO
- 1.3.6.1.4.1.6574.104 # synologyiSCSILUN
- 1.3.6.1.4.1.6574.3.1 # raid table
lookups:
- source_indexes: [spaceIOIndex]
lookup: spaceIODevice
drop_source_indexes: true
- source_indexes: [storageIOIndex]
lookup: storageIODevice
drop_source_indexes: true
- source_indexes: [serviceInfoIndex]
lookup: serviceName
drop_source_indexes: true
- source_indexes: [diskIndex]
lookup: diskID
drop_source_indexes: true
- source_indexes: [raidIndex]
lookup: raidName
drop_source_indexes: true
overrides:
diskModel:
type: DisplayString
diskSMARTAttrName:
type: DisplayString
diskSMARTAttrStatus:
type: DisplayString
diskSMARTInfoDevName:
type: DisplayString
diskType:
type: DisplayString
modelName:
type: DisplayString
raidFreeSize:
type: gauge
raidName:
type: DisplayString
raidTotalSize:
type: gauge
serialNumber:
type: DisplayString
serviceName:
type: DisplayString
version:
type: DisplayString

UCD-SNMP-MIB

University of California, Davis extensions. Commonly used for host

metrics. For example, Linux-based systems, DD-WRT, Synology,

Mikrotik, Kemp LoadMaster, etc.

http://www.net-snmp.org/docs/mibs/UCD-SNMP-MIB.txt

ucd_la_table:
walk:
- 1.3.6.1.4.1.2021.10.1.2 # laNames
- 1.3.6.1.4.1.2021.10.1.5 # laLoadInt
- 1.3.6.1.4.1.2021.10.1.6 # laLoadFloat
lookups:
- source_indexes: [laIndex]
lookup: laNames
drop_source_indexes: true
ucd_memory:
walk:
- 1.3.6.1.4.1.2021.4 # memory
ucd_system_stats:
walk:
- 1.3.6.1.4.1.2021.11 # systemStats

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

  • no errors just no data in certain panels

  • Did you follow any online instructions? If so, what is the URL?
    yes. I am recieving metrics on the prometheus interface and am able to query results for the NAS