Update to 2021-10-21 18:00

master
Daniel Berteaud 3 years ago
parent 94b39dd7ef
commit a20e2e2c6f
  1. 216
      roles/snmp_mibs/files/mibs/SYNOLOGY-DISK-MIB.txt
  2. 95
      roles/snmp_mibs/files/mibs/SYNOLOGY-EBOX-MIB.txt
  3. 218
      roles/snmp_mibs/files/mibs/SYNOLOGY-FLASHCACHE-MIB.txt
  4. 103
      roles/snmp_mibs/files/mibs/SYNOLOGY-GPUINFO-MIB.txt
  5. 230
      roles/snmp_mibs/files/mibs/SYNOLOGY-ISCSILUN-MIB.txt
  6. 93
      roles/snmp_mibs/files/mibs/SYNOLOGY-ISCSITarget-MIB.txt
  7. 148
      roles/snmp_mibs/files/mibs/SYNOLOGY-NFS-MIB.txt
  8. 102
      roles/snmp_mibs/files/mibs/SYNOLOGY-PORT-MIB.txt
  9. 144
      roles/snmp_mibs/files/mibs/SYNOLOGY-RAID-MIB.txt
  10. 86
      roles/snmp_mibs/files/mibs/SYNOLOGY-SERVICES-MIB.txt
  11. 141
      roles/snmp_mibs/files/mibs/SYNOLOGY-SHA-MIB.txt
  12. 141
      roles/snmp_mibs/files/mibs/SYNOLOGY-SMART-MIB.txt
  13. 199
      roles/snmp_mibs/files/mibs/SYNOLOGY-SPACEIO-MIB.txt
  14. 197
      roles/snmp_mibs/files/mibs/SYNOLOGY-STORAGEIO-MIB.txt
  15. 168
      roles/snmp_mibs/files/mibs/SYNOLOGY-SYSTEM-MIB.txt
  16. 1336
      roles/snmp_mibs/files/mibs/SYNOLOGY-UPS-MIB.txt
  17. 3
      roles/squid/defaults/main.yml
  18. 2
      roles/squid/templates/squid.conf.j2

@ -0,0 +1,216 @@
SYNOLOGY-DISK-MIB DEFINITIONS ::= BEGIN
IMPORTS
OBJECT-GROUP, MODULE-COMPLIANCE
FROM SNMPv2-CONF
enterprises, MODULE-IDENTITY, OBJECT-TYPE, Integer32
FROM SNMPv2-SMI;
synoDisk MODULE-IDENTITY
LAST-UPDATED "201309110000Z"
ORGANIZATION "www.synology.com"
CONTACT-INFO
"Synology Inc.
Email: snmp@synology.com"
DESCRIPTION
"Characteristics of the disk information"
REVISION "201309110000Z"
DESCRIPTION
"Second draft."
::= { synology 2 }
synology OBJECT IDENTIFIER
::= { enterprises 6574 }
diskTable OBJECT-TYPE
SYNTAX SEQUENCE OF DiskEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Synology disk table"
::= { synoDisk 1 }
diskEntry OBJECT-TYPE
SYNTAX DiskEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"For all disk entry"
INDEX { diskIndex }
::= { diskTable 1 }
DiskEntry ::= SEQUENCE {
diskIndex Integer32,
diskID OCTET STRING,
diskModel OCTET STRING,
diskType OCTET STRING,
diskStatus Integer32,
diskTemperature Integer32,
diskRole OCTET STRING,
diskRetry Integer32,
diskBadSector Integer32,
diskIdentifyFail Integer32,
diskRemainLife Integer32,
diskName OCTET STRING
}
diskIndex OBJECT-TYPE
SYNTAX Integer32(0..2147483647)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The index of disk table"
::= { diskEntry 1 }
diskID OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Synology disk ID
The ID of disk is assigned by disk Station.
"
::= { diskEntry 2 }
diskModel OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Synology disk model name
The disk model name will be showed here.
"
::= { diskEntry 3 }
diskType OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Synology disk type
The type of disk will be showed here, including SATA, SSD and so on.
"
::= { diskEntry 4 }
diskStatus OBJECT-TYPE
SYNTAX Integer32(1..5)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Synology disk status
Each meanings of status represented describe below.
Normal(1): The hard disk functions normally.
Initialized(2): The hard disk has system partition but no data.
NotInitialized(3): The hard disk does not have system in system partition.
SystemPartitionFailed(4): The system partitions on the hard disks are damaged.
Crashed(5): The hard disk has damaged.
"
::= { diskEntry 5 }
diskTemperature OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Synology disk temperature
The temperature of each disk uses Celsius degree.
"
::= { diskEntry 6 }
diskRole OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Synology disk role
The role of the disk in system.
Could be:
data, cache, hotspare, none
"
::= { diskEntry 7 }
diskRetry OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Synology disk retry count
The count of each disk connection retries.
"
::= { diskEntry 8 }
diskBadSector OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Synology disk bad sector count
The count of each disk I/O bad sector.
"
::= { diskEntry 9 }
diskIdentifyFail OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Synology disk identify fail count
The count of each disk identify fails.
"
::= { diskEntry 10 }
diskRemainLife OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Synology disk remainLife
The estimate remain life of each disk.
"
::= { diskEntry 11 }
diskName OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Synology disk name
The name of disk which align to storage manager.
"
::= { diskEntry 12 }
diskConformance OBJECT IDENTIFIER ::= { synoDisk 2 }
diskCompliances OBJECT IDENTIFIER ::= { diskConformance 1 }
diskGroups OBJECT IDENTIFIER ::= { diskConformance 2 }
diskCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for synoDisk entities which
implement the SYNOLOGY DISK MIB."
MODULE -- this module
MANDATORY-GROUPS { diskGroup }
::= { diskCompliances 1 }
diskGroup OBJECT-GROUP
OBJECTS { diskIndex,
diskID,
diskModel,
diskType,
diskStatus,
diskTemperature,
diskRole,
diskRetry,
diskBadSector,
diskIdentifyFail,
diskRemainLife,
diskName }
STATUS current
DESCRIPTION
"A collection of objects providing basic information
of an synology disk entity."
::= { diskGroups 1 }
END

@ -0,0 +1,95 @@
SYNOLOGY-EBOX-MIB DEFINITIONS ::= BEGIN
IMPORTS
OBJECT-GROUP, MODULE-COMPLIANCE
FROM SNMPv2-CONF
OBJECT-TYPE, Integer32, enterprises, MODULE-IDENTITY
FROM SNMPv2-SMI;
synologyEbox MODULE-IDENTITY
LAST-UPDATED "201706260000Z"
ORGANIZATION "www.synology.com"
CONTACT-INFO
"Synology Inc.
Email: snmp@synology.com"
DESCRIPTION "List ebox info in DS"
REVISION "201706260000Z"
DESCRIPTION "First draft."
::= { synology 105 }
synology OBJECT IDENTIFIER
::= { enterprises 6574 }
eboxTable OBJECT-TYPE
SYNTAX SEQUENCE OF EboxEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "Table of ebox data."
::= { synologyEbox 1 }
eboxEntry OBJECT-TYPE
SYNTAX EboxEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "An entry containing ebox information"
INDEX { eboxIndex }
::= { eboxTable 1 }
EboxEntry ::= SEQUENCE {
eboxIndex Integer32,
eboxModel OCTET STRING,
eboxPower Integer32,
eboxRedundantPower Integer32
}
eboxIndex OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Ebox info index"
::= { eboxEntry 1 }
eboxModel OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Ebox model"
::= { eboxEntry 2 }
eboxPower OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Ebox Power"
::= { eboxEntry 3 }
eboxRedundantPower OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Ebox Redundant Power"
::= { eboxEntry 4 }
synologyEboxConformance OBJECT IDENTIFIER ::= { synologyEbox 2 }
synologyEboxCompliances OBJECT IDENTIFIER ::= { synologyEboxConformance 1 }
synologyEboxGroups OBJECT IDENTIFIER ::= { synologyEboxConformance 2 }
synologyEboxCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION "The compliance statement for ebox information."
MODULE -- this module
MANDATORY-GROUPS { synologyEboxGroup }
::= { synologyEboxCompliances 1 }
synologyEboxGroup OBJECT-GROUP
OBJECTS { eboxIndex,
eboxModel,
eboxPower,
eboxRedundantPower }
STATUS current
DESCRIPTION
"A collection of objects providing basic information
of an synology ebox entity."
::= { synologyEboxGroups 1 }
END

@ -0,0 +1,218 @@
SYNOLOGY-FLASHCACHE-MIB DEFINITIONS ::= BEGIN
IMPORTS
DisplayString
FROM SNMPv2-TC
OBJECT-GROUP, MODULE-COMPLIANCE
FROM SNMPv2-CONF
OBJECT-TYPE, Integer32, Counter64, enterprises, MODULE-IDENTITY
FROM SNMPv2-SMI;
flashCache MODULE-IDENTITY
LAST-UPDATED "201407170000Z"
ORGANIZATION "www.synology.com"
CONTACT-INFO
"Synology Inc.
Email: snmp@synology.com"
DESCRIPTION
"Characteristics of the flash cache information"
REVISION "201407170000Z"
DESCRIPTION
"First draft."
::= { synology 103 }
synology OBJECT IDENTIFIER
::= { enterprises 6574 }
flashCacheTable OBJECT-TYPE
SYNTAX SEQUENCE OF FlashCacheEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Table of flash cache devices and how much data they have read/written."
::= { flashCache 1 }
flashCacheEntry OBJECT-TYPE
SYNTAX FlashCacheEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry containing a device and its statistics."
INDEX { flashCacheIndex }
::= { flashCacheTable 1 }
FlashCacheEntry ::= SEQUENCE {
flashCacheIndex Integer32,
flashCacheSSDDev DisplayString,
flashCacheSpaceDev DisplayString,
flashCacheReadHits Counter64,
flashCacheWriteHits Counter64,
flashCacheDiskRead Counter64,
flashCacheDiskWrite Counter64,
flashCacheTotalRead Counter64,
flashCacheTotalWrite Counter64,
flashCacheReadHitRate Integer32,
flashCacheWriteHitRate Integer32,
flashCacheReadSeqSkip Counter64,
flashCacheWriteSeqSkip Counter64,
flashCacheWriteMissSsd Counter64,
flashCacheSsdUuid DisplayString
}
flashCacheIndex OBJECT-TYPE
SYNTAX Integer32 (0..65535)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Reference index for each observed device."
::= { flashCacheEntry 1 }
flashCacheSSDDev OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The ssd device on flashcache we are counting/checking."
::= { flashCacheEntry 2 }
flashCacheSpaceDev OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The space device on flashcache we are counting/checking."
::= { flashCacheEntry 3 }
flashCacheReadHits OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of reads on flash cache."
::= { flashCacheEntry 4 }
flashCacheWriteHits OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of writes on flash cache."
::= { flashCacheEntry 5 }
flashCacheDiskRead OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of reads on disk."
::= { flashCacheEntry 6 }
flashCacheDiskWrite OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of writes on disk."
::= { flashCacheEntry 7 }
flashCacheTotalRead OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of reads on volume with flash cache."
::= { flashCacheEntry 8 }
flashCacheTotalWrite OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of writes on volume with flash cache."
::= { flashCacheEntry 9 }
flashCacheReadHitRate OBJECT-TYPE
SYNTAX Integer32 (0..100)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The read hit rate of flash cache (%)"
::= { flashCacheEntry 10 }
flashCacheWriteHitRate OBJECT-TYPE
SYNTAX Integer32 (0..100)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The write hit rate of flash cache (%)"
::= { flashCacheEntry 11 }
flashCacheReadSeqSkip OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of skipped sequential reads on flash cache."
::= { flashCacheEntry 12 }
flashCacheWriteSeqSkip OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of skipped sequential writes on flash cache."
::= { flashCacheEntry 13 }
flashCacheWriteMissSsd OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of data writes to SSD for the first time."
::= { flashCacheEntry 14 }
flashCacheSsdUuid OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The ssd UUID on flashcache we are counting/checking."
::= { flashCacheEntry 15 }
flashCacheConformance OBJECT IDENTIFIER ::= { flashCache 2 }
flashCacheCompliances OBJECT IDENTIFIER ::= { flashCacheConformance 1 }
flashCacheGroups OBJECT IDENTIFIER ::= { flashCacheConformance 2 }
flashCacheCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for flash cache entities which
implement the SYNOLOGY FLASHCACHE MIB."
MODULE -- this module
MANDATORY-GROUPS { flashCacheGroup }
::= { flashCacheCompliances 1 }
flashCacheGroup OBJECT-GROUP
OBJECTS { flashCacheSSDDev,
flashCacheSpaceDev,
flashCacheReadHits,
flashCacheWriteHits,
flashCacheDiskRead,
flashCacheDiskWrite,
flashCacheTotalRead,
flashCacheTotalWrite,
flashCacheReadHitRate,
flashCacheWriteHitRate,
flashCacheReadSeqSkip,
flashCacheWriteSeqSkip,
flashCacheWriteMissSsd,
flashCacheSsdUuid}
STATUS current
DESCRIPTION
"A collection of objects providing basic information
of an synology flash cache entity."
::= { flashCacheGroups 1 }
END

@ -0,0 +1,103 @@
SYNOLOGY-GPUINFO-MIB DEFINITIONS ::= BEGIN
IMPORTS
DisplayString
FROM SNMPv2-TC
OBJECT-GROUP, MODULE-COMPLIANCE
FROM SNMPv2-CONF
OBJECT-TYPE, Integer32, Counter64, enterprises, MODULE-IDENTITY
FROM SNMPv2-SMI;
gpuInfo MODULE-IDENTITY
LAST-UPDATED "201812030000Z"
ORGANIZATION "www.synology.com"
CONTACT-INFO
"Synology Inc.
Email: snmp@synology.com"
DESCRIPTION
"Characteristics of the gpu information"
REVISION "201812030000Z"
DESCRIPTION
"First draft."
::= { synology 108 }
synology OBJECT IDENTIFIER
::= { enterprises 6574 }
gpuInfoSupported OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Synology gpu Supported."
::= { gpuInfo 1 }
gpuUtilization OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Synology gpu utilization %."
::= { gpuInfo 2 }
gpuMemoryUtilization OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Synology gpu memory utilization %."
::= { gpuInfo 3 }
gpuMemoryFree OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Synology gpu free memory in kB."
::= { gpuInfo 4 }
gpuMemoryUsed OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Synology gpu used memory in kB."
::= { gpuInfo 5 }
gpuMemoryTotal OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Synology gpu total memory in kB."
::= { gpuInfo 6 }
gpuInfoConformance OBJECT IDENTIFIER ::= { gpuInfo 7 }
gpuInfoCompliances OBJECT IDENTIFIER ::= { gpuInfoConformance 1 }
gpuInfoGroups OBJECT IDENTIFIER ::= { gpuInfoConformance 2 }
gpuInfoCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for syno gpuInfo which
implement the SYNOLOGY GPUINFO MIB."
MODULE -- this module
MANDATORY-GROUPS { gpuInfoGroup }
::= { gpuInfoCompliances 1 }
gpuInfoGroup OBJECT-GROUP
OBJECTS { gpuInfoSupported,
gpuUtilization,
gpuMemoryUtilization,
gpuMemoryFree,
gpuMemoryUsed,
gpuMemoryTotal }
STATUS current
DESCRIPTION
"A collection of objects providing basic information
of a synology gpu.
If platform doesn't support gpu, it will get 0 for every oids."
::= { gpuInfoGroups 1 }
END

@ -0,0 +1,230 @@
SYNOLOGY-ISCSILUN-MIB DEFINITIONS ::= BEGIN
IMPORTS
OBJECT-GROUP, MODULE-COMPLIANCE
FROM SNMPv2-CONF
OBJECT-TYPE, Integer32, enterprises, MODULE-IDENTITY
FROM SNMPv2-SMI;
synologyiSCSILUN MODULE-IDENTITY
LAST-UPDATED "202008120000Z"
ORGANIZATION "www.synology.com"
CONTACT-INFO
"Synology Inc.
Email: snmp@synology.com"
DESCRIPTION "Characteristics of the iscsi lun information"
REVISION "202008120000Z"
DESCRIPTION "New entry iSCSILUNThinProvisionVolFreeMBs"
::= { synology 104 }
synology OBJECT IDENTIFIER
::= { enterprises 6574 }
iSCSILUNTable OBJECT-TYPE
SYNTAX SEQUENCE OF ISCSILUNEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "Table of iSCSI LUN data."
::= { synologyiSCSILUN 1 }
iSCSILUNEntry OBJECT-TYPE
SYNTAX ISCSILUNEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "An entry containing iscsi lun information"
INDEX { iSCSILUNInfoIndex }
::= { iSCSILUNTable 1 }
ISCSILUNEntry ::= SEQUENCE {
iSCSILUNInfoIndex Integer32,
iSCSILUNUUID OCTET STRING,
iSCSILUNName OCTET STRING,
iSCSILUNThroughputReadHigh Integer32,
iSCSILUNThroughputReadLow Integer32,
iSCSILUNThroughputWriteHigh Integer32,
iSCSILUNThroughputWriteLow Integer32,
iSCSILUNIopsRead Integer32,
iSCSILUNIopsWrite Integer32,
iSCSILUNDiskLatencyRead Integer32,
iSCSILUNDiskLatencyWrite Integer32,
iSCSILUNNetworkLatencyTx Integer32,
iSCSILUNNetworkLatencyRx Integer32,
iSCSILUNIoSizeRead Integer32,
iSCSILUNIoSizeWrite Integer32,
iSCSILUNQueueDepth Integer32,
iSCSILUNType OCTET STRING,
iSCSILUNDiskLatencyAvg Integer32,
iSCSILUNThinProvisionVolFreeMBs Integer32
}
iSCSILUNInfoIndex OBJECT-TYPE
SYNTAX Integer32(0..2147483647)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "LUN info index"
::= { iSCSILUNEntry 1 }
iSCSILUNUUID OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(0..255))
MAX-ACCESS read-only
STATUS current
DESCRIPTION "LUN uuid"
::= { iSCSILUNEntry 2 }
iSCSILUNName OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(0..255))
MAX-ACCESS read-only
STATUS current
DESCRIPTION "LUN name"
::= { iSCSILUNEntry 3 }
iSCSILUNThroughputReadHigh OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "LUN read throughput over 32 bits part"
::= { iSCSILUNEntry 4 }
iSCSILUNThroughputReadLow OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "LUN read throughput in unsigned 32 bit"
::= { iSCSILUNEntry 5 }
iSCSILUNThroughputWriteHigh OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "LUN write throughput over 32 bits part"
::= { iSCSILUNEntry 6 }
iSCSILUNThroughputWriteLow OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "LUN write throughput in unsigned 32 bit"
::= { iSCSILUNEntry 7 }
iSCSILUNIopsRead OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "LUN read iops"
::= { iSCSILUNEntry 8 }
iSCSILUNIopsWrite OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "LUN write iops"
::= { iSCSILUNEntry 9 }
iSCSILUNDiskLatencyRead OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "LUN disk latency when reading"
::= { iSCSILUNEntry 10 }
iSCSILUNDiskLatencyWrite OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "LUN disk latency when writing"
::= { iSCSILUNEntry 11 }
iSCSILUNNetworkLatencyTx OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "LUN transfer data network latency"
::= { iSCSILUNEntry 12 }
iSCSILUNNetworkLatencyRx OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "LUN receive data network latency"
::= { iSCSILUNEntry 13 }
iSCSILUNIoSizeRead OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "LUN average io size when reading"
::= { iSCSILUNEntry 14 }
iSCSILUNIoSizeWrite OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "LUN average io size when writing"
::= { iSCSILUNEntry 15 }
iSCSILUNQueueDepth OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Num of iSCSI commands in LUN queue"
::= { iSCSILUNEntry 16 }
iSCSILUNType OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(0..255))
MAX-ACCESS read-only
STATUS current
DESCRIPTION "LUN type"
::= { iSCSILUNEntry 17 }
iSCSILUNDiskLatencyAvg OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Average latency of LUN disk"
::= { iSCSILUNEntry 18 }
iSCSILUNThinProvisionVolFreeMBs OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Free space(MB) of thin provisioning lun's volume"
::= { iSCSILUNEntry 19 }
synologyiSCSILUNConformance OBJECT IDENTIFIER ::= { synologyiSCSILUN 2 }
synologyiSCSILUNCompliances OBJECT IDENTIFIER ::= { synologyiSCSILUNConformance 1 }
synologyiSCSILUNGroups OBJECT IDENTIFIER ::= { synologyiSCSILUNConformance 2 }
synologyiSCSILUNCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for iSCSI LUN information."
MODULE -- this module
MANDATORY-GROUPS { synologyiSCSILUNGroup }
::= { synologyiSCSILUNCompliances 1 }
synologyiSCSILUNGroup OBJECT-GROUP
OBJECTS { iSCSILUNUUID,
iSCSILUNName,
iSCSILUNThroughputReadHigh,
iSCSILUNThroughputReadLow,
iSCSILUNThroughputWriteHigh,
iSCSILUNThroughputWriteLow,
iSCSILUNIopsRead,
iSCSILUNIopsWrite,
iSCSILUNDiskLatencyRead,
iSCSILUNDiskLatencyWrite,
iSCSILUNNetworkLatencyTx,
iSCSILUNNetworkLatencyRx,
iSCSILUNIoSizeRead,
iSCSILUNIoSizeWrite,
iSCSILUNQueueDepth,
iSCSILUNType,
iSCSILUNDiskLatencyAvg,
iSCSILUNThinProvisionVolFreeMBs }
STATUS current
DESCRIPTION
"A collection of objects providing basic information
of an synology iSCSI LUN entity."
::= { synologyiSCSILUNGroups 1 }
END

@ -0,0 +1,93 @@
SYNOLOGY-ISCSITarget-MIB DEFINITIONS ::= BEGIN
IMPORTS
OBJECT-GROUP, MODULE-COMPLIANCE
FROM SNMPv2-CONF
OBJECT-TYPE, Integer32, enterprises, MODULE-IDENTITY
FROM SNMPv2-SMI;
synologyiSCSITarget MODULE-IDENTITY
LAST-UPDATED "202004150000Z"
ORGANIZATION "www.synology.com"
CONTACT-INFO
"Synology Inc.
Email: snmp@synology.com"
DESCRIPTION "Characteristics of the iscsi target information"
::= { synology 110 }
synology OBJECT IDENTIFIER
::= { enterprises 6574 }
iSCSITargetTable OBJECT-TYPE
SYNTAX SEQUENCE OF ISCSITargetEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "Table of iSCSI Target data."
::= { synologyiSCSITarget 1 }
iSCSITargetEntry OBJECT-TYPE
SYNTAX ISCSITargetEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "An entry containing iscsi target information"
INDEX { iSCSITargetInfoIndex }
::= { iSCSITargetTable 1 }
ISCSITargetEntry ::= SEQUENCE {
iSCSITargetInfoIndex Integer32,
iSCSITargetName OCTET STRING,
iSCSITargetIQN OCTET STRING,
iSCSITargetConnectionStatus OCTET STRING
}
iSCSITargetInfoIndex OBJECT-TYPE
SYNTAX Integer32(0..2147483647)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "Target info index"
::= { iSCSITargetEntry 1 }
iSCSITargetName OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(0..255))
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Target name"
::= { iSCSITargetEntry 2 }
iSCSITargetIQN OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(0..255))
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Target iqn"
::= { iSCSITargetEntry 3 }
iSCSITargetConnectionStatus OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(0..4096))
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Target connection status"
::= { iSCSITargetEntry 4 }
synologyiSCSITargetConformance OBJECT IDENTIFIER ::= { synologyiSCSITarget 2 }
synologyiSCSITargetCompliances OBJECT IDENTIFIER ::= { synologyiSCSITargetConformance 1 }
synologyiSCSITargetGroups OBJECT IDENTIFIER ::= { synologyiSCSITargetConformance 2 }
synologyiSCSITargetCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for iSCSI Target information."
MODULE -- this module
MANDATORY-GROUPS { synologyiSCSITargetGroup }
::= { synologyiSCSITargetCompliances 1 }
synologyiSCSITargetGroup OBJECT-GROUP
OBJECTS { iSCSITargetName,
iSCSITargetIQN,
iSCSITargetConnectionStatus }
STATUS current
DESCRIPTION
"A collection of objects providing basic information
of an synology iSCSI Target entity."
::= { synologyiSCSITargetGroups 1 }
END

@ -0,0 +1,148 @@
SYNOLOGY-NFS-MIB DEFINITIONS ::= BEGIN
IMPORTS
DisplayString
FROM SNMPv2-TC
OBJECT-GROUP, MODULE-COMPLIANCE
FROM SNMPv2-CONF
OBJECT-TYPE, Integer32, Counter64, enterprises, MODULE-IDENTITY
FROM SNMPv2-SMI;
nfs MODULE-IDENTITY
LAST-UPDATED "201808100000Z"
ORGANIZATION "www.synology.com"
CONTACT-INFO
"Synology Inc.
Email: snmp@synology.com"
DESCRIPTION
"Characteristics of the nfs information"
REVISION "201808100000Z"
DESCRIPTION
"First draft."
::= { synology 107 }
synology OBJECT IDENTIFIER
::= { enterprises 6574 }
nfsTable OBJECT-TYPE
SYNTAX SEQUENCE OF NfsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Table of nfs data."
::= { nfs 1 }
nfsEntry OBJECT-TYPE
SYNTAX NfsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry containing nfs information."
INDEX { nfsIndex }
::= { nfsTable 1 }
NfsEntry ::= SEQUENCE {
nfsIndex Integer32,
nfsName DisplayString,
nfsTotalMaxLatency Integer32,
nfsReadMaxLatency Integer32,
nfsWriteMaxLatency Integer32,
nfsTotalOPS Counter64,
nfsReadOPS Counter64,
nfsWriteOPS Counter64
}
nfsIndex OBJECT-TYPE
SYNTAX Integer32 (0..65535)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Reference index for each observed device."
::= { nfsEntry 1 }
nfsName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION "nfs name"
::= { nfsEntry 2 }
nfsTotalMaxLatency OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of nfs total max latency."
::= { nfsEntry 3 }
nfsReadMaxLatency OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of nfs read max latency."
::= { nfsEntry 4 }
nfsWriteMaxLatency OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of nfs write max latency."
::= { nfsEntry 5 }
nfsTotalOPS OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of nfs total OPS."
::= { nfsEntry 6 }
nfsReadOPS OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of nfs read OPS."
::= { nfsEntry 7 }
nfsWriteOPS OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of nfs write OPS."
::= { nfsEntry 8 }
nfsConformance OBJECT IDENTIFIER ::= { nfs 2 }
nfsCompliances OBJECT IDENTIFIER ::= { nfsConformance 1 }
nfsGroups OBJECT IDENTIFIER ::= { nfsConformance 2 }
nfsCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for nfs entities which
implement the SYNOLOGY NFS MIB."
MODULE -- this module
MANDATORY-GROUPS { nfsGroup }
::= { nfsCompliances 1 }
nfsGroup OBJECT-GROUP
OBJECTS { nfsName,
nfsTotalMaxLatency,
nfsReadMaxLatency,
nfsWriteMaxLatency,
nfsTotalOPS,
nfsReadOPS,
nfsWriteOPS}
STATUS current
DESCRIPTION
"A collection of objects providing basic information
of an synology nfs entity."
::= { nfsGroups 1 }
END

@ -0,0 +1,102 @@
SYNOLOGY-PORT-MIB DEFINITIONS ::= BEGIN
IMPORTS
OBJECT-GROUP, MODULE-COMPLIANCE
FROM SNMPv2-CONF
enterprises, MODULE-IDENTITY, OBJECT-TYPE, Gauge32, Integer32
FROM SNMPv2-SMI;
synoEthPort MODULE-IDENTITY
LAST-UPDATED "202012200000Z"
ORGANIZATION "www.synology.com"
CONTACT-INFO
"Synology Inc.
Email: snmp@synology.com"
DESCRIPTION
"The MIB module describes Ethernet port status."
REVISION "202012200000Z"
DESCRIPTION
"Initial version."
::= { synology 109 }
synology OBJECT IDENTIFIER ::= { enterprises 6574 }
ethPortTable OBJECT-TYPE
SYNTAX SEQUENCE OF EthPortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of Ethernet port entries."
::= { synoEthPort 1 }
ethPortEntry OBJECT-TYPE
SYNTAX EthPortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry containing management information of an Ethernet port"
INDEX { ethPortIndex }
::= { ethPortTable 1 }
EthPortEntry ::= SEQUENCE {
ethPortIndex Integer32,
ethPortStatus INTEGER,
ethPortSpeed Gauge32
}
ethPortIndex OBJECT-TYPE
SYNTAX Integer32 (1..2147483647)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A unique value for each Ethernet port present on the device."
::= { ethPortEntry 1 }
ethPortStatus OBJECT-TYPE
SYNTAX INTEGER {
unknown(1),
up(2),
down(3)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The port status of the Ethernet port."
::= { ethPortEntry 2 }
ethPortSpeed OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"An estimated of the Ethernet port link speed in units of
1,000,000 bits per second."
::= { ethPortEntry 3 }
--
-- SNMP conformance statements
--
ethPortConformance OBJECT IDENTIFIER ::= { synoEthPort 2 }
ethPortCompliances OBJECT IDENTIFIER ::= { ethPortConformance 1 }
ethPortGroups OBJECT IDENTIFIER ::= { ethPortConformance 2 }
ethPortCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for synoEthPort entities which
implement the SYNOLOGY PORT MIB."
MODULE
MANDATORY-GROUPS { ethPortGroup }
::= { ethPortCompliances 1 }
ethPortGroup OBJECT-GROUP
OBJECTS {
ethPortStatus,
ethPortSpeed
}
STATUS current
DESCRIPTION
"The Ethernet port attribute group."
::= { ethPortGroups 1 }
END

@ -0,0 +1,144 @@
SYNOLOGY-RAID-MIB DEFINITIONS ::= BEGIN
IMPORTS
OBJECT-GROUP, MODULE-COMPLIANCE
FROM SNMPv2-CONF
enterprises, MODULE-IDENTITY, OBJECT-TYPE, Integer32, Counter64
FROM SNMPv2-SMI;
synoRaid MODULE-IDENTITY
LAST-UPDATED "201309110000Z"
ORGANIZATION "www.synology.com"
CONTACT-INFO
"Synology Inc.
Email: snmp@synology.com"
DESCRIPTION
"Characteristics of the raid information"
REVISION "201309110000Z"
DESCRIPTION
"Second draft."
::= { synology 3 }
synology OBJECT IDENTIFIER
::= { enterprises 6574 }
raidTable OBJECT-TYPE
SYNTAX SEQUENCE OF RaidEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Synology raid table"
::= { synoRaid 1 }
raidEntry OBJECT-TYPE
SYNTAX RaidEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"For all raid entry"
INDEX { raidIndex }
::= { raidTable 1 }
RaidEntry ::= SEQUENCE {
raidIndex Integer32,
raidName OCTET STRING,
raidStatus Integer32,
raidFreeSize Counter64,
raidTotalSize Counter64,
raidHotspareCnt Integer32
}
raidIndex OBJECT-TYPE
SYNTAX Integer32(0..2147483647)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The index of raid table"
::= { raidEntry 1 }
raidName OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Synology raid name
The name of each raid will be showed here.
"
::= { raidEntry 2 }
raidStatus OBJECT-TYPE
SYNTAX Integer32(1..12)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Synology Raid status
Each meanings of status represented describe below.
Normal(1): The raid functions normally.
Degrade(11): Degrade happens when a tolerable failure of disk(s) occurs.
Crashed(12): Raid has crashed and just uses for read-only operation.
Note:
Other status will be showed when creating or deleting raids, including below status, Repairing(2), Migrating(3), Expanding(4), Deleting(5), Creating(6), RaidSyncing(7), RaidParityChecking(8), RaidAssembling(9) and Canceling(10).
"
::= { raidEntry 3 }
raidFreeSize OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Synology raid freesize
Free space in bytes.
"
::= { raidEntry 4 }
raidTotalSize OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Synology raid totalsize
Total space in bytes.
"
::= { raidEntry 5 }
raidHotspareCnt OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Synology raid hotspare
Total hotspare disks count.
Each meaning of values described as below.
Normal(>=0): Total number of hotspare disks in this pool.
"
::= { raidEntry 6 }
raidConformance OBJECT IDENTIFIER ::= { synoRaid 2 }
raidCompliances OBJECT IDENTIFIER ::= { raidConformance 1 }
raidGroups OBJECT IDENTIFIER ::= { raidConformance 2 }
raidCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for synoRaid entities which
implement the SYNOLOGY RAID MIB."
MODULE -- this module
MANDATORY-GROUPS { raidGroup }
::= { raidCompliances 1 }
raidGroup OBJECT-GROUP
OBJECTS { raidIndex,
raidName,
raidStatus,
raidFreeSize,
raidTotalSize,
raidHotspareCnt}
STATUS current
DESCRIPTION
"A collection of objects providing basic instrumentation and
control of an synology raid entity."
::= { raidGroups 1 }
END

@ -0,0 +1,86 @@
SYNOLOGY-SERVICES-MIB DEFINITIONS ::= BEGIN
IMPORTS
OBJECT-GROUP, MODULE-COMPLIANCE
FROM SNMPv2-CONF
OBJECT-TYPE, Integer32, enterprises, MODULE-IDENTITY
FROM SNMPv2-SMI;
synologyService MODULE-IDENTITY
LAST-UPDATED "201605270000Z"
ORGANIZATION "www.synology.com"
CONTACT-INFO
"Synology Inc.
Email: snmp@synology.com"
DESCRIPTION "List number of users using each service in DS"
REVISION "201605270000Z"
DESCRIPTION "First draft."
::= { synology 6 }
synology OBJECT IDENTIFIER
::= { enterprises 6574 }
serviceTable OBJECT-TYPE
SYNTAX SEQUENCE OF ServiceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "Table of Services data."
::= { synologyService 1 }
serviceEntry OBJECT-TYPE
SYNTAX ServiceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "An entry containing Service information"
INDEX { serviceInfoIndex }
::= { serviceTable 1 }
ServiceEntry ::= SEQUENCE {
serviceInfoIndex Integer32,
serviceName OCTET STRING,
serviceUsers Integer32
}
serviceInfoIndex OBJECT-TYPE
SYNTAX Integer32(0..2147483647)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "Service info index"
::= { serviceEntry 1 }
serviceName OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Service name"
::= { serviceEntry 2 }
serviceUsers OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Number of users using this service"
::= { serviceEntry 3 }
synologyServiceConformance OBJECT IDENTIFIER ::= { synologyService 2 }
synologyServiceCompliances OBJECT IDENTIFIER ::= { synologyServiceConformance 1 }
synologyServiceGroups OBJECT IDENTIFIER ::= { synologyServiceConformance 2 }
synologyServiceCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for service information."
MODULE -- this module
MANDATORY-GROUPS { synologyServiceGroup }
::= { synologyServiceCompliances 1 }
synologyServiceGroup OBJECT-GROUP
OBJECTS { serviceName,
serviceUsers }
STATUS current
DESCRIPTION
"A collection of objects providing basic information
of an synology service entity."
::= { synologyServiceGroups 1 }
END

@ -0,0 +1,141 @@
SYNOLOGY-SHA-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-COMPLIANCE,
OBJECT-GROUP
FROM SNMPv2-CONF
MODULE-IDENTITY,
OBJECT-TYPE,
Unsigned32,
Integer32,
enterprises
FROM SNMPv2-SMI
TEXTUAL-CONVENTION,
TruthValue
FROM SNMPv2-TC;
synologyHA MODULE-IDENTITY
LAST-UPDATED "201807250000Z"
ORGANIZATION "www.synology.com"
CONTACT-INFO
"Synology Inc.
Email: snmp@synology.com"
DESCRIPTION "Status of Synology High-Availability"
REVISION "201807250000Z"
DESCRIPTION "First revision"
::= { synology 106 }
synology OBJECT IDENTIFIER
::= { enterprises 6574 }
HostName ::= TEXTUAL-CONVENTION
DISPLAY-HINT "255a"
STATUS current
DESCRIPTION "Host name"
SYNTAX OCTET STRING (SIZE(0..256))
ClusterStatusType ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"This TC enumerates cluster status."
SYNTAX INTEGER {
normal(0),
warning(1),
critical(2),
upgrading(3),
processing(4)
}
HeartbeatStatusType ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"This TC enumerates heartbeat status."
SYNTAX INTEGER {
normal(0),
abnormal(1),
disconnected(2),
empty(3)
}
activeNodeName OBJECT-TYPE
SYNTAX HostName
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Hostname of node providing services"
::= { synologyHA 1 }
passiveNodeName OBJECT-TYPE
SYNTAX HostName
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Hostname of node not providing services"
::= { synologyHA 2 }
clusterAutoFailover OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Whether cluster can launch failover"
::= { synologyHA 3 }
clusterName OBJECT-TYPE
SYNTAX HostName
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Hostname of node providing services"
::= { synologyHA 4 }
clusterStatus OBJECT-TYPE
SYNTAX ClusterStatusType
MAX-ACCESS read-only
STATUS current
DESCRIPTION "One of critical, upgrading, processing, warning, normal"
::= { synologyHA 5 }
heartbeatStatus OBJECT-TYPE
SYNTAX HeartbeatStatusType
MAX-ACCESS read-only
STATUS current
DESCRIPTION "One of empty, disconnected, normal, abnormal"
::= { synologyHA 6 }
heartbeatTxRate OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Transfer speed of heartbeat in kilo-byte-per-second"
::= { synologyHA 7 }
heartbeatLatency OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Heartbeat latency in microseconds"
::= { synologyHA 8 }
synologyHAConformance OBJECT IDENTIFIER ::= { synologyHA 9 }
synologyHACompliances OBJECT IDENTIFIER ::= { synologyHAConformance 1 }
synologyHAGroups OBJECT IDENTIFIER ::= { synologyHAConformance 2 }
synologyHACompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION "The compliance statement for SHA information."
MODULE -- this module
MANDATORY-GROUPS { synologyHAGroup }
::= { synologyHACompliances 1 }
synologyHAGroup OBJECT-GROUP
OBJECTS {
activeNodeName,
passiveNodeName,
clusterAutoFailover,
clusterName,
clusterStatus,
heartbeatStatus,
heartbeatTxRate,
heartbeatLatency
}
STATUS current
DESCRIPTION "A collection of objects providing basic information of an synology High-availability cluster."
::= { synologyHAGroups 1 }
END

@ -0,0 +1,141 @@
SYNOLOGY-SMART-MIB DEFINITIONS ::= BEGIN
IMPORTS
OBJECT-GROUP, MODULE-COMPLIANCE
FROM SNMPv2-CONF
OBJECT-TYPE, Integer32, enterprises, MODULE-IDENTITY
FROM SNMPv2-SMI;
synologyDiskSMART MODULE-IDENTITY
LAST-UPDATED "201605050000Z"
ORGANIZATION "www.synology.com"
CONTACT-INFO
"Synology Inc.
Email: snmp@synology.com"
DESCRIPTION "Characteristics of the disk SMART information"
REVISION "201605050000Z"
DESCRIPTION "First draft."
::= { synology 5 }
synology OBJECT IDENTIFIER
::= { enterprises 6574 }
diskSMARTTable OBJECT-TYPE
SYNTAX SEQUENCE OF DiskSMARTEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "Table of disk SMART data."
::= { synologyDiskSMART 1 }
diskSMARTEntry OBJECT-TYPE
SYNTAX DiskSMARTEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "An entry containing a disk SMART information"
INDEX { diskSMARTInfoIndex }
::= { diskSMARTTable 1 }
DiskSMARTEntry ::= SEQUENCE {
diskSMARTInfoIndex Integer32,
diskSMARTInfoDevName OCTET STRING,
diskSMARTAttrName OCTET STRING,
diskSMARTAttrId Integer32,
diskSMARTAttrCurrent Integer32,
diskSMARTAttrWorst Integer32,
diskSMARTAttrThreshold Integer32,
diskSMARTAttrRaw Integer32,
diskSMARTAttrStatus OCTET STRING
}
diskSMARTInfoIndex OBJECT-TYPE
SYNTAX Integer32(0..2147483647)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "SMART info index"
::= { diskSMARTEntry 1 }
diskSMARTInfoDevName OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION "SMART info device name"
::= { diskSMARTEntry 2 }
diskSMARTAttrName OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION "SMART attribute name"
::= { diskSMARTEntry 3 }
diskSMARTAttrId OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "SMART attribute ID"
::= { diskSMARTEntry 4 }
diskSMARTAttrCurrent OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "SMART attribute current value"
::= { diskSMARTEntry 5 }
diskSMARTAttrWorst OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "SMART attribute worst value"
::= { diskSMARTEntry 6 }
diskSMARTAttrThreshold OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "SMART attribute threshold value"
::= { diskSMARTEntry 7 }
diskSMARTAttrRaw OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "SMART attribute raw value"
::= { diskSMARTEntry 8 }
diskSMARTAttrStatus OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION "SMART attribute status"
::= { diskSMARTEntry 9 }
synologyDiskSMARTConformance OBJECT IDENTIFIER ::= { synologyDiskSMART 2 }
synologyDiskSMARTCompliances OBJECT IDENTIFIER ::= { synologyDiskSMARTConformance 1 }
synologyDiskSMARTGroups OBJECT IDENTIFIER ::= { synologyDiskSMARTConformance 2 }
synologyDiskSMARTCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for storage IO entities which
implement the SYNOLOGY SMART MIB."
MODULE -- this module
MANDATORY-GROUPS { synologyDiskSMARTGroup }
::= { synologyDiskSMARTCompliances 1 }
synologyDiskSMARTGroup OBJECT-GROUP
OBJECTS { diskSMARTInfoDevName,
diskSMARTAttrName,
diskSMARTAttrId,
diskSMARTAttrCurrent,
diskSMARTAttrWorst,
diskSMARTAttrThreshold,
diskSMARTAttrRaw,
diskSMARTAttrStatus }
STATUS current
DESCRIPTION
"A collection of objects providing basic information
of an synology disk SMART entity."
::= { synologyDiskSMARTGroups 1 }
END

@ -0,0 +1,199 @@
SYNOLOGY-SPACEIO-MIB DEFINITIONS ::= BEGIN
IMPORTS
DisplayString
FROM SNMPv2-TC
OBJECT-GROUP, MODULE-COMPLIANCE
FROM SNMPv2-CONF
OBJECT-TYPE, Integer32, Counter32, Counter64, enterprises, MODULE-IDENTITY
FROM SNMPv2-SMI;
spaceIO MODULE-IDENTITY
LAST-UPDATED "201309110000Z"
ORGANIZATION "www.synology.com"
CONTACT-INFO
"Synology Inc.
Email: snmp@synology.com"
DESCRIPTION
"Characteristics of the space io information"
REVISION "201309110000Z"
DESCRIPTION
"Second draft."
::= { synology 102 }
synology OBJECT IDENTIFIER
::= { enterprises 6574 }
spaceIOTable OBJECT-TYPE
SYNTAX SEQUENCE OF SpaceIOEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Table of IO devices and how much data they have read/written."
::= { spaceIO 1 }
spaceIOEntry OBJECT-TYPE
SYNTAX SpaceIOEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry containing a device and its statistics."
INDEX { spaceIOIndex }
::= { spaceIOTable 1 }
SpaceIOEntry ::= SEQUENCE {
spaceIOIndex Integer32,
spaceIODevice DisplayString,
spaceIONRead Counter32,
spaceIONWritten Counter32,
spaceIOReads Counter32,
spaceIOWrites Counter32,
spaceIOLA Integer32,
spaceIOLA1 Integer32,
spaceIOLA5 Integer32,
spaceIOLA15 Integer32,
spaceIONReadX Counter64,
spaceIONWrittenX Counter64,
spaceUUID DisplayString
}
spaceIOIndex OBJECT-TYPE
SYNTAX Integer32 (0..65535)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Reference index for each observed device."
::= { spaceIOEntry 1 }
spaceIODevice OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The name of the device we are counting/checking."
::= { spaceIOEntry 2 }
spaceIONRead OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of bytes read from this device since boot."
::= { spaceIOEntry 3 }
spaceIONWritten OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of bytes written to this device since boot."
::= { spaceIOEntry 4 }
spaceIOReads OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of read accesses from this device since boot."
::= { spaceIOEntry 5 }
spaceIOWrites OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of write accesses to this device since boot."
::= { spaceIOEntry 6 }
spaceIOLA OBJECT-TYPE
SYNTAX Integer32 (0..100)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The load of disk (%)"
::= { spaceIOEntry 8 }
spaceIOLA1 OBJECT-TYPE
SYNTAX Integer32 (0..100)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The 1 minute average load of disk (%)"
::= { spaceIOEntry 9 }
spaceIOLA5 OBJECT-TYPE
SYNTAX Integer32 (0..100)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The 5 minute average load of disk (%)"
::= { spaceIOEntry 10 }
spaceIOLA15 OBJECT-TYPE
SYNTAX Integer32 (0..100)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The 15 minute average load of disk (%)"
::= { spaceIOEntry 11 }
spaceIONReadX OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of bytes read from this device since boot."
::= { spaceIOEntry 12 }
spaceIONWrittenX OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of bytes written to this device since boot."
::= { spaceIOEntry 13 }
spaceUUID OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The uuid of space."
::= { spaceIOEntry 14 }
spaceIOConformance OBJECT IDENTIFIER ::= { spaceIO 2 }
spaceIOCompliances OBJECT IDENTIFIER ::= { spaceIOConformance 1 }
spaceIOGroups OBJECT IDENTIFIER ::= { spaceIOConformance 2 }
spaceIOCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for space IO entities which
implement the SYNOLOGY SPACEIO MIB."
MODULE -- this module
MANDATORY-GROUPS { spaceIOGroup }
::= { spaceIOCompliances 1 }
spaceIOGroup OBJECT-GROUP
OBJECTS { spaceIODevice,
spaceIONRead,
spaceIONWritten,
spaceIOReads,
spaceIOWrites,
spaceIOLA,
spaceIOLA1,
spaceIOLA5,
spaceIOLA15,
spaceIONReadX,
spaceIONWrittenX,
spaceUUID}
STATUS current
DESCRIPTION
"A collection of objects providing basic information
of an synology space io entity."
::= { spaceIOGroups 1 }
END

@ -0,0 +1,197 @@
SYNOLOGY-STORAGEIO-MIB DEFINITIONS ::= BEGIN
IMPORTS
DisplayString
FROM SNMPv2-TC
OBJECT-GROUP, MODULE-COMPLIANCE
FROM SNMPv2-CONF
OBJECT-TYPE, Integer32, Counter32, Counter64, enterprises, MODULE-IDENTITY
FROM SNMPv2-SMI;
storageIO MODULE-IDENTITY
LAST-UPDATED "201309110000Z"
ORGANIZATION "www.synology.com"
CONTACT-INFO
"Synology Inc.
Email: snmp@synology.com"
DESCRIPTION
"Characteristics of the storage io information"
REVISION "201309110000Z"
DESCRIPTION
"Second draft."
::= { synology 101 }
synology OBJECT IDENTIFIER
::= { enterprises 6574 }
storageIOTable OBJECT-TYPE
SYNTAX SEQUENCE OF StorageIOEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Table of IO devices and how much data they have read/written."
::= { storageIO 1 }
storageIOEntry OBJECT-TYPE
SYNTAX StorageIOEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry containing a device and its statistics."
INDEX { storageIOIndex }
::= { storageIOTable 1 }
StorageIOEntry ::= SEQUENCE {
storageIOIndex Integer32,
storageIODevice DisplayString,
storageIONRead Counter32,
storageIONWritten Counter32,
storageIOReads Counter32,
storageIOWrites Counter32,
storageIOLA Integer32,
storageIOLA1 Integer32,
storageIOLA5 Integer32,
storageIOLA15 Integer32,
storageIONReadX Counter64,
storageIONWrittenX Counter64,
storageIODeviceSerial DisplayString
}
storageIOIndex OBJECT-TYPE
SYNTAX Integer32 (0..65535)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Reference index for each observed device."
::= { storageIOEntry 1 }
storageIODevice OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The name of the device we are counting/checking."
::= { storageIOEntry 2 }
storageIONRead OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of bytes read from this device since boot."
::= { storageIOEntry 3 }
storageIONWritten OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of bytes written to this device since boot."
::= { storageIOEntry 4 }
storageIOReads OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of read accesses from this device since boot."
::= { storageIOEntry 5 }
storageIOWrites OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of write accesses to this device since boot."
::= { storageIOEntry 6 }
storageIOLA OBJECT-TYPE
SYNTAX Integer32 (0..100)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The load of disk (%)"
::= { storageIOEntry 8 }
storageIOLA1 OBJECT-TYPE
SYNTAX Integer32 (0..100)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The 1 minute average load of disk (%)"
::= { storageIOEntry 9 }
storageIOLA5 OBJECT-TYPE
SYNTAX Integer32 (0..100)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The 5 minute average load of disk (%)"
::= { storageIOEntry 10 }
storageIOLA15 OBJECT-TYPE
SYNTAX Integer32 (0..100)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The 15 minute average load of disk (%)"
::= { storageIOEntry 11 }
storageIONReadX OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of bytes read from this device since boot."
::= { storageIOEntry 12 }
storageIONWrittenX OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of bytes written to this device since boot."
::= { storageIOEntry 13 }
storageIODeviceSerial OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The name of the device we are counting/checking."
::= { storageIOEntry 14 }
storageIOConformance OBJECT IDENTIFIER ::= { storageIO 2 }
storageIOCompliances OBJECT IDENTIFIER ::= { storageIOConformance 1 }
storageIOGroups OBJECT IDENTIFIER ::= { storageIOConformance 2 }
storageIOCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for storage IO entities which
implement the SYNOLOGY STORAGEIO MIB."
MODULE -- this module
MANDATORY-GROUPS { storageIOGroup }
::= { storageIOCompliances 1 }
storageIOGroup OBJECT-GROUP
OBJECTS { storageIODevice,
storageIONRead,
storageIONWritten,
storageIOReads,
storageIOWrites,
storageIOLA,
storageIOLA1,
storageIOLA5,
storageIOLA15,
storageIONReadX,
storageIONWrittenX,
storageIODeviceSerial}
STATUS current
DESCRIPTION
"A collection of objects providing basic information
of an synology storage io entity."
::= { storageIOGroups 1 }
END

@ -0,0 +1,168 @@
SYNOLOGY-SYSTEM-MIB DEFINITIONS ::= BEGIN
IMPORTS
OBJECT-GROUP, MODULE-COMPLIANCE
FROM SNMPv2-CONF
enterprises, MODULE-IDENTITY, OBJECT-TYPE, Integer32
FROM SNMPv2-SMI;
synoSystem MODULE-IDENTITY
LAST-UPDATED "201309110000Z"
ORGANIZATION "www.synology.com"
CONTACT-INFO
"Synology Inc.
Email: snmp@synology.com"
DESCRIPTION
"Characteristics of the system information"
REVISION "201309110000Z"
DESCRIPTION
"Second draft."
::= { synology 1 }
synology OBJECT IDENTIFIER
::= { enterprises 6574 }
systemStatus OBJECT-TYPE
SYNTAX Integer32(1..2)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Synology system status
Each meanings of status represented describe below.
Normal(1): System functionals normally.
Failed(2): Volume has crashed.
"
::= { synoSystem 1 }
temperature OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Synology system temperature
The temperature of Disk Station uses Celsius degree.
"
::= { synoSystem 2 }
powerStatus OBJECT-TYPE
SYNTAX Integer32(1..2)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Synology power status
Each meanings of status represented describe below.
Normal(1): All power supplies functional normally.
Failed(2): One of power supply has failed.
"
::= { synoSystem 3 }
fan OBJECT IDENTIFIER ::= { synoSystem 4 }
systemFanStatus OBJECT-TYPE
SYNTAX Integer32(1..2)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Synology system fan status
Each meanings of status represented describe below.
Normal(1): All Internal fans functional normally.
Failed(2): One of internal fan stopped.
"
::= { fan 1 }
cpuFanStatus OBJECT-TYPE
SYNTAX Integer32(1..2)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Synology cpu fan status
Each meanings of status represented describe below.
Normal(1): All CPU fans functional normally.
Failed(2): One of CPU fan stopped.
"
::= { fan 2 }
dsmInfo OBJECT IDENTIFIER ::= { synoSystem 5 }
modelName OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The Model name of this NAS"
::= { dsmInfo 1 }
serialNumber OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The serial number of this NAS"
::= { dsmInfo 2 }
version OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The version of this DSM"
::= { dsmInfo 3 }
upgradeAvailable OBJECT-TYPE
SYNTAX Integer32(1..5)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This oid is for checking whether there is a latest DSM can be upgraded.
Available(1): There is version ready for download.
Unavailable(2): The DSM is latest version.
Connecting(3): Checking for the latest DSM.
Disconnected(4): Failed to connect to server.
Others(5): If DSM is upgrading or downloading, the status will show others."
::= { dsmInfo 4 }
controllerNumber OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Synology system controller number
Controller A(0)
Controller B(1)
"
::= { synoSystem 6 }
systemConformance OBJECT IDENTIFIER ::= { synoSystem 7 }
systemCompliances OBJECT IDENTIFIER ::= { systemConformance 1 }
systemGroups OBJECT IDENTIFIER ::= { systemConformance 2 }
systemCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for synoSystem entities which
implement the SYNOLOGY SYSTEM MIB."
MODULE -- this module
MANDATORY-GROUPS { systemGroup }
::= { systemCompliances 1 }
systemGroup OBJECT-GROUP
OBJECTS { systemStatus,
temperature,
powerStatus,
systemFanStatus,
cpuFanStatus,
modelName,
serialNumber,
version,
upgradeAvailable,
controllerNumber}
STATUS current
DESCRIPTION
"A collection of objects providing basic information
of an synology system entity."
::= { systemGroups 1 }
END

File diff suppressed because it is too large Load Diff

@ -300,3 +300,6 @@ squid_ufdb_guests_blocked_categories:
squid_ufdb_extra_blocked_categories: []
squid_ufdb_blocked_categories: "{{ squid_ufdb_base_blocked_categories + squid_ufdb_extra_blocked_categories }}"
# If you need to write a custom configuration snippet
squid_custom_config: |
# No custom configuration defined

@ -92,3 +92,5 @@ refresh_pattern -i windows.com/.*\.(cab|exe|ms[i|u|f]|[ap]sf|wm[v|a]|dat|zip)
# Default refresh pattern
refresh_pattern . 0 20% 4320
{{ squid_custom_config }}

Loading…
Cancel
Save