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
|
-- =================================================================
-- Copyright (C) 2017 by HUAWEI TECHNOLOGIES. All rights reserved.
--
-- Description: task mib
-- Reference: huawei enterprise mib
-- Version: V2.02
-- History:
-- initial version 2003-07-31
-- =================================================================
HUAWEI-TASK-MIB DEFINITIONS ::= BEGIN
IMPORTS
hwDatacomm
FROM HUAWEI-MIB
OBJECT-GROUP, MODULE-COMPLIANCE
FROM SNMPv2-CONF
Gauge32, OBJECT-TYPE, MODULE-IDENTITY, Integer32
FROM SNMPv2-SMI
DisplayString, TEXTUAL-CONVENTION
FROM SNMPv2-TC;
hwTask MODULE-IDENTITY
LAST-UPDATED "201708170000Z" -- 08 17, 2017 at 00:00 GMT
ORGANIZATION
"Huawei Technologies Co.,Ltd."
CONTACT-INFO
"Huawei Industrial Base
Bantian, Longgang
Shenzhen 518129
People's Republic of China
Website: http://www.huawei.com
Email: support@huawei.com
"
DESCRIPTION
"The MIB module describes active system tasks, including the status
and the general information of a task."
REVISION "201708170000Z" -- 08 17, 2017 at 00:00 GMT
DESCRIPTION
"V2.02, Modify hwKeyTaskIndex."
REVISION "201409250000Z" -- 09 25, 2014 at 00:00 GMT
DESCRIPTION
"V2.01, modify hwKeyTaskIndex, hwKeyTaskID and hwKeyTaskName."
REVISION "200307310000Z" -- 07 31, 2002 at 00:00 GMT
DESCRIPTION
"Initial version of this MIB module."
::= { hwDatacomm 27 }
--
-- Textual conventions
--
HwTaskStatusType ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"The status of the specified task. The parameter have seventeen different value.
Normally a task may be status of the following:
Normalready(0): task is ready,
Block(1): task is blocked,
Slept(2): task is slept,
Suspend(4): task is suspended blocked,
BlockAndSuspend(5): task is suspended blocked,
SleptAndSuspend(6): task is slept and suspended,
running(8): task is running,
Queueblock(17): task is blocked on receiving queue messages,
QueueblockAndSuspend(21): task is blocked on receiving queue messages and suspended,
Semaphoreblock(33): task is blocked on taking a semaphore,
SemaphoreblockAandSuspend(37): task is blocked on taking a semaphore and suspended,
Eventblock(65): task is blocked on receiving events,
EventblockAndSuspend(69): task is blocked on receiving events and suspended,
prioblock(128): task is priblock,
Preemptready(256): task is preempt ready,
Writequeueblock(513): task is blocked on sending queue messages,
WritequeueblockAndSuspend(517): task is blocked on sending queue messages and suspended."
SYNTAX INTEGER
{
normalready(0),
block(1),
sleep(2),
suspend(4),
blockAndSuspend(5),
sleptAndSuspend(6),
running(8),
queueblock(17),
queueblockAndSuspend(21),
semaphoreblock(33),
semaphoreblockAandSuspend(37),
eventblock(65),
eventblockAndSuspend(69),
prioblock(128),
preemptready(256),
writequeueblock(513),
writequeueblockAndSuspend(517)
}
--
-- Node definitions
--
-- 1.3.6.1.4.1.2011.5.109.1
hwTaskObjects OBJECT IDENTIFIER ::= { hwTask 1 }
-- huawei task Common Table
-- 1.3.6.1.4.1.2011.5.109.1.1
hwTaskTable OBJECT-TYPE
SYNTAX SEQUENCE OF HwTaskEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table of generic information on all active
tasks on this device."
::= { hwTaskObjects 1 }
-- 1.3.6.1.4.1.2011.5.109.1.1.1
hwTaskEntry OBJECT-TYPE
SYNTAX HwTaskEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Generic information about active tasks on this
device. Entries in this table will change when tasks are
created and destroyed on the device."
INDEX { hwTaskIndex, hwTaskID }
::= { hwTaskTable 1 }
HwTaskEntry ::=
SEQUENCE {
hwTaskIndex
Gauge32,
hwTaskID
Gauge32,
hwTaskName
DisplayString,
hwTaskStatus
HwTaskStatusType,
hwTaskCpuUsage
Gauge32,
hwTaskuSecs
Gauge32
}
-- 1.3.6.1.4.1.2011.5.109.1.1.1.1
hwTaskIndex OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The object indicates some physical information, such as slot number of VIU
or RSU board plugged in. "
::= { hwTaskEntry 1 }
-- 1.3.6.1.4.1.2011.5.109.1.1.1.2
hwTaskID OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object contains the task ID. "
::= { hwTaskEntry 2 }
-- 1.3.6.1.4.1.2011.5.109.1.1.1.3
hwTaskName OBJECT-TYPE
SYNTAX DisplayString (SIZE (1..255))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The name associated with this task. If the name is
longer than 255 characters, it will be truncated to the first
255 characters."
::= { hwTaskEntry 3 }
-- 1.3.6.1.4.1.2011.5.109.1.1.1.4
hwTaskStatus OBJECT-TYPE
SYNTAX HwTaskStatusType
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The status of the specified task. The parameter have seventeen different value.
Normally a task may be status of the following:
normalready(0): task is ready,
block(1): task is blocked,
slept(2): task is slept,
suspend(4): task is suspended blocked,
blockAndSuspend(5): task is suspended blocked,
sleepAndSuspend(6): task is slept and suspended,
running(8): task is running,
queueblock(17): task is blocked on receiving queue messages,
queueblockAndSuspend(21): task is blocked on receiving queue messages and suspended,
semaphoreblock(33): task is blocked on taking a semaphore,
semaphoreblockAandSuspend(37): task is blocked on taking a semaphore and suspended,
eventblock(65): task is blocked on receiving events,
eventblockAndSuspend(69): task is blocked on receiving events and suspended,
prioblock(128): task is priblock,
preemptready(256): task is preempt ready,
writequeueblock(513): task is blocked on sending queue messages,
writequeueblockAndSuspend(517): task is blocked on sending queue messages and suspended."
::= { hwTaskEntry 4 }
-- 1.3.6.1.4.1.2011.5.109.1.1.1.5
hwTaskCpuUsage OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Cpu usage information of this task(0%-100%).If a task's cpu usage is more than 90,
it means that the task is very busy."
::= { hwTaskEntry 5 }
-- 1.3.6.1.4.1.2011.5.109.1.1.1.6
hwTaskuSecs OBJECT-TYPE
SYNTAX Gauge32
UNITS "millseconds"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Average elapsed CPU time in millseconds when the task was active."
::= { hwTaskEntry 6 }
hwKeyTaskTable OBJECT-TYPE
SYNTAX SEQUENCE OF HwKeyTaskEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table of generic information on all active
tasks on this device."
::= { hwTaskObjects 2 }
hwKeyTaskEntry OBJECT-TYPE
SYNTAX HwKeyTaskEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Generic information about active tasks on this
device. Entries in this table will change when tasks are
created and destroyed on the device."
INDEX { hwKeyTaskIndex, hwKeyTaskID }
::= { hwKeyTaskTable 1 }
HwKeyTaskEntry ::=
SEQUENCE {
hwKeyTaskIndex
Integer32,
hwKeyTaskID
Integer32,
hwKeyTaskName
DisplayString,
hwKeyTaskCpuUsage
Integer32
}
hwKeyTaskIndex OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Specifies the slot ID of the task. Currently, the MIB provides information only about the main control board. The value of TaskIndex is 0 in centralized system mode; the value of TaskIndex is the slot ID of the main control board in distributed system mode. "
::= { hwKeyTaskEntry 1 }
hwKeyTaskID OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object contains the task ID. "
::= { hwKeyTaskEntry 2 }
hwKeyTaskName OBJECT-TYPE
SYNTAX DisplayString (SIZE (1..255))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The name associated with this task. If the name is
longer than 255 characters, it will be truncated to the first
255 characters."
::= { hwKeyTaskEntry 3 }
hwKeyTaskCpuUsage OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Cpu usage information of this task(0%-100%).If a task's cpu usage is more than 90,
it means that the task is very busy."
::= { hwKeyTaskEntry 4 }
-- 1.3.6.1.4.1.2011.5.109.2
hwTaskNotifications OBJECT IDENTIFIER ::= { hwTask 2 }
-- (no notifications are currently defined)
-- conformance information
-- 1.3.6.1.4.1.2011.5.109.3
hwTaskConformance OBJECT IDENTIFIER ::= { hwTask 3 }
-- 1.3.6.1.4.1.2011.5.109.3.1
hwTaskCompliances OBJECT IDENTIFIER ::= { hwTaskConformance 1 }
-- this module
-- 1.3.6.1.4.1.2011.5.109.3.1.1
hwTaskCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement
the huawei Task MIB,Write access is not required."
MODULE -- this module
MANDATORY-GROUPS { hwTaskGroup }
::= { hwTaskCompliances 1 }
-- 1.3.6.1.4.1.2011.5.109.3.2
hwTaskGroups OBJECT IDENTIFIER ::= { hwTaskConformance 2 }
-- units of conformance
-- 1.3.6.1.4.1.2011.5.109.3.2.1
hwTaskGroup OBJECT-GROUP
OBJECTS { hwTaskName, hwTaskStatus, hwTaskCpuUsage, hwTaskuSecs }
STATUS current
DESCRIPTION
"A collection of objects providing common task
monitoring information. This group is mandatory for
all huawei devices."
::= { hwTaskGroups 1 }
hwKeyTaskGroup OBJECT-GROUP
OBJECTS { hwKeyTaskName, hwKeyTaskCpuUsage }
STATUS current
DESCRIPTION
"A collection of objects providing common task
monitoring information. This group is mandatory for
all huawei devices."
::= { hwTaskGroups 2 }
END
|