All MIBs › HOST-RESOURCES-MIB › hrSWRunStatus
hrSWRunStatus
Module: HOST-RESOURCES-MIB
OID (symbolic): HOST-RESOURCES-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. Sets to other values are not valid.
What is hrSWRunStatus?
Reports the run state of this software (running, runnable, notRunnable, or invalid) and can be set to invalid(4) to stop and unload it -- the only value that can legally be written -- giving admins a remote way to kill a 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-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-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 (any host computer/server running an SNMP agent) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HOST-RESOURCES-MIB::hrSWRunStatus OID value, configure state conditions and alerts, and monitor any Vendor-neutral IETF standard (any host computer/server running an SNMP agent) from a single console.
OID Breakdown
Upper-level ancestors (6 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 |
| Numeric OID | Name | Module |
|---|---|---|
| 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 |
| 1.3.6.1.2.1.25.4.2.1.7 | hrSWRunStatus | HOST-RESOURCES-MIB |