All MIBs › TN-ENTITY-SENSOR-MIB › tnEntSensorThresholdRelation
tnEntSensorThresholdRelation
Module: TN-ENTITY-SENSOR-MIB
OID (symbolic): TN-ENTITY-SENSOR-MIB::tnEntSensorThresholdRelation
OID (numeric): 1.3.6.1.4.1.868.2.5.6.1.2.1.1.3
Node type: OBJECT-TYPE
Type: TnSensorThresholdRelation
Access: read-write
Description: This variable indicates the relation between sensor value (entSensorValue) and threshold value (tnEntSensorThresholdValue), required to trigger the alarm. when evaluating the relation, entSensorValue is on the left of tnEntSensorThresholdRelation, tnEntSensorThresholdValue is on the right.
in pseudo-code, the evaluation-alarm mechanism is:
... if (entSensorStatus == ok) then if (evaluate(entSensorValue, tnEntSensorThresholdRelation, tnEntSensorThresholdValue)) then if (tnEntSensorThresholdNotificationEnable == true)) then raise_alarm(sensor's entPhysicalIndex); endif endif endif ...
What is tnEntSensorThresholdRelation?
This TnSensorThresholdRelation value defines the relational operator, such as lessThan, greaterThan, or equalTo, used to compare the live sensor reading against the configured tnEntSensorThresholdValue when deciding whether to alarm. An admin sets this to match the physical meaning of the sensor, since a temperature threshold typically needs greaterThan(3) while a voltage-drop threshold might need lessThan(1). For example, setting this to greaterThan(3) with a threshold value of 70 evaluates true whenever the sensor value exceeds 70.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.868.2.5.6.1.2.1.1.3 snmpwalk -v2c -c public <target> TN-ENTITY-SENSOR-MIB::tnEntSensorThresholdRelation
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.868.2.5.6.1.2.1.1.3.1 snmpget -v2c -c public <target> TN-ENTITY-SENSOR-MIB::tnEntSensorThresholdRelation.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.868.2.5.6.1.2.1.1.3.1 s <value>
Start monitoring Transition Networks managed Ethernet switches, media converters with power/fan monitoring (sensor presence/alarm-threshold status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the TN-ENTITY-SENSOR-MIB::tnEntSensorThresholdRelation OID value, configure state conditions and alerts, and monitor any Transition Networks managed Ethernet switches, media converters with power/fan monitoring (sensor presence/alarm-threshold status) from a single console.
OID Breakdown
Upper-level ancestors (9 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.868 | transition | TRANSITION-SMI |
| 1.3.6.1.4.1.868.2 | products | TRANSITION-SMI |
| 1.3.6.1.4.1.868.2.5 | tnProducts | TRANSITION-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.868.2.5.6 | tnEntitySensorMIB | TN-ENTITY-SENSOR-MIB |
| 1.3.6.1.4.1.868.2.5.6.1 | tnEntitySensorMIBObjects | TN-ENTITY-SENSOR-MIB |
| 1.3.6.1.4.1.868.2.5.6.1.2 | tnEntSensorThresholds | TN-ENTITY-SENSOR-MIB |
| 1.3.6.1.4.1.868.2.5.6.1.2.1 | tnEntSensorThresholdTable | TN-ENTITY-SENSOR-MIB |
| 1.3.6.1.4.1.868.2.5.6.1.2.1.1 | tnEntSensorThresholdEntry | TN-ENTITY-SENSOR-MIB |
| 1.3.6.1.4.1.868.2.5.6.1.2.1.1.3 | tnEntSensorThresholdRelation | TN-ENTITY-SENSOR-MIB |