Synology NAS Dashboard + Include the USB HDD

Dear all,

I’m monitoring my Synology in Grafan with Prometheus

and would like to add USB Volume to the dashboard, would someone help me out, how could I do that? I’d like to add it so I can see the data like size and temperature.

Thank you!

KR
Rok

@mlinko6

Do you have a config or yaml file that you can share here?

@grant2 Which Yaml or Config do you need? The Dashboard config or the portainer yaml file with all the docker containers?

The yaml or whatever exporter file you have configured to send the data to Prometheus.

Here is the config:

auths:
snmpv3:
version: 3
security_level: authPriv
auth_protocol: MD5
username: ***********
password: ***********
priv_protocol: DES
priv_password: *************
modules:
synology:
walk:

  • 1.3.6.1.2.1.2 # network
  • 1.3.6.1.2.1.31.1.1 # The total number received/transmitted of the interface
  • 1.3.6.1.4.1.6574.1 # displays all system statuses
  • 1.3.6.1.4.1.6574.2 # information regarding hard drives e.g Temperature
  • 1.3.6.1.4.1.6574.3 # monitoring RAID status
  • 1.3.6.1.4.1.6574.6 # the number of users logging in
    metrics:
  • name: ifNumber
    oid: 1.3.6.1.2.1.2.1
    type: gauge
    help: The number of network interfaces (regardless of their current state) present
    on this system. - 1.3.6.1.2.1.2.1
  • name: ifIndex
    oid: 1.3.6.1.2.1.2.2.1.1
    type: gauge
    help: A unique value, greater than zero, for each interface - 1.3.6.1.2.1.2.2.1.1
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: ifDescr
    oid: 1.3.6.1.2.1.2.2.1.2
    type: DisplayString
    help: A textual string containing information about the interface - 1.3.6.1.2.1.2.2.1.2
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: ifMtu
    oid: 1.3.6.1.2.1.2.2.1.4
    type: gauge
    help: The size of the largest packet which can be sent/received on the interface,
    specified in octets - 1.3.6.1.2.1.2.2.1.4
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: ifSpeed
    oid: 1.3.6.1.2.1.2.2.1.5
    type: gauge
    help: An estimate of the interface’s current bandwidth in bits per second - 1.3.6.1.2.1.2.2.1.5
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: ifPhysAddress
    oid: 1.3.6.1.2.1.2.2.1.6
    type: PhysAddress48
    help: The interface’s address at its protocol sub-layer - 1.3.6.1.2.1.2.2.1.6
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: ifAdminStatus
    oid: 1.3.6.1.2.1.2.2.1.7
    type: gauge
    help: The desired state of the interface - 1.3.6.1.2.1.2.2.1.7
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
      enum_values:
      1: up
      2: down
      3: testing
  • name: ifOperStatus
    oid: 1.3.6.1.2.1.2.2.1.8
    type: gauge
    help: The current operational state of the interface - 1.3.6.1.2.1.2.2.1.8
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
      enum_values:
      1: up
      2: down
      3: testing
      4: unknown
      5: dormant
      6: notPresent
      7: lowerLayerDown
  • name: ifLastChange
    oid: 1.3.6.1.2.1.2.2.1.9
    type: gauge
    help: The value of sysUpTime at the time the interface entered its current operational
    state - 1.3.6.1.2.1.2.2.1.9
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: ifInOctets
    oid: 1.3.6.1.2.1.2.2.1.10
    type: counter
    help: The total number of octets received on the interface, including framing
    characters - 1.3.6.1.2.1.2.2.1.10
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: ifInUcastPkts
    oid: 1.3.6.1.2.1.2.2.1.11
    type: counter
    help: The number of packets, delivered by this sub-layer to a higher (sub-)layer,
    which were not addressed to a multicast or broadcast address at this sub-layer
    • 1.3.6.1.2.1.2.2.1.11
      indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: ifInNUcastPkts
    oid: 1.3.6.1.2.1.2.2.1.12
    type: counter
    help: The number of packets, delivered by this sub-layer to a higher (sub-)layer,
    which were addressed to a multicast or broadcast address at this sub-layer -
    1.3.6.1.2.1.2.2.1.12
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: ifInDiscards
    oid: 1.3.6.1.2.1.2.2.1.13
    type: counter
    help: The number of inbound packets which were chosen to be discarded even though
    no errors had been detected to prevent their being deliverable to a higher-layer
    protocol - 1.3.6.1.2.1.2.2.1.13
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: ifInErrors
    oid: 1.3.6.1.2.1.2.2.1.14
    type: counter
    help: For packet-oriented interfaces, the number of inbound packets that contained
    errors preventing them from being deliverable to a higher-layer protocol - 1.3.6.1.2.1.2.2.1.14
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: ifInUnknownProtos
    oid: 1.3.6.1.2.1.2.2.1.15
    type: counter
    help: For packet-oriented interfaces, the number of packets received via the interface
    which were discarded because of an unknown or unsupported protocol - 1.3.6.1.2.1.2.2.1.15
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: ifOutOctets
    oid: 1.3.6.1.2.1.2.2.1.16
    type: counter
    help: The total number of octets transmitted out of the interface, including framing
    characters - 1.3.6.1.2.1.2.2.1.16
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: ifOutUcastPkts
    oid: 1.3.6.1.2.1.2.2.1.17
    type: counter
    help: The total number of packets that higher-level protocols requested be transmitted,
    and which were not addressed to a multicast or broadcast address at this sub-layer,
    including those that were discarded or not sent - 1.3.6.1.2.1.2.2.1.17
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: ifOutNUcastPkts
    oid: 1.3.6.1.2.1.2.2.1.18
    type: counter
    help: The total number of packets that higher-level protocols requested be transmitted,
    and which were addressed to a multicast or broadcast address at this sub-layer,
    including those that were discarded or not sent - 1.3.6.1.2.1.2.2.1.18
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: ifOutDiscards
    oid: 1.3.6.1.2.1.2.2.1.19
    type: counter
    help: The number of outbound packets which were chosen to be discarded even though
    no errors had been detected to prevent their being transmitted - 1.3.6.1.2.1.2.2.1.19
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: ifOutErrors
    oid: 1.3.6.1.2.1.2.2.1.20
    type: counter
    help: For packet-oriented interfaces, the number of outbound packets that could
    not be transmitted because of errors - 1.3.6.1.2.1.2.2.1.20
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: ifOutQLen
    oid: 1.3.6.1.2.1.2.2.1.21
    type: gauge
    help: The length of the output packet queue (in packets). - 1.3.6.1.2.1.2.2.1.21
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: ifSpecific
    oid: 1.3.6.1.2.1.2.2.1.22
    type: OctetString
    help: A reference to MIB definitions specific to the particular media being used
    to realize the interface - 1.3.6.1.2.1.2.2.1.22
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: ifName
    oid: 1.3.6.1.2.1.31.1.1.1.1
    type: DisplayString
    help: The textual name of the interface - 1.3.6.1.2.1.31.1.1.1.1
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: ifInMulticastPkts
    oid: 1.3.6.1.2.1.31.1.1.1.2
    type: counter
    help: The number of packets, delivered by this sub-layer to a higher (sub-)layer,
    which were addressed to a multicast address at this sub-layer - 1.3.6.1.2.1.31.1.1.1.2
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: ifInBroadcastPkts
    oid: 1.3.6.1.2.1.31.1.1.1.3
    type: counter
    help: The number of packets, delivered by this sub-layer to a higher (sub-)layer,
    which were addressed to a broadcast address at this sub-layer - 1.3.6.1.2.1.31.1.1.1.3
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: ifOutMulticastPkts
    oid: 1.3.6.1.2.1.31.1.1.1.4
    type: counter
    help: The total number of packets that higher-level protocols requested be transmitted,
    and which were addressed to a multicast address at this sub-layer, including
    those that were discarded or not sent - 1.3.6.1.2.1.31.1.1.1.4
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: ifOutBroadcastPkts
    oid: 1.3.6.1.2.1.31.1.1.1.5
    type: counter
    help: The total number of packets that higher-level protocols requested be transmitted,
    and which were addressed to a broadcast address at this sub-layer, including
    those that were discarded or not sent - 1.3.6.1.2.1.31.1.1.1.5
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: ifHCInOctets
    oid: 1.3.6.1.2.1.31.1.1.1.6
    type: counter
    help: The total number of octets received on the interface, including framing
    characters - 1.3.6.1.2.1.31.1.1.1.6
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: ifHCInUcastPkts
    oid: 1.3.6.1.2.1.31.1.1.1.7
    type: counter
    help: The number of packets, delivered by this sub-layer to a higher (sub-)layer,
    which were not addressed to a multicast or broadcast address at this sub-layer
    • 1.3.6.1.2.1.31.1.1.1.7
      indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: ifHCInMulticastPkts
    oid: 1.3.6.1.2.1.31.1.1.1.8
    type: counter
    help: The number of packets, delivered by this sub-layer to a higher (sub-)layer,
    which were addressed to a multicast address at this sub-layer - 1.3.6.1.2.1.31.1.1.1.8
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: ifHCInBroadcastPkts
    oid: 1.3.6.1.2.1.31.1.1.1.9
    type: counter
    help: The number of packets, delivered by this sub-layer to a higher (sub-)layer,
    which were addressed to a broadcast address at this sub-layer - 1.3.6.1.2.1.31.1.1.1.9
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: ifHCOutOctets
    oid: 1.3.6.1.2.1.31.1.1.1.10
    type: counter
    help: The total number of octets transmitted out of the interface, including framing
    characters - 1.3.6.1.2.1.31.1.1.1.10
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: ifHCOutUcastPkts
    oid: 1.3.6.1.2.1.31.1.1.1.11
    type: counter
    help: The total number of packets that higher-level protocols requested be transmitted,
    and which were not addressed to a multicast or broadcast address at this sub-layer,
    including those that were discarded or not sent - 1.3.6.1.2.1.31.1.1.1.11
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: ifHCOutMulticastPkts
    oid: 1.3.6.1.2.1.31.1.1.1.12
    type: counter
    help: The total number of packets that higher-level protocols requested be transmitted,
    and which were addressed to a multicast address at this sub-layer, including
    those that were discarded or not sent - 1.3.6.1.2.1.31.1.1.1.12
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: ifHCOutBroadcastPkts
    oid: 1.3.6.1.2.1.31.1.1.1.13
    type: counter
    help: The total number of packets that higher-level protocols requested be transmitted,
    and which were addressed to a broadcast address at this sub-layer, including
    those that were discarded or not sent - 1.3.6.1.2.1.31.1.1.1.13
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: ifLinkUpDownTrapEnable
    oid: 1.3.6.1.2.1.31.1.1.1.14
    type: gauge
    help: Indicates whether linkUp/linkDown traps should be generated for this interface
    • 1.3.6.1.2.1.31.1.1.1.14
      indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
      enum_values:
      1: enabled
      2: disabled
  • name: ifHighSpeed
    oid: 1.3.6.1.2.1.31.1.1.1.15
    type: gauge
    help: An estimate of the interface’s current bandwidth in units of 1,000,000 bits
    per second - 1.3.6.1.2.1.31.1.1.1.15
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: ifPromiscuousMode
    oid: 1.3.6.1.2.1.31.1.1.1.16
    type: gauge
    help: This object has a value of false(2) if this interface only accepts packets/frames
    that are addressed to this station - 1.3.6.1.2.1.31.1.1.1.16
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
      enum_values:
      1: “true”
      2: “false”
  • name: ifConnectorPresent
    oid: 1.3.6.1.2.1.31.1.1.1.17
    type: gauge
    help: This object has the value ‘true(1)’ if the interface sublayer has a physical
    connector and the value ‘false(2)’ otherwise. - 1.3.6.1.2.1.31.1.1.1.17
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
      enum_values:
      1: “true”
      2: “false”
  • name: ifAlias
    oid: 1.3.6.1.2.1.31.1.1.1.18
    type: DisplayString
    help: This object is an ‘alias’ name for the interface as specified by a network
    manager, and provides a non-volatile ‘handle’ for the interface - 1.3.6.1.2.1.31.1.1.1.18
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: ifCounterDiscontinuityTime
    oid: 1.3.6.1.2.1.31.1.1.1.19
    type: gauge
    help: The value of sysUpTime on the most recent occasion at which any one or more
    of this interface’s counters suffered a discontinuity - 1.3.6.1.2.1.31.1.1.1.19
    indexes:
    • labelname: ifIndex
      type: gauge
      lookups:
    • labels:
      • ifIndex
        labelname: ifName
        oid: 1.3.6.1.2.1.31.1.1.1.1
        type: DisplayString
    • labels:
      labelname: ifIndex
  • name: systemStatus
    oid: 1.3.6.1.4.1.6574.1.1
    type: gauge
    help: Synology system status Each meanings of status represented describe below
    • 1.3.6.1.4.1.6574.1.1
  • name: temperature
    oid: 1.3.6.1.4.1.6574.1.2
    type: gauge
    help: Synology system temperature The temperature of Disk Station uses Celsius
    degree. - 1.3.6.1.4.1.6574.1.2
  • name: powerStatus
    oid: 1.3.6.1.4.1.6574.1.3
    type: gauge
    help: Synology power status Each meanings of status represented describe below
    • 1.3.6.1.4.1.6574.1.3
  • name: systemFanStatus
    oid: 1.3.6.1.4.1.6574.1.4.1
    type: gauge
    help: Synology system fan status Each meanings of status represented describe
    below - 1.3.6.1.4.1.6574.1.4.1
  • name: cpuFanStatus
    oid: 1.3.6.1.4.1.6574.1.4.2
    type: gauge
    help: Synology cpu fan status Each meanings of status represented describe below
    • 1.3.6.1.4.1.6574.1.4.2
  • name: modelName
    oid: 1.3.6.1.4.1.6574.1.5.1
    type: DisplayString
    help: The Model name of this NAS - 1.3.6.1.4.1.6574.1.5.1
  • name: serialNumber
    oid: 1.3.6.1.4.1.6574.1.5.2
    type: DisplayString
    help: The serial number of this NAS - 1.3.6.1.4.1.6574.1.5.2
  • name: version
    oid: 1.3.6.1.4.1.6574.1.5.3
    type: DisplayString
    help: The version of this DSM - 1.3.6.1.4.1.6574.1.5.3
  • name: upgradeAvailable
    oid: 1.3.6.1.4.1.6574.1.5.4
    type: gauge
    help: This oid is for checking whether there is a latest DSM can be upgraded -
    1.3.6.1.4.1.6574.1.5.4
  • name: controllerNumber
    oid: 1.3.6.1.4.1.6574.1.6
    type: gauge
    help: Synology system controller number Controller A(0) Controller B(1) - 1.3.6.1.4.1.6574.1.6
  • name: diskIndex
    oid: 1.3.6.1.4.1.6574.2.1.1.1
    type: gauge
    help: The index of disk table - 1.3.6.1.4.1.6574.2.1.1.1
    indexes:
    • labelname: diskIndex
      type: gauge
      lookups:
    • labels:
      • diskIndex
        labelname: diskID
        oid: 1.3.6.1.4.1.6574.2.1.1.2
        type: DisplayString
    • labels:
      labelname: diskIndex
  • name: diskID
    oid: 1.3.6.1.4.1.6574.2.1.1.2
    type: DisplayString
    help: Synology disk ID The ID of disk is assigned by disk Station. - 1.3.6.1.4.1.6574.2.1.1.2
    indexes:
    • labelname: diskIndex
      type: gauge
      lookups:
    • labels:
      • diskIndex
        labelname: diskID
        oid: 1.3.6.1.4.1.6574.2.1.1.2
        type: DisplayString
    • labels:
      labelname: diskIndex
  • name: diskModel
    oid: 1.3.6.1.4.1.6574.2.1.1.3
    type: DisplayString
    help: Synology disk model name The disk model name will be showed here. - 1.3.6.1.4.1.6574.2.1.1.3
    indexes:
    • labelname: diskIndex
      type: gauge
      lookups:
    • labels:
      • diskIndex
        labelname: diskID
        oid: 1.3.6.1.4.1.6574.2.1.1.2
        type: DisplayString
    • labels:
      labelname: diskIndex
  • name: diskType
    oid: 1.3.6.1.4.1.6574.2.1.1.4
    type: DisplayString
    help: Synology disk type The type of disk will be showed here, including SATA,
    SSD and so on. - 1.3.6.1.4.1.6574.2.1.1.4
    indexes:
    • labelname: diskIndex
      type: gauge
      lookups:
    • labels:
      • diskIndex
        labelname: diskID
        oid: 1.3.6.1.4.1.6574.2.1.1.2
        type: DisplayString
    • labels:
      labelname: diskIndex
  • name: diskStatus
    oid: 1.3.6.1.4.1.6574.2.1.1.5
    type: gauge
    help: Synology disk status. Normal-1 Initialized-2 NotInitialized-3 SystemPartitionFailed-4 Crashed-5
    • 1.3.6.1.4.1.6574.2.1.1.5
      indexes:
    • labelname: diskIndex
      type: gauge
      lookups:
    • labels:
      • diskIndex
        labelname: diskID
        oid: 1.3.6.1.4.1.6574.2.1.1.2
        type: DisplayString
    • labels:
      labelname: diskIndex
  • name: diskTemperature
    oid: 1.3.6.1.4.1.6574.2.1.1.6
    type: gauge
    help: Synology disk temperature The temperature of each disk uses Celsius degree.
    • 1.3.6.1.4.1.6574.2.1.1.6
      indexes:
    • labelname: diskIndex
      type: gauge
      lookups:
    • labels:
      • diskIndex
        labelname: diskID
        oid: 1.3.6.1.4.1.6574.2.1.1.2
        type: DisplayString
    • labels:
      labelname: diskIndex
  • name: raidIndex
    oid: 1.3.6.1.4.1.6574.3.1.1.1
    type: gauge
    help: The index of raid table - 1.3.6.1.4.1.6574.3.1.1.1
    indexes:
    • labelname: raidIndex
      type: gauge
      lookups:
    • labels:
      • raidIndex
        labelname: raidName
        oid: 1.3.6.1.4.1.6574.3.1.1.2
        type: DisplayString
  • name: raidName
    oid: 1.3.6.1.4.1.6574.3.1.1.2
    type: DisplayString
    help: Synology raid name The name of each raid will be showed here. - 1.3.6.1.4.1.6574.3.1.1.2
    indexes:
    • labelname: raidIndex
      type: gauge
      lookups:
    • labels:
      • raidIndex
        labelname: raidName
        oid: 1.3.6.1.4.1.6574.3.1.1.2
        type: DisplayString
  • name: raidStatus
    oid: 1.3.6.1.4.1.6574.3.1.1.3
    type: gauge
    help: Synology Raid status Each meanings of status represented describe below
    • 1.3.6.1.4.1.6574.3.1.1.3
      indexes:
    • labelname: raidIndex
      type: gauge
      lookups:
    • labels:
      • raidIndex
        labelname: raidName
        oid: 1.3.6.1.4.1.6574.3.1.1.2
        type: DisplayString
  • name: raidFreeSize
    oid: 1.3.6.1.4.1.6574.3.1.1.4
    type: gauge
    help: Synology raid freesize Free space in bytes. - 1.3.6.1.4.1.6574.3.1.1.4
    indexes:
    • labelname: raidIndex
      type: gauge
      lookups:
    • labels:
      • raidIndex
        labelname: raidName
        oid: 1.3.6.1.4.1.6574.3.1.1.2
        type: DisplayString
  • name: raidTotalSize
    oid: 1.3.6.1.4.1.6574.3.1.1.5
    type: gauge
    help: Synology raid totalsize Total space in bytes. - 1.3.6.1.4.1.6574.3.1.1.5
    indexes:
    • labelname: raidIndex
      type: gauge
      lookups:
    • labels:
      • raidIndex
        labelname: raidName
        oid: 1.3.6.1.4.1.6574.3.1.1.2
        type: DisplayString
  • name: serviceInfoIndex
    oid: 1.3.6.1.4.1.6574.6.1.1.1
    type: gauge
    help: Service info index - 1.3.6.1.4.1.6574.6.1.1.1
    indexes:
    • labelname: serviceInfoIndex
      type: gauge
      lookups:
    • labels:
      • serviceInfoIndex
        labelname: serviceName
        oid: 1.3.6.1.4.1.6574.6.1.1.2
        type: DisplayString
    • labels:
      labelname: serviceInfoIndex
  • name: serviceName
    oid: 1.3.6.1.4.1.6574.6.1.1.2
    type: DisplayString
    help: Service name - 1.3.6.1.4.1.6574.6.1.1.2
    indexes:
    • labelname: serviceInfoIndex
      type: gauge
      lookups:
    • labels:
      • serviceInfoIndex
        labelname: serviceName
        oid: 1.3.6.1.4.1.6574.6.1.1.2
        type: DisplayString
    • labels:
      labelname: serviceInfoIndex
  • name: serviceUsers
    oid: 1.3.6.1.4.1.6574.6.1.1.3
    type: gauge
    help: Number of users using this service - 1.3.6.1.4.1.6574.6.1.1.3
    indexes:
    • labelname: serviceInfoIndex
      type: gauge
      lookups:
    • labels:
      • serviceInfoIndex
        labelname: serviceName
        oid: 1.3.6.1.4.1.6574.6.1.1.2
        type: DisplayString
    • labels:
      labelname: serviceInfoIndex

Inside the Synology UI, when you connect a USB hard drive, does it show a Disk ID or Disk Index anywhere? You may have to search a bit, but my guess is that it gets assigned something there. Once you know that, duplicate one or more of the gauges on your Grafana dashboard for another (internal) disk and see what the query looks like (you can paste the query here). It might be obvious where the reference to the Disk ID is. Then try changing the disk ID to the one that corresponds to the USB disk and see what happens.

Disk /dev/usb1: 3.7 TiB, 4000787029504 bytes, 7814037167 sectors
Disk model: OneTouch HDD
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 01000000-0000-0000-4E41-425238354448

This is what I can find :-), I’ll try to duplicate the Gauges but I think that I need the MIB OID for the USB drive…