-
Notifications
You must be signed in to change notification settings - Fork 474
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
17412 FIX cisco_temperature: ignore incomplete sensor thresholds
Prior to this werk, the Cisco temperature check raised an exception whenever a sensor threshold lacked complete information—specifically, if any of the severity, relation, or threshold values were missing. This caused both the discovery and check processes to fail. The updated behavior addresses this issue by first verifying whether a threshold value is defined and ignoring sensors that do not have one. However, if a threshold value is defined but either the severity, relation, or both are missing, an exception will now be raised instead of skipping over the incomplete threshold. SUP-21069 Change-Id: I6614ade4bcefd79f2af4d42f3c4e19d4a68051d2
- Loading branch information
1 parent
a58ff82
commit d3f74c1
Showing
3 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[//]: # (werk v2) | ||
# cisco_temperature: ignore incomplete sensor thresholds | ||
|
||
key | value | ||
---------- | --- | ||
date | 2024-12-16T13:02:38+00:00 | ||
version | 2.3.0p24 | ||
class | fix | ||
edition | cre | ||
component | checks | ||
level | 1 | ||
compatible | yes | ||
|
||
Prior to this werk, the Cisco temperature check raised an exception | ||
whenever a sensor threshold lacked complete information—specifically, | ||
if any of the severity, relation, or threshold values were missing. | ||
This caused both the discovery and check processes to fail. The updated | ||
behavior addresses this issue by first verifying whether a threshold value | ||
is defined and ignoring sensors that do not have one. However, if a | ||
threshold value is defined but either the severity, relation, or both are | ||
missing, an exception will now be raised instead of skipping over the incomplete | ||
threshold. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters