wtDeaDrvSetBit
Com-Server-Intern-MIB ·
.1.3.6.1.4.1.5040.1.1.2.1.1.4
Object
column mandatory
r/w
OctetString
This variable allows setting of individual digital outputs. The OCTETS are
interpreted bit-by-bit, with each bit corresponding to an output. Bit 0 corresponds
to the LSB.
The first two OCTETS contain the mask which determines which of the outputs are to
be set (corresponding bit = 1) and which outputs are to remain unchanged
(corresponding bit = 0):
OCTET 1, Bit 0-3: Mask for digital outputs 8-11
Bit 4-7: unused
OCTET 2, Bit 0-7: Mask for digital outputs 0-7
OCTETS 3 and 4 contain the level (1=HIGH, 0=LOW) which the outputs to be changed
should assume:
OCTET 3, Bit 0-3: Level of digital outputs 8-11
Bit 4-7: unused
OCTET 4, Bit 0-7: Level of digital outputs 0-7
Context
- MIB
- Com-Server-Intern-MIB
- OID
.1.3.6.1.4.1.5040.1.1.2.1.1.4- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- wtDeaDrvEntry
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 'Com-Server-Intern-MIB' -M '/opt/observium/mibs/webgraph:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Com-Server-Intern-MIB::wtDeaDrvSetBit'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'Com-Server-Intern-MIB' -M '/opt/observium/mibs/webgraph:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Com-Server-Intern-MIB::wtDeaDrvSetBit.<wtDeaDrvInterfaceNo>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Com-Server-Intern-MIB' -M '/opt/observium/mibs/webgraph:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Com-Server-Intern-MIB::wtDeaDrvSetBit'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 4-4