All MIBs › CISCO-ENTITY-SENSOR-MIB › entSensorThresholdRelation
entSensorThresholdRelation
Module: CISCO-ENTITY-SENSOR-MIB
OID (symbolic): CISCO-ENTITY-SENSOR-MIB::entSensorThresholdRelation
OID (numeric): 1.3.6.1.4.1.9.9.91.1.2.1.1.3
Node type: OBJECT-TYPE
Type: SensorThresholdRelation
Access: read-write
Description: 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 ...
What is entSensorThresholdRelation?
A configurable comparison operator (such as greater-than or less-than) that defines how the sensor's current value is compared to its threshold value to decide whether an alarm should fire.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.9.91.1.2.1.1.3 snmpwalk -v2c -c public <target> CISCO-ENTITY-SENSOR-MIB::entSensorThresholdRelation
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.9.9.91.1.2.1.1.3.1 snmpget -v2c -c public <target> CISCO-ENTITY-SENSOR-MIB::entSensorThresholdRelation.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.9.9.91.1.2.1.1.3.1 s <value>
Start monitoring Cisco routers, switches, and chassis with environmental sensors with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CISCO-ENTITY-SENSOR-MIB::entSensorThresholdRelation OID value, configure state conditions and alerts, and monitor any Cisco routers, switches, and chassis with environmental sensors from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.9 | cisco | CAT2600-MIB |
| 1.3.6.1.4.1.9.9 | ciscoMgmt | CISCO-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.9.9.91 | ciscoEntitySensorMIB | CISCO-ENTITY-SENSOR-MIB |
| 1.3.6.1.4.1.9.9.91.1 | entitySensorMIBObjects | CISCO-ENTITY-SENSOR-MIB |
| 1.3.6.1.4.1.9.9.91.1.2 | entSensorThresholds | CISCO-ENTITY-SENSOR-MIB |
| 1.3.6.1.4.1.9.9.91.1.2.1 | entSensorThresholdTable | CISCO-ENTITY-SENSOR-MIB |
| 1.3.6.1.4.1.9.9.91.1.2.1.1 | entSensorThresholdEntry | CISCO-ENTITY-SENSOR-MIB |
| 1.3.6.1.4.1.9.9.91.1.2.1.1.3 | entSensorThresholdRelation | CISCO-ENTITY-SENSOR-MIB |