entPhySensorPrecision
ASTERFUSION-MIB ·
.1.3.6.1.2.1.99.1.1.1.3
Object
column EntitySensorPrecision
The number of decimal places of precision in fixed-point
sensor values returned by the associated entPhySensorValue
object.
This object SHOULD be set to '0' when the associated
entPhySensorType value is not a fixed-point type: e.g.,
'percentRH(9)', 'rpm(10)', 'cmm(11)', or 'truthvalue(12)'.
This object SHOULD be set by the agent during entry
creation, and the value SHOULD NOT change during operation.
Context
- MIB
- ASTERFUSION-MIB
- OID
.1.3.6.1.2.1.99.1.1.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- entPhySensorEntry
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 'ASTERFUSION-MIB' -M '/opt/observium/mibs/asterfusion:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ASTERFUSION-MIB::entPhySensorPrecision'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ASTERFUSION-MIB' -M '/opt/observium/mibs/asterfusion:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ASTERFUSION-MIB::entPhySensorPrecision.<entPhysicalIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ASTERFUSION-MIB' -M '/opt/observium/mibs/asterfusion:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ASTERFUSION-MIB::entPhySensorPrecision'
Syntax
- Source
- EntitySensorPrecision
- Base type
Integer32
Type Description
An object using this data type represents a sensor
precision range.
An object of this type SHOULD be defined together with
objects of type EntitySensorDataType and
EntitySensorDataScale. Together, associated objects of
these three types are used to identify the semantics of an
object of type EntitySensorValue.
If an object of this type contains a value in the range 1 to
9, it represents the number of decimal places in the
fractional part of an associated EntitySensorValue fixed-
point number.
If an object of this type contains a value in the range -8
to -1, it represents the number of accurate digits in the
associated EntitySensorValue fixed-point number.
The value zero indicates the associated EntitySensorValue
object is not a fixed-point number.
Agent implementors must choose a value for the associated
EntitySensorPrecision object so that the precision and
accuracy of the associated EntitySensorValue object is
correctly indicated.
For example, a physical entity representing a temperature
sensor that can measure 0 degrees to 100 degrees C in 0.1
degree increments, +/- 0.05 degrees, would have an
EntitySensorPrecision value of '1', an EntitySensorDataScale
value of 'units(9)', and an EntitySensorValue ranging from
'0' to '1000'. The EntitySensorValue would be interpreted
as 'degrees C * 10'.
Values & Constraints
Type Constraints
range: -8..9