All MIBs › HOST-RESOURCES-V2-MIB › hrSWRunStatus
hrSWRunStatus
Module: HOST-RESOURCES-V2-MIB
OID (symbolic): HOST-RESOURCES-V2-MIB::hrSWRunStatus
OID (numeric): 1.3.6.1.2.1.25.4.2.1.7
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: The status of this running piece of software. Setting this value to invalid(4) shall cause this software to stop running and to be unloaded.
What is hrSWRunStatus?
This read-write enumeration reports whether a running process is running(1), runnable(2) (waiting on a resource), notRunnable(3) (waiting on an event), or invalid(4). Setting a process's status to invalid(4) causes it to stop and be unloaded, making this a remote way to kill a hung process via SNMP.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.25.4.2.1.7 snmpwalk -v2c -c public <target> HOST-RESOURCES-V2-MIB::hrSWRunStatus
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.25.4.2.1.7.1 snmpget -v2c -c public <target> HOST-RESOURCES-V2-MIB::hrSWRunStatus.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.2.1.25.4.2.1.7.1 i <value>
Start monitoring Vendor-neutral IETF standard (Host Resources extension) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HOST-RESOURCES-V2-MIB::hrSWRunStatus OID value, configure state conditions and alerts, and monitor any Vendor-neutral IETF standard (Host Resources extension) 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.2 | mgmt | AXON-MIB |
| 1.3.6.1.2.1 | mib_2 | AXON-MIB |
| 1.3.6.1.2.1.25 | host | HOST-RESOURCES-MIB |
| 1.3.6.1.2.1.25.4 | hrSWRun | HOST-RESOURCES-MIB |
| 1.3.6.1.2.1.25.4.2 | hrSWRunTable | HOST-RESOURCES-MIB |
| 1.3.6.1.2.1.25.4.2.1 | hrSWRunEntry | HOST-RESOURCES-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.2.1.25.4.2.1.7 | hrSWRunStatus | HOST-RESOURCES-V2-MIB |