dInState
NATEKS-MIB ·
.1.3.6.1.4.1.4249.2.5.10.1.2.1.3
Object
column Enumeration
Discrete input state. For voltage input values are high(3) or low(4). For npn or dry contact input it is open(1) or closed(2).
Context
- MIB
- NATEKS-MIB
- OID
.1.3.6.1.4.1.4249.2.5.10.1.2.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- ioDInEntry
- Groups
- 1
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 'NATEKS-MIB' -M '/opt/observium/mibs/nateks:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NATEKS-MIB::dInState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NATEKS-MIB' -M '/opt/observium/mibs/nateks:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NATEKS-MIB::dInState.<dInId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NATEKS-MIB' -M '/opt/observium/mibs/nateks:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NATEKS-MIB::dInState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | open |
2 | closed |
3 | high |
4 | low |
Conformance
Member of