objDigitalInputWord2
UPC4 ·
.1.3.6.1.4.1.16460.5.1.1.2
Object
scalar bit-WORDSNMPv2-SMIInteger32
Actual state of DigitalInput2 (external digital inputs). In this data word every bit signifys an activ/inactiv digital input. bit(x)=0 ==> digital_input(x)=inactiv ( 1 = activ)
Context
- MIB
- UPC4
- OID
.1.3.6.1.4.1.16460.5.1.1.2- Type
- scalar
- Access
- readonly
- Status
- current
- Units
- bit-WORD
- Parent
- measureData
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 'UPC4' -M '/opt/observium/mibs/eltek:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'UPC4::objDigitalInputWord2.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'UPC4' -M '/opt/observium/mibs/eltek:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'UPC4::objDigitalInputWord2'
Syntax
bit-WORDSNMPv2-SMIInteger32
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647