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
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
|
-- *****************************************************************
-- TN-ENTITY-SENSOR-MIB
--
-- Copyright (c) 2011, Transition Networks Inc.
-- All rights reserved.
-- *****************************************************************
--
TN-ENTITY-SENSOR-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
NOTIFICATION-TYPE,
Integer32 FROM SNMPv2-SMI
NOTIFICATION-GROUP FROM SNMPv2-CONF
TEXTUAL-CONVENTION, TimeStamp,
TruthValue FROM SNMPv2-TC
entPhysicalIndex FROM ENTITY-MIB
entPhySensorValue, EntitySensorValue FROM ENTITY-SENSOR-MIB
tnProducts FROM TRANSITION-SMI;
tnEntitySensorMIB MODULE-IDENTITY
LAST-UPDATED "201101080000Z"
ORGANIZATION "Transition Networks, Inc."
CONTACT-INFO
" Transition Networks
Technical Support
10900 Red Circle Drive
Minnetonka, MN 55343 USA
Tel: +1-800-526-9267
E-mail: techsupport@transition.com"
DESCRIPTION
"The mib module for managing all powersupply and fan modules."
REVISION "200901080000Z"
DESCRIPTION
"Initial Revision of this module"
::= { tnProducts 6 }
tnEntitySensorMIBNotifications
OBJECT IDENTIFIER ::= { tnEntitySensorMIB 0 }
tnEntitySensorMIBObjects
OBJECT IDENTIFIER ::= { tnEntitySensorMIB 1 }
tnEntitySensorMIBConformance
OBJECT IDENTIFIER ::= { tnEntitySensorMIB 2 }
-- Textual Conventions
TnSensorThresholdSeverity ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"sensor threshold severity. Valid values are:
other(1) : a severity other than those listed below.
minor(10) : Minor Problem threshold.
major(20) : Major Problem threshold.
critical(30): Critical problem threshold. A system might shut
down the sensor associated FRU automatically if
the sensor value reach the critical problem
threshold."
SYNTAX INTEGER {
other(1),
minor(10),
major(20),
critical(30)
}
TnSensorThresholdRelation ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"sensor threshold relational operator types. valid values are:
lessThan(1): if the sensor value is less than
the threshold value
lessOrEqual(2): if the sensor value is less than or equal to
the threshold value
greaterThan(3): if the sensor value is greater than
the threshold value
greaterOrEqual(4): if the sensor value is greater than or equal
to the threshold value
equalTo(5): if the sensor value is equal to
the threshold value
notEqualTo(6): if the sensor value is not equal to
the threshold value
"
SYNTAX INTEGER {
lessThan(1),
lessOrEqual(2),
greaterThan(3),
greaterOrEqual(4),
equalTo(5),
notEqualTo(6)
}
--
-- MIB variables
--
tnEntSensorValues
OBJECT IDENTIFIER ::= { tnEntitySensorMIBObjects 1 }
tnEntSensorThresholds
OBJECT IDENTIFIER ::= { tnEntitySensorMIBObjects 2 }
tnEntSensorGlobalObjects
OBJECT IDENTIFIER ::= { tnEntitySensorMIBObjects 3 }
--
-- tnEntValueExtTable
--
tnEntSensorExtTable OBJECT-TYPE
SYNTAX SEQUENCE OF TnEntSensorExtEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table is an private extension of the public
ENTITY-SENSOR-MIB entPhySensorTable."
::= { tnEntSensorValues 1 }
tnEntSensorExtEntry OBJECT-TYPE
SYNTAX TnEntSensorExtEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The entries list the unique properties of the
ION Power supply module."
INDEX { entPhysicalIndex }
::= { tnEntSensorExtTable 1 }
TnEntSensorExtEntry ::= SEQUENCE {
tnEntSensorExtRelayInstalled TruthValue,
tnEntSensorExtRelayEnabled TruthValue,
tnEntSensorExtModuleType INTEGER,
tnEntSensorExtOperMode INTEGER
}
tnEntSensorExtRelayInstalled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This variable indicates if the relay contact is installed
on the power supply module or not."
::= { tnEntSensorExtEntry 1 }
tnEntSensorExtRelayEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This variable enables or disables the relay contact if
it is installed (tnEntSensorExtRelayInstalled) in the power supply.
This relay contact is used to trigger an event to the user by attaching
an external indicator."
::= { tnEntSensorExtEntry 2 }
tnEntSensorExtModuleType OBJECT-TYPE
SYNTAX INTEGER { acModule(1), dcModule(2) }
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This variable indicates if the power supply is
AC or DC module."
::= { tnEntSensorExtEntry 3 }
tnEntSensorExtOperMode OBJECT-TYPE
SYNTAX INTEGER { master(1), slave(2) }
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This variable indicates operational mode of the
power supply when redundant modules exists."
::= { tnEntSensorExtEntry 4 }
--
-- tnEntSensorThresholdTable
--
tnEntSensorThresholdTable OBJECT-TYPE
SYNTAX SEQUENCE OF TnEntSensorThresholdEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table lists the threshold severity, relation, and
comparison value, for a sensor listed in the Entity-MIB
EntPhysicalTable."
::= { tnEntSensorThresholds 1 }
tnEntSensorThresholdEntry OBJECT-TYPE
SYNTAX TnEntSensorThresholdEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An tnEntSensorThresholdTable Entry describes the
thresholds for a sensor: the threshold severity,
the threshold value, the relation, and the
evaluation of the threshold.
Only Entities of type sensor(8) are listed in this table.
Only pre-configured thresholds are listed in this table.
Users can create sensor-value monitoring instrumionEnts
in differionEnt ways, such as RMON alarms, Expression-MIB, etc.
Entries are created by the agionEnt at system startup and
FRU insertion. Entries are deleted by the agionEnt at
FRU removal."
INDEX { entPhysicalIndex, tnEntSensorThresholdIndex }
::= { tnEntSensorThresholdTable 1 }
TnEntSensorThresholdEntry ::= SEQUENCE {
tnEntSensorThresholdIndex Integer32,
tnEntSensorThresholdSeverity TnSensorThresholdSeverity,
tnEntSensorThresholdRelation TnSensorThresholdRelation,
tnEntSensorThresholdValue EntitySensorValue,
tnEntSensorThresholdEvaluation TruthValue,
tnEntSensorThresholdNotificationEnable TruthValue
}
tnEntSensorThresholdIndex OBJECT-TYPE
SYNTAX Integer32 (1..99999999)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An index that uniquely identifies an entry
in the tnEntSensorThresholdTable. This index
permits the same sensor to have several
different thresholds."
::= { tnEntSensorThresholdEntry 1 }
tnEntSensorThresholdSeverity OBJECT-TYPE
SYNTAX TnSensorThresholdSeverity
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This variable indicates the severity of this threshold."
::= { tnEntSensorThresholdEntry 2 }
tnEntSensorThresholdRelation OBJECT-TYPE
SYNTAX TnSensorThresholdRelation
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This variable indicates the relation between sensor value
(entSensorValue) and threshold value (tnEntSensorThresholdValue),
required to trigger the alarm. when evaluating the relation,
entSensorValue is on the left of tnEntSensorThresholdRelation,
tnEntSensorThresholdValue is on the right.
in pseudo-code, the evaluation-alarm mechanism is:
...
if (entSensorStatus == ok) then
if (evaluate(entSensorValue, tnEntSensorThresholdRelation,
tnEntSensorThresholdValue))
then
if (tnEntSensorThresholdNotificationEnable == true))
then
raise_alarm(sensor's entPhysicalIndex);
endif
endif
endif
...
"
::= { tnEntSensorThresholdEntry 3 }
tnEntSensorThresholdValue OBJECT-TYPE
SYNTAX EntitySensorValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This variable indicates the value of the threshold.
To correctly display or interpret this variable's value,
you must also know entSensorType, entSensorScale, and
entSensorPrecision.
However, you can directly compare entSensorValue
with the threshold values given in tnEntSensorThresholdTable
without any semantic knowledge.
"
::= { tnEntSensorThresholdEntry 4 }
tnEntSensorThresholdEvaluation OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This variable indicates the result of the most
recent evaluation of the threshold. If the threshold
condition is true, tnEntSensorThresholdEvaluation
is true(1). If the threshold condition is false,
tnEntSensorThresholdEvaluation is false(2).
Thresholds are evaluated at the rate indicated by
entSensorValueUpdateRate.
"
::= { tnEntSensorThresholdEntry 5 }
tnEntSensorThresholdNotificationEnable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This variable controls generation of
tnEntSensorThresholdNotification for this threshold.
When this variable is 'true', generation of
tnEntSensorThresholdNotification is enabled for this
threshold. When this variable is 'false',
generation of tnEntSensorThresholdNotification is
disabled for this threshold.
"
::= { tnEntSensorThresholdEntry 6 }
--
-- Entity Sensor Global Objects
--
tnEntSensorThreshNotifGlobalEnable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This variable enables the generation of
tnEntSensorThresholdNotification globally
on the device. If this object value is
'false', then no tnEntSensorThresholdNotification
will be generated on this device. If this object
value is 'true', then whether a
tnEntSensorThresholdNotification for a threshold will
be generated or not depends on the instance value of
tnEntSensorThresholdNotificationEnable for that
threshold.
"
::= { tnEntSensorGlobalObjects 1}
--
-- notifications
--
tnEntSensorThresholdNotification NOTIFICATION-TYPE
OBJECTS { entPhySensorValue, tnEntSensorThresholdValue, tnEntSensorThresholdSeverity }
STATUS current
DESCRIPTION
"The sensor value crossed the threshold
listed in tnEntSensorThresholdTable.
This notification is generated once each time
the sensor value crosses the threshold.
The agent implementation guarantees prompt, timely
evaluation of threshold and generation of this
notification.
"
::= { tnEntitySensorMIBNotifications 1 }
END
|