wish-3-external-switch
ROOMALERT26W-MIB ·
.1.3.6.1.4.1.20916.1.4.1.4.3.4.2.3
Object
scalar mandatory
Integer32
The reading for switch sensor contacts of this WiSH/WiSPR Sensor (0 = OPEN, 1 = CLOSED).
Context
- MIB
- ROOMALERT26W-MIB
- OID
.1.3.6.1.4.1.20916.1.4.1.4.3.4.2.3- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- wish-3-external
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 'ROOMALERT26W-MIB' -M '/opt/observium/mibs/avtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ROOMALERT26W-MIB::wish-3-external-switch.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ROOMALERT26W-MIB' -M '/opt/observium/mibs/avtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ROOMALERT26W-MIB::wish-3-external-switch'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-1