Werk #15969: cisco_temperature: Correct warning threshold for environment temperature

Component Checks & agents
Title cisco_temperature: Correct warning threshold for environment temperature
Date Jul 24, 2023
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.3.0b1 2.2.0p8 2.1.0p31
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

Currently only the threshold specified by OID 1.3.6.1.4.1.9.9.13.1.3.1.4 (ciscoEnvMonTemperatureThreshold) is considered when checking the temperature of a Cisco switch. As only one threshold is given, it is used as both WARN and CRIT threshold, causing confusion when the device itself reports a warning state based on a previously unknown WARN threshold. Now the upper thresholds specified in OID 1.3.6.1.4.1.9.9.91.1.2.1.1 (entSensorThresholdTable) will be used as WARN and CRIT thresholds if an entry for the relevant switch can be found. For this, the threshold relation and severity will be used to determine if the threshold can be applied in Checkmk, otherwise it will be ignored.

To the list of all Werks