hrSWOSIndex
HOST-RESOURCES-MIB ·
.1.3.6.1.2.1.25.4.1
Object
scalar Integer32
The value of the hrSWRunIndex for the hrSWRunEntry that represents the primary operating system running on this host. This object is useful for quickly and uniquely identifying that primary operating system.
Context
- MIB
- HOST-RESOURCES-MIB
- OID
.1.3.6.1.2.1.25.4.1- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- hrSWRun
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar 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::hrSWOSIndex.0'
More examples
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::hrSWOSIndex'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-2147483647
Conformance
Member of