objDigitalInput2State
UPC4 ·
.1.3.6.1.4.1.16460.5.1.1.42.1.43
Object
column Enumeration
Actual state of DigitalInput2 . Each entry represents the state of the Input. 0 = input inactive; 1 = active
Context
- MIB
- UPC4
- OID
.1.3.6.1.4.1.16460.5.1.1.42.1.43- Type
- column
- Access
- readonly
- Status
- current
- Parent
- upc4DigitalInputEntry
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 'UPC4' -M '/opt/observium/mibs/eltek:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'UPC4::objDigitalInput2State'
More examples
Read one indexed 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::objDigitalInput2State.<objDigitalInput1State>'
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::objDigitalInput2State'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | inactive |
1 | active |