hostName
TERACOM-TCW241-MIB ·
.1.3.6.1.4.1.38783.3.2.1.2
Object
scalar OctetString
Host Name
Context
- MIB
- TERACOM-TCW241-MIB
- OID
.1.3.6.1.4.1.38783.3.2.1.2- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- network
- 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 'TERACOM-TCW241-MIB' -M '/opt/observium/mibs/teracom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TERACOM-TCW241-MIB::hostName.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TERACOM-TCW241-MIB' -M '/opt/observium/mibs/teracom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TERACOM-TCW241-MIB::hostName'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-38
Conformance
Member of