freeBSDVersion
FREEBSD-MIB ·
.1.3.6.1.4.1.2238.4
Object
node
Subtree to register FreeBSD versions. The OID for a FreeBSD
version is formed by appending the dot delimited numbers
from the release number to this base OID. Examples:
5.2.1-STABLE: freeBSDVersion.5.2.1
6.1-STABLE: freeBSDVersion.6.1
7.0-CURRENT: freeBSDVersion.7.0
There is no indication whether this is STABLE or CURRENT.
The sysObjectId is automatically set to the value indicated
by the uname(3) release field by bsnmpd(1). This initial
value can be overwritten in the configuration file.
Context
- MIB
- FREEBSD-MIB
- OID
.1.3.6.1.4.1.2238.4- Type
- node
- Status
- current
- Parent
- freeBSD
Net-SNMP examples
How SNMP and these commands workUse a bulk walk to inspect objects and instances beneath this OID.
Walk the subtree
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'FREEBSD-MIB' -M '/opt/observium/mibs/unix:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FREEBSD-MIB::freeBSDVersion'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'FREEBSD-MIB' -M '/opt/observium/mibs/unix:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'FREEBSD-MIB::freeBSDVersion'
Syntax
No syntax metadata recorded.
Values & Constraints
No enumerated values or constraints recorded.