Details
-
Type:
Incident report
-
Status: Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 3.0.5, 3.2.0
-
Fix Version/s: 3.0.8rc1, 3.2.4rc1, 3.4.0alpha1
-
Component/s: API (A)
-
Labels:
Description
httpconf.php uses infinite backlooking on history tables to find a single value, where other parts of the code bounds the lookback to ZBX_HISTORY_PERIOD, usuall 86400
By bounding the query we can avoid an expensive backlook with an unbounded time if the history_uint table is big.