All MIBs › HUAWEI-TASK-MIB › hwTaskStatus
hwTaskStatus
Module: HUAWEI-TASK-MIB
OID (symbolic): HUAWEI-TASK-MIB::hwTaskStatus
OID (numeric): 1.3.6.1.4.1.2011.5.25.27.1.1.1.4
Node type: OBJECT-TYPE
Type: HwTaskStatusType
Access: read-only
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.
What is hwTaskStatus?
This read-only HwTaskStatusType reports the current scheduling state of a device task, using a set of numeric codes such as running(8), block(1), slept(2), suspend(4), and several combined/queue-related states like queueblock(17) and semaphoreblock(33). An admin checks this field to see whether a given internal task is actively executing or stuck waiting on a resource, semaphore, or queue. For example, a task reported as semaphoreblock(33) is waiting to acquire a semaphore, which could indicate contention with another task holding that lock.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.27.1.1.1.4 snmpwalk -v2c -c public <target> HUAWEI-TASK-MIB::hwTaskStatus
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.27.1.1.1.4.1 snmpget -v2c -c public <target> HUAWEI-TASK-MIB::hwTaskStatus.1
Start monitoring Huawei router or switch (internal OS/task diagnostics) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-TASK-MIB::hwTaskStatus OID value, configure state conditions and alerts, and monitor any Huawei router or switch (internal OS/task diagnostics) from a single console.
OID Breakdown
Upper-level ancestors (10 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.2011 | huawei | EXPERTV2-MIB |
| 1.3.6.1.4.1.2011.5 | huaweiMgmt | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5.25 | huaweiDatacomm | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5.25.27 | hwTask | HUAWEI-3COM-OID-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.5.25.27.1 | hwTaskObjects | HUAWEI-TASK-MIB |
| 1.3.6.1.4.1.2011.5.25.27.1.1 | hwTaskTable | HUAWEI-TASK-MIB |
| 1.3.6.1.4.1.2011.5.25.27.1.1.1 | hwTaskEntry | HUAWEI-TASK-MIB |
| 1.3.6.1.4.1.2011.5.25.27.1.1.1.4 | hwTaskStatus | HUAWEI-TASK-MIB |