All MIBs › HOST-RESOURCES-V2-MIB › hrSWRunParameters
hrSWRunParameters
Module: HOST-RESOURCES-V2-MIB
OID (symbolic): HOST-RESOURCES-V2-MIB::hrSWRunParameters
OID (numeric): 1.3.6.1.2.1.25.4.2.1.5
Node type: OBJECT-TYPE
Type: InternationalDisplayString
Access: read-only
Description: A description of the parameters supplied to this software when it was initially loaded.
What is hrSWRunParameters?
This read-only string, up to 128 characters, gives the parameters this piece of software was started with, similar to a process's command-line arguments. Admins read it to see how a running service or process was originally invoked, useful when auditing what's actually running on a host.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.25.4.2.1.5 snmpwalk -v2c -c public <target> HOST-RESOURCES-V2-MIB::hrSWRunParameters
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.25.4.2.1.5.1 snmpget -v2c -c public <target> HOST-RESOURCES-V2-MIB::hrSWRunParameters.1
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> hrSWRunParameters.1
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::hrSWRunParameters 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.5 | hrSWRunParameters | HOST-RESOURCES-V2-MIB |
FAQ
What does hrSWRunParameters show for a running process?
It's the command-line parameters that were supplied to that piece of software when it was first loaded or started — effectively the same information you'd see with `ps -ef` or Task Manager's command-line column, but exposed over SNMP.
I updated a service's startup flags but hrSWRunParameters still shows the old ones — why?
This value is captured at the moment the process was launched and doesn't update afterward. If the process hasn't been restarted since your configuration change, hrSWRunParameters will still reflect the parameters from the last time it started — restart the service and re-poll to confirm the new flags took effect.