trapHostId
WESTERMO-WEOS-MIB ·
.1.3.6.1.4.1.16177.2.1.5.1.1.2.1.1
Object
column Integer32
The id of this SNMP Trap Host (only of local significance to this unit).
Context
- MIB
- WESTERMO-WEOS-MIB
- OID
.1.3.6.1.4.1.16177.2.1.5.1.1.2.1.1- Type
- column
- Access
- readonly
- Status
- current
- Parent
- trapHostEntry
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 'WESTERMO-WEOS-MIB' -M '/opt/observium/mibs/westermo:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'WESTERMO-WEOS-MIB::trapHostId'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'WESTERMO-WEOS-MIB' -M '/opt/observium/mibs/westermo:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'WESTERMO-WEOS-MIB::trapHostId.<trapHostId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'WESTERMO-WEOS-MIB' -M '/opt/observium/mibs/westermo:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'WESTERMO-WEOS-MIB::trapHostId'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-64