sensFlags
DAMOCLES-MIB ·
.1.3.6.1.4.1.21796.3.4.99.1.2.1.5
Object
The behaviour of sensor - 0x01: range or level detection - 0x02: enable trap sending -- 0x04: output set (thermostat) - 0x08: sensor enabled - 0x10: enable SMS sending - 0x20: enable email sending.
Context
- MIB
- DAMOCLES-MIB
- OID
.1.3.6.1.4.1.21796.3.4.99.1.2.1.5- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- sensSetupEntry
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 'DAMOCLES-MIB' -M '/opt/observium/mibs/hwgroup:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DAMOCLES-MIB::sensFlags'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DAMOCLES-MIB' -M '/opt/observium/mibs/hwgroup:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DAMOCLES-MIB::sensFlags.<sensSetupIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DAMOCLES-MIB' -M '/opt/observium/mibs/hwgroup:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DAMOCLES-MIB::sensFlags'
Syntax
- Source
- SensorFlags
- Base type
Integer32
Values & Constraints
No enumerated values or constraints recorded.