-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathMY-SYSTEM-MIB.mib
246 lines (215 loc) · 7.74 KB
/
MY-SYSTEM-MIB.mib
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
-- *****************************************************************
-- MY-SYSTEM-MIB.mib: My System MIB file
--
-- $Copyright$
--
-- *****************************************************************
--
MY-SYSTEM-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
NOTIFICATION-TYPE,
Integer32,
Counter32
FROM SNMPv2-SMI
TruthValue,
DisplayString,
RowStatus
FROM SNMPv2-TC
MODULE-COMPLIANCE,
OBJECT-GROUP,
NOTIFICATION-GROUP
FROM SNMPv2-CONF
myMgmt
FROM MY-SMI;
mySystemMIB MODULE-IDENTITY
LAST-UPDATED "200203200000Z"
ORGANIZATION "$Company$"
CONTACT-INFO
"
Tel: $Telephone$
E-mail: $E-mail$"
DESCRIPTION
"This module defines my system mibs."
REVISION "200203200000Z"
DESCRIPTION
"Initial version of this MIB module."
::= { myMgmt 1}
mySystemMIBObjects OBJECT IDENTIFIER ::= { mySystemMIB 1 }
mySystemHwVersion OBJECT-TYPE
SYNTAX DisplayString(SIZE (1..32))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Return the string of the Revision number of hardware resides
on the FastSwitch."
::= { mySystemMIBObjects 1 }
mySystemSwVersion OBJECT-TYPE
SYNTAX DisplayString(SIZE (1..32))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Return the string of the Revision number of software resides
on the FastSwitch."
::= { mySystemMIBObjects 2 }
mySystemBootVersion OBJECT-TYPE
SYNTAX DisplayString(SIZE (1..32))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Return the string of the Revision number of BOOT software resides
on the FastSwitch."
::= { mySystemMIBObjects 3 }
mySystemSysCtrlVersion OBJECT-TYPE
SYNTAX DisplayString(SIZE (1..32))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Return the string of the Revision number of CTRL software resides
on the FastSwitch."
::= { mySystemMIBObjects 4 }
mySystemParametersSave OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Save all parameters changed in configuration by setting
this object to any value but 0, set its value to 0 will
cause no action of agent, otherwise all changes of
prarameters will be saved for retrive when system is
reset, if parameter is changed but not saved all changes
will come to their original value when system down and up
again, when query always return value 0."
::= { mySystemMIBObjects 5 }
mySystemOutBandRate OBJECT-TYPE
SYNTAX INTEGER {
baud9600 (1),
baud19200 (2),
baud38400 (3),
baud57600 (4)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Determine the console(OutBand) baud rate :
9600 - 1,19200 - 2, 38300 - 3, 57600 - 4 "
::= { mySystemMIBObjects 6 }
mySystemReset OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This Object allow perform soft reset of system by setting its
value to none zero. if a soft resetis performed, after this
having completed a warm start trap will send to declare the state
and when queried will always return 0."
::= { mySystemMIBObjects 7 }
mySwitchLayer OBJECT-TYPE
SYNTAX INTEGER {
layer2 (1), -- Layer 2 Switch
layer3 (2) -- Layer 3 Switch
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Which layer's device the switch in system "
::= { mySystemMIBObjects 8 }
mySystemHwPower OBJECT-TYPE
SYNTAX INTEGER{
rpsNoLink(1),
rpsLinkAndNoPower(2),
rpsLinkAndReadyForPower(3),
rpsLinkAndPower(4)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The state of power."
::= { mySystemMIBObjects 9 }
mySystemHwFan OBJECT-TYPE
SYNTAX INTEGER{
work(1),
stop(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The state of fan."
::= { mySystemMIBObjects 10 }
--The mySystemOutBandTimeout is obsoleted after 2007.9
mySystemOutBandTimeout OBJECT-TYPE
SYNTAX Integer32(0..3600)
UNITS "seconds"
MAX-ACCESS read-write
STATUS obsolete
DESCRIPTION
"The timeout of console.0 indicate that timeout function is disabled."
::= { mySystemMIBObjects 11 }
--The mySystemTelnetTimeout is obsoleted after 2007.9
mySystemTelnetTimeout OBJECT-TYPE
SYNTAX Integer32(0..3600)
UNITS "seconds"
MAX-ACCESS read-write
STATUS obsolete
DESCRIPTION
"The timeout of telnet.0 indicate that timeout function is disabled."
::= { mySystemMIBObjects 12 }
mySystemMIBTraps OBJECT IDENTIFIER ::= { mySystemMIB 2 }
mySystemHardChangeDesc OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"The description of hard change"
::= { mySystemMIBTraps 1 }
mySystemHardChangeDetected NOTIFICATION-TYPE
OBJECTS {mySystemHardChangeDesc}
STATUS current
DESCRIPTION
"System hardware has changed include number of devices or number of modules
or the place or type of the module is change."
::= { mySystemMIBTraps 2 }
mySystemPowerStateChange NOTIFICATION-TYPE
OBJECTS {mySystemHwPower}
STATUS current
DESCRIPTION
"while the state of power changed, then this trap will be sent."
::= { mySystemMIBTraps 3 }
mySystemFanStateChange NOTIFICATION-TYPE
OBJECTS {mySystemHwFan}
STATUS current
DESCRIPTION
"while the state of fan changed, then this trap will be sent."
::= { mySystemMIBTraps 4 }
mySystemMIBConformance OBJECT IDENTIFIER ::= { mySystemMIB 3 }
mySystemMIBCompliances OBJECT IDENTIFIER ::= { mySystemMIBConformance 1 }
mySystemMIBGroups OBJECT IDENTIFIER ::= { mySystemMIBConformance 2 }
-- compliance statements
mySystemMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement
the My System MIB"
MODULE -- this module
MANDATORY-GROUPS { mySystemMIBGroup
}
::= { mySystemMIBCompliances 1 }
-- units of conformance
mySystemMIBGroup OBJECT-GROUP
OBJECTS {
mySystemHwVersion,
mySystemSwVersion,
mySystemBootVersion,
mySystemSysCtrlVersion,
mySystemParametersSave,
mySystemReset,
mySystemOutBandRate,
mySwitchLayer
}
STATUS current
DESCRIPTION
"A collection of objects providing system information and
opertion to a My agent."
::= { mySystemMIBGroups 1 }
END