dTrapDeviceVariable
EDS3030-MIB ·
.1.3.6.1.4.1.31440.2.2.1.5
Object
column r/w
Integer32
Number of the variable to reference, as listed in the Devices section of this MIB. For example, the DS2406 has 9 items, which would be numbered 0 - 8. So if dTrapDeviceVariable were set to 0 it would refer to owDS2406PIOAFlipFlop, if it were set to 3 it would refer to owDS2406PIOBLevel.
Context
- MIB
- EDS3030-MIB
- OID
.1.3.6.1.4.1.31440.2.2.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- dTrapDeviceEntry
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 'EDS3030-MIB' -M '/opt/observium/mibs/eds:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'EDS3030-MIB::dTrapDeviceVariable'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'EDS3030-MIB' -M '/opt/observium/mibs/eds:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'EDS3030-MIB::dTrapDeviceVariable.<dTrapDeviceIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'EDS3030-MIB' -M '/opt/observium/mibs/eds:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'EDS3030-MIB::dTrapDeviceVariable'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-99