hwSyslogHostName
HUAWEI-SNMP-NOTIFICATION-MIB ·
.1.3.6.1.4.1.2011.6.30.14.2.1.1
Object
column OctetString
Syslog host name,a kind of string parameter. Index of hwSyslogHostTable.
Context
- MIB
- HUAWEI-SNMP-NOTIFICATION-MIB
- OID
.1.3.6.1.4.1.2011.6.30.14.2.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- hwSyslogHostEntry
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 'HUAWEI-SNMP-NOTIFICATION-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-SNMP-NOTIFICATION-MIB::hwSyslogHostName'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-SNMP-NOTIFICATION-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-SNMP-NOTIFICATION-MIB::hwSyslogHostName.<hwSyslogHostName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-SNMP-NOTIFICATION-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-SNMP-NOTIFICATION-MIB::hwSyslogHostName'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 1-31