noSensors
SDEVICE-MIB ·
.1.3.6.1.4.1.31034.2.4.5
Object
scalar Integer32
The number of external, digital environmental sensors: 0 for none, 1 to 16 depending on number of reported sensors
Context
- MIB
- SDEVICE-MIB
- OID
.1.3.6.1.4.1.31034.2.4.5- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- configuration
- Groups
- 1
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 'SDEVICE-MIB' -M '/opt/observium/mibs/schleifenbauer:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SDEVICE-MIB::noSensors.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SDEVICE-MIB' -M '/opt/observium/mibs/schleifenbauer:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SDEVICE-MIB::noSensors'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-4
Conformance
Member of