1SYNOLOGY-SYSTEM-MIB DEFINITIONS ::= BEGIN
2
3IMPORTS
4	OBJECT-GROUP, MODULE-COMPLIANCE
5				FROM SNMPv2-CONF
6	enterprises, MODULE-IDENTITY, OBJECT-TYPE, Integer32
7				FROM SNMPv2-SMI;
8
9synoSystem MODULE-IDENTITY
10    LAST-UPDATED "201309110000Z"
11    ORGANIZATION "www.synology.com"
12    CONTACT-INFO
13         "postal:   Jay Pan
14          email:    jaypan@synology.com"
15    DESCRIPTION
16        "Characteristics of the system information"
17    REVISION     "201309110000Z"
18    DESCRIPTION
19        "Second draft."
20    ::= { synology 1 }
21
22synology	 OBJECT IDENTIFIER
23	::= { enterprises 6574 }
24
25systemStatus OBJECT-TYPE
26    SYNTAX	  Integer32(1..2)
27    MAX-ACCESS  read-only
28    STATUS	  current
29    DESCRIPTION
30    "Synology system status
31	 Each meanings of status represented describe below.
32	 Normal(1): System functionals normally.
33	 Failed(2): Volume has crashed.
34	"
35    ::= { synoSystem 1 }
36
37temperature OBJECT-TYPE
38    SYNTAX	  Integer32
39    MAX-ACCESS  read-only
40    STATUS	  current
41    DESCRIPTION
42    "Synology system temperature
43	 The temperature of Disk Station uses Celsius degree.
44	"
45    ::= { synoSystem 2 }
46
47powerStatus OBJECT-TYPE
48    SYNTAX	  Integer32(1..2)
49    MAX-ACCESS  read-only
50    STATUS	  current
51    DESCRIPTION
52    "Synology power status
53	 Each meanings of status represented describe below.
54	 Normal(1): All power supplies functional normally.
55	 Failed(2): One of power supply has failed.
56	"
57    ::= { synoSystem 3 }
58
59fan OBJECT IDENTIFIER ::= { synoSystem 4 }
60
61systemFanStatus OBJECT-TYPE
62    SYNTAX	  Integer32(1..2)
63    MAX-ACCESS  read-only
64    STATUS	  current
65    DESCRIPTION
66    "Synology system fan status
67	 Each meanings of status represented describe below.
68	 Normal(1): All Internal fans functional normally.
69	 Failed(2): One of internal fan stopped.
70	"
71    ::= { fan 1 }
72
73
74cpuFanStatus OBJECT-TYPE
75    SYNTAX	  Integer32(1..2)
76    MAX-ACCESS  read-only
77    STATUS	  current
78    DESCRIPTION
79    "Synology cpu fan status
80	 Each meanings of status represented describe below.
81	 Normal(1): All CPU fans functional normally.
82	 Failed(2): One of CPU fan stopped.
83	"
84    ::= { fan 2 }
85
86dsmInfo OBJECT IDENTIFIER ::= { synoSystem 5 }
87
88modelName OBJECT-TYPE
89    SYNTAX	  OCTET STRING
90    MAX-ACCESS  read-only
91    STATUS	  current
92    DESCRIPTION
93    "The Model name of this NAS"
94    ::= { dsmInfo 1 }
95
96serialNumber OBJECT-TYPE
97    SYNTAX	  OCTET STRING
98    MAX-ACCESS  read-only
99    STATUS	  current
100    DESCRIPTION
101    "The serial number of this NAS"
102    ::= { dsmInfo 2 }
103
104version OBJECT-TYPE
105    SYNTAX	  OCTET STRING
106    MAX-ACCESS  read-only
107    STATUS	  current
108    DESCRIPTION
109    "The version of this DSM"
110    ::= { dsmInfo 3 }
111
112upgradeAvailable OBJECT-TYPE
113    SYNTAX    Integer32(1..5)
114    MAX-ACCESS  read-only
115    STATUS	  current
116    DESCRIPTION
117    "This oid is for checking whether there is a latest DSM can be upgraded.
118	 Available(1): There is version ready for download.
119	 Unavailable(2): The DSM is latest version.
120	 Connecting(3): Checking for the latest DSM.
121	 Disconnected(4): Failed to connect to server.
122	 Others(5): If DSM is upgrading or downloading, the status will show others."
123    ::= { dsmInfo 4 }
124
125
126systemConformance OBJECT IDENTIFIER ::= { synoSystem 6 }
127systemCompliances OBJECT IDENTIFIER ::= { systemConformance 1 }
128systemGroups 			OBJECT IDENTIFIER ::= { systemConformance 2 }
129
130systemCompliance MODULE-COMPLIANCE
131    STATUS  current
132    DESCRIPTION
133            "The compliance statement for synoSystem entities which
134            implement the SYNOLOGY SYSTEM MIB."
135    MODULE  -- this module
136        MANDATORY-GROUPS { systemGroup }
137
138    ::= { systemCompliances 1 }
139
140systemGroup OBJECT-GROUP
141    OBJECTS { systemStatus,
142              temperature,
143              powerStatus,
144              systemFanStatus,
145              cpuFanStatus,
146			  modelName,
147			  serialNumber,
148			  version,
149			  upgradeAvailable }
150    STATUS  current
151    DESCRIPTION
152            "A collection of objects providing basic information
153             of an synology system entity."
154    ::= { systemGroups 1 }
155
156END
157