hostName
MX-HOC-MIB ·
.0.700.1.200
Object
Host Name
Host name of the unit. Certain restrictions apply to this name:
* It must be shorter than 64 characters.
* It must not start with a space or a period.
* It must not contain double quotes, semicolons, curly braces
and commas.
Context
- MIB
- MX-HOC-MIB
- OID
.0.700.1.200- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hocMIBObjects
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 'MX-HOC-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-HOC-MIB::hostName.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MX-HOC-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MX-HOC-MIB::hostName'
Syntax
- Source
- MX-TCMxIpHostName
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..255