entSensorThresholdRelation

OBS ✓
CISCO-ENTITY-SENSOR-MIB · .1.3.6.1.4.1.9.9.91.1.2.1.1.3

Object

This variable indicates the relation between sensor value
(entSensorValue) and threshold value (entSensorThresholdValue), 
required to trigger the alarm.  when evaluating the relation, 
entSensorValue is on the left of entSensorThresholdRelation, 
entSensorThresholdValue is on the right. 
              
in pseudo-code, the evaluation-alarm mechanism is:
              
...
if (entSensorStatus == ok) then
    if (evaluate(entSensorValue, entSensorThresholdRelation,  
        entSensorThresholdValue)) 
    then
        if (entSensorThresholdNotificationEnable == true)) 
        then
            raise_alarm(sensor's entPhysicalIndex);
        endif
    endif
endif
...
Observium directly uses this object
This object is referenced by an Observium discovery or polling workflow.
Used in: Sensors
Explore Observium network monitoring

Context

MIB
CISCO-ENTITY-SENSOR-MIB
OID
.1.3.6.1.4.1.9.9.91.1.2.1.1.3
Type
column
Access
readwrite
Status
current
Parent
entSensorThresholdEntry
Groups
1

Walk 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 'CISCO-ENTITY-SENSOR-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-ENTITY-SENSOR-MIB::entSensorThresholdRelation'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-ENTITY-SENSOR-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-ENTITY-SENSOR-MIB::entSensorThresholdRelation.<entPhysicalIndex>.<entSensorThresholdIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-ENTITY-SENSOR-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-ENTITY-SENSOR-MIB::entSensorThresholdRelation'

Syntax

Source
SensorThresholdRelation
Base type
Enumeration

Values & Constraints

Type Values
1lessThan
2lessOrEqual
3greaterThan
4greaterOrEqual
5equalTo
6notEqualTo

Conformance

Member of
Compliance refinements
Write access is not required.
Write access is not required.
Write access is not required.
Write access is not required.