hrSWRunStatus
HOST-RESOURCES-MIB ·
.1.3.6.1.2.1.25.4.2.1.7
Object
column r/w
Enumeration
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.
Context
- MIB
- HOST-RESOURCES-MIB
- OID
.1.3.6.1.2.1.25.4.2.1.7- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hrSWRunEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'HOST-RESOURCES-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HOST-RESOURCES-MIB::hrSWRunStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HOST-RESOURCES-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HOST-RESOURCES-MIB::hrSWRunStatus.<hrSWRunIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HOST-RESOURCES-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HOST-RESOURCES-MIB::hrSWRunStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | running |
2 | runnable |
3 | notRunnable |
4 | invalid |
Conformance
Member of
Compliance refinements
hrMIBCompliance
readonly
Write access is not required.