Synology DiskStation MIB Guide
Synology DiskStation MIB Guide
Synology DiskStation
MIB Guide
1
Table of
Contents
Introduction 01
Useful OIDs 20
Introduction
Synology DiskStation Manager (DSM) allows users to monitor the status of their Synology
servers through Network Management Systems (NMS) via Simple Network Management
Protocol (SNMP). However, Synology DSM does not provide SNMP trap capability.
This document introduces Management Information Base (MIB) files of Synology servers. It
focuses on which MIB files are supported by DSM, while also describes how Object Identifiers
(OIDs) in Synology MIBs are used with your preferred NMS software. Users are encouraged to
have experience and knowledge of NMS and SNMP before consulting this document.
01
Supported MIB files
DSM and SRM supports numerous MIB files that can help users monitor different information
on their Synology NAS/IP SAN (hereinafter referred to as Synology servers). Table 2-1 shows
the MIBs supported by DSM and SRM.
These MIB files can be separated into two types: general SNMP MIB and Synology MIB. General
SNMP MIB files are equipped on NMS clients natively.
Synology MIB files can provide specific data about a Synology server system, disks, RAID, and
connected UPS devices. Please see the “Synology MIB Files” section below for more Synology
MIB information.
Note: For all tables in this document, unless otherwise noted, DSM denotes that this OID
is compatible with DSM 6.2.4 and above, and DSM UC denotes that this OID is compatible
with DSM UC 3.0.
MIB Explanation
DISMAN-EVENT-MIB For defining event triggers and actions for network
management purposes
DISMAN-SCHEDULE-MIB For scheduling SNMP set operations periodically or at
specific points in time
HOST-RESOURCES-MIB For use in managing host systems
IF-MIB For describing network interface sub-layers
IP-FORWARD-MIB For the management of CIDR multipath IP Routes
IP-MIB For IP and ICMP management objects
IPV6-ICMP-MIB For entities implementing the ICMPv6
IPV6-MIB For entities implementing the IPv6 protocol
IPV6-TCP-MIB For entities implementing TCP over IPv6
IPV6-UDP-MIB For entities implementing UDP over IPv6
NET-SNMP-AGENT-MIB For monitoring structures for the Net-SNMP agent
NET-SNMP-EXTEND-MIB For scripted extensions for the Net-SNMP agent
NET-SNMP-VACM-MIB Defines Net-SNMP extensions to the standard VACM view
table
NOTIFICATION-LOG-MIB For logging SNMP Notifications
SNMP-COMMUNITY-MIB To help support coexistence between SNMPv1, SNMPv2c,
and SNMPv3
SNMP-FRAMEWORK-MIB The SNMP Management Architecture MIB
SNMP-MPD-MIB For Message Processing and Dispatching
SNMP-USER-BASED-SM-MIB For the SNMP User-based Security Model
SNMP-VIEW-BASED-ACM- For the View-based Access Control Model for SNMP
MIB
SNMPv2-MIB For SNMP entities
SYNOLOGY-DISK-MIB For Synology disk information (Synology only)
SYNOLOGY-EBOX-MIB For Synology ebox information (Synology only)
03
Supported MIB files
04
Synology MIB files
The following Synology MIB files are provided in DSM. These MIB files are the child-nodes of
OID (Object Identifier) 1.3.6.1.4.1.6574. Table 3-1 shows the exact OID of each MIB. Please
note that the MIB files are mutually dependent. Before your NMS can monitor any of the items
in these MIB files, please make sure that all of them have been imported together and use
SNMPv2c to obtain the complete Synology OID information.
Last
OID Name File Name updated
version
.1.3.6.1.4.1.6574.1 synoSystem SYNOLOGY-SYSTEM-MIB.txt DSM 6.0.2
.1.3.6.1.4.1.6574.2 synoDisk SYNOLOGY-DISK-MIB.txt DSM 7.1
.1.3.6.1.4.1.6574.3 synoRaid SYNOLOGY-RAID-MIB.txt DSM 7.0
.1.3.6.1.4.1.6574.4 synoUPS SYNOLOGY-UPS-MIB.txt DSM 6.0.1
.1.3.6.1.4.1.6574.5 synologyDiskSMART SYNOLOGY-SMART-MIB.txt DSM 6.0.1
.1.3.6.1.4.1.6574.6 synologyService SYNOLOGY-SERVICES-MIB. DSM 6.2.1
txt
.1.3.6.1.4.1.6574.101 storageIO SYNOLOGY-STORAGEIO-MIB. DSM 6.1.7
txt
.1.3.6.1.4.1.6574.102 spaceIO SYNOLOGY-SPACEIO-MIB.txt DSM 6.0.1
.1.3.6.1.4.1.6574.103 flashCache SYNOLOGY-FLASHCACHE- DSM 6.2.2
MIB.txt
.1.3.6.1.4.1.6574.104 synologyiSCSILUN SYNOLOGY-ISCSILUN-MIB.txt DSM 6.1.7
.1.3.6.1.4.1.6574.105 synologyEbox SYNOLOGY-EBOX-MIB DSM 6.2.1
.1.3.6.1.4.1.6574.106 synologyHA SYNOLOGY-SHA-MIB DSM 6.2.2
.1.3.6.1.4.1.6574.107 NFS SYNOLOGY-NFS-MIB.txt DSM 7.0
.1.3.6.1.4.1.6574.108 GpuInfo SYNOLOGY-GPUINFO-MIB. DSM 6.2.2
txt
.1.3.6.1.4.1.6574.109 synoEthPort SYNOLOGY-PORT-MIB.txt SRM 1.2.5
.1.3.6.1.4.1.6574.110 synologyiSCSITarget SYNOLOGY-ISCSITarget-MIB DSM 7.0
05
Synology MIB files
The Synology System MIB displays all system statuses, including temperature and fan status.
Users can monitor this MIB for system functionality. Table 3-2 shows information provided in
the System MIB.
The Synology Disk MIB contains several types of information regarding hard drives, including
ID, type and so on, as listed in Table 3-3. This MIB is a table in SNMP. As such, it can increase
or decrease in size when disks are inserted or removed. For example, if a disk is inserted, an
additional row containing relevant information will emerge. The OID DiskIndex (.1) is reserved
for an index of table rows and cannot be accessed. Table 3-4 describes the contents of each
DiskStatus in detail.
In order to directly access a specific OID, you must use ".1.3.6.1.4.1.6574.2.1.1" as a prefix since
this MIB contains the relative table and entry number. For example, ".1.3.6.1.4.1.6574.2.1.1.3"
can be used to get the disk model.
06
Synology MIB files
07
Synology MIB files
In addition to the disk MIB, Synology also provides an MIB for monitoring RAID status. This
MIB is similar to the disk MIB in that rows will appear or disappear to reflect RAID creation and
deletion. Table 3-7 lists the contents of the RAID MIB. Table 3-8 describes each RAID status in
detail.
In order to directly access a specific OID, you must use ".1.3.6.1.4.1.6574.3.1.1" as a prefix since
this MIB contains the relative table and entry number. For example, ".1.3.6.1.4.1.6574.3.1.1.3"
can be used to get the RAID status.
08
Synology MIB files
Migrating(3)
Expanding(4)
Deleting(5)
RaidParityChecking(8)
RaidAssembling(9)
Canceling(10)
Degrade(11) Degrade is shown when a tolerable failure of disk(s)
occurs
Crashed(12) RAID has crashed and is now read-only
DataScrubbing (13) RAID is DataScrubbing
RaidDeploying (14) RAID is deploying Single volume on pool
RaidUnDeploying (15) RAID is not deploying Single volume on pool
RaidMountCache (16) RAID is mounting SSD cache
RaidUnmountCache (17) RAID is not mounting SSD cache
RaidExpandingUnfinishedSHR RAID continue expanding SHR if interrupted
(18)
RaidConvertSHRToPool (19) RAID is converting Single volume on SHR to multiple
volume on SHR
RaidMigrateSHR1ToSHR2 (20) RAID is migrating SHR1 to SHR2
RaidUnknownStatus (21) RAID status is not included in the status above
The Synology UPS MIB provides the ability to monitor the status of a UPS device connected
to the Synology servers. Please note that the available OIDs of the UPS MIB depend on what
information is provided by the UPS device. If a UPS device does not provide data for a certain
OID, that OID will not appear in the NMS software. Table 3-9 shows a partial UPS MIB table
only. If you are interested in all OIDs, please refer to the MIB file SYNOLOGY-UPS-MIB.txt.
09
Synology MIB files
The Synology SMART MIB provides the SMART information of each disk same as Storage
Manager does. Because every disk may have different SMART attributes, one OID records one
SMART attribute and has diskSMARTInfoDevName to indicate which disk it belongs to.
In order to directly access a specific OID, you must use ".1.3.6.1.4.1.6574.5.1.1" as a prefix since
this MIB contains the relative table and entry number. For example, ".1.3.6.1.4.1.6574.5.1.1.3"
can be used to get the SMART attribute name.
10
Synology MIB files
The Synology Services MIB monitors the number of users logging in via HTTP, CIFS, AFP, NFS,
FTP, SFTP, TELNET, and SSH.
In order to directly access a specific OID, you must use ".1.3.6.1.4.1.6574.6.1.1" as a prefix since
this MIB contains the relative table and entry number. For example, ".1.3.6.1.4.1.6574.6.1.1.2"
can be used to get the service name.
11
Synology MIB files
12
Synology MIB files
The Synology FlashCache MIB monitors the resource usage of SSD cache. The collection
frequency is 5 seconds.
Note: The MIB is only suitable for the model which support SSD cache. Otherwise, it will
return zero value for each OID path.
13
Synology MIB files
The Synology iSCSI LUN MIB can list all the loaded LUNs and show their running information. If
a LUN has been created but not loaded (e.g. when linked to a target), it will not appear in this
list. The throughput is 64-bit and composed of two 32-bit integers. For example, the iSCSi LUN
read throughput is composed of higher 32-bit and lower 32-bit throughput.
14
Synology MIB files
The Synology Ebox MIB provides the power status of expansion unit connected to Synology
servers. Table 3-16 shows the information provided in ebox MIB. Table 3-17 describes the
content of each eboxPower and eboxRedundantPower status in detail.
15
Synology MIB files
The Synology SHA MIB provides basic cluster information and monitors cluster status and
heartbeat status.
16
Synology MIB files
The Synology NFS MIB monitors the maximum latency and operations of NFS. Every value will
be cached for 3 seconds. Therefore, if you access a value twice within 3 seconds, you will get
the same value. The maximum latency will always clear the cache and recount the value once
the value has been updated.
17
Synology MIB files
The Synology GPUInfo MIB monitors the resource usage of GPU card. The collection frequency
is 5 seconds.
Note: The MIB is only available on models which supports GPU card such as the DVA3221.
Otherwise, it will return zero value for each OID path.
The Synology Port MIB defines the status of each Ethernet port, such as link status and link
speed, as listed in Table 3-23. The cache interval is 5 seconds.
Note: The MIB is only available on models running SRM, such as RT2600ac.
18
Synology MIB files
The Synology iSCSI Target MIB can list all iSCSI targets and show their basic information, such
as target name, IQN and connection status.
19
Useful OIDs
Useful OIDs
Although there are many native MIB files supported by Synology, user may be interested in
specific information about the Synology servers, such as CPU, memory and so on. The tables
below list the native OIDs related to load, CPU, memory, network and disk for gathering useful
device’s data easily.
20
Useful OIDs
21
Useful OIDs
22
Monitor Specific OIDs
In any NMS, particular MIB files are needed in order to capture data through SNMP. Users
need to import all MIB files to ensure that the NMS can resolve specific OIDs. Once imported,
data can be captured by setting up the NMS. Although the means of operating different kinds
of NMS may vary, the process of OID monitoring is similar. The overall procedure is as follows.
The following guide demonstrates the usage of PRTG (a type of NMS) including how to import
MIB files and set up monitoring for the provided OIDs. For further help regarding PRTG, please
consult PRTG documentation, as the following is only intended to be a brief description of OID
monitoring.
As PRTG cannot import MIB files directly, Paessler MIB Importer is required to convert MIB files
into the PRTG format:
3. Choose all the Synology MIB file together and click Open File.
All MIB files (cf. Table 2-1) must be imported together as they are mutually dependent and
Paessler MIB Importer cannot load them individually. If the import is successful, a window as
shown in Figure 1 should appear. Detailed information is shown in Figure 2.
23
Monitor Specific OIDs
24
Monitor Specific OIDs
The PRTG-supported library containing the MIB files in question should be placed into the
folder: “snmplibs”. Once this has been done, specific OIDs can be set up for monitoring in
PRTG. This guide assumes that your Synology servers has already been added to the devices
list and focuses only on how to add OIDs for monitoring.
25
Monitor Specific OIDs
4. Choose SNMP Library and the library exported in the previous section.
26
Document Revision History
This table describes the revisions made to Synology servers MIB Guide.
27
Copyright and Disclaimer Notices
Synology Inc.
© 2015-2022 Synology Inc.
All rights reserved.
No licenses, express or implied, are granted with respect to any of the technology described in
this document. Synology retains all intellectual property rights associated with the technology
described in this document. This document is intended to assist application developers to
develop applications only for Synology-labelled computers.
Every effort has been made to ensure that the information in this document is accurate.
Synology is not responsible for typographical errors.
Synology Inc.
9F., No.1. Yuandong Rd., Banqiao Dist., New Taipei City 220, Taiwann
Synology and the Synology logo are trademarks of Synology Inc., registered in the United
States and other countries.
Marvell is registered trademarks of Marvell Semiconductor, Inc. or its subsidiaries in the United
States and other countries.
Other products and company names mentioned herein are trademarks of their respective
holders.
28
Copyright and Disclaimer Notices
Even though Synology has reviewed this document, SYNOLOGY MAKES NO WARRANTY OR
REPRESENTATION, EITHER EXPRESS OR IMPLIED, WITH RESPECT TO THIS DOCUMENT, ITS
QUALITY, ACCURACY, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. AS A
RESULT, THIS DOCUMENT IS PROVIDED “AS IS,” AND YOU, THE READER, ARE ASSUMING THE
ENTIRE RISK AS TO ITS QUALITY AND ACCURACY. IN NO EVENT WILL SYNOLOGY BE LIABLE FOR
DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES RESULTING FROM
ANY DEFECT OR INACCURACY IN THIS DOCUMENT, even if advised of the possibility of such
damages.
THE WARRANTY AND REMEDIES SET FORTH ABOVE ARE EXCLUSIVE AND IN LIEU OF ALL
OTHERS, ORAL OR WRITTEN, EXPRESS OR IMPLIED. No Synology dealer, agent, or employee is
authorized to make any modification, extension, or addition to this warranty.
Some states do not allow the exclusion or limitation of implied warranties or liability for
incidental or consequential damages, so the above limitation or exclusion may not apply to
you. This warranty gives you specific legal rights, and you may also have other rights which
vary from state to state.
29
Copyright and Disclaimer Notices
SYNOLOGY
INC.
9F, No. 1, Yuandong Rd.
Banqiao Dist., New Taipei City 220545
Taiwan
Tel: +886 2 2955 1814
SYNOLOGY
AMERICA CORP.
3535 Factoria Blvd SE, Suite #200,
Bellevue, WA 98006
USA
Tel: +1 425 818 1587
SYNOLOGY
UK LTD.
Unit 5 Danbury Court, Linford Wood,
Milton Keynes, MK14 6PL
United Kingdom
Tel.: +44 (0)1908048029
SYNOLOGY
FRANCE
102 Terrasse Boieldieu (TOUR W)
92800 Puteaux
France
Tel: +33 147 176288
SYNOLOGY
GMBH
Grafenberger Allee 295
40237 Düsseldorf
Deutschland
Tel: +49 211 9666 9666
SYNOLOGY
SHANGHAI
200070, Room 201,
No. 511 Tianmu W. Rd.,
SYNOLOGY
Synology may make changes to specifications and product descriptions at any time, without notice. Copyright
JAPAN CO., LTD.
© 2022 Synology Inc. All rights reserved. ® Synology and other names of Synology Products are proprietary 4F, No. 3-1-2, Higashikanda,
marks or registered trademarks of Synology Inc. Other products and company names mentioned herein are Chiyoda-ku, Tokyo, 101-0031
trademarks of their respective holders. Japan
30