eduardovra opened a new issue, #11364: URL: https://github.com/apache/cloudstack/issues/11364
### problem This makes the storage pool reach the disable threshold before the notification threshold. In the sources: ``` metricsResponse.setStorageAllocatedDisableThreshold(poolResponse.getDiskSizeTotal(), poolResponse.getDiskSizeUsed(), poolResponse.getOverProvisionFactor(), storageDisableThreshold); ``` Should be: ``` metricsResponse.setStorageAllocatedDisableThreshold(poolResponse.getDiskSizeTotal(), poolResponse.getDiskSizeAllocated(), poolResponse.getOverProvisionFactor(), storageDisableThreshold); ``` Reference: https://github.com/apache/cloudstack/blob/main/plugins/metrics/src/main/java/org/apache/cloudstack/metrics/MetricsServiceImpl.java#L647 ### versions CloudStack 4.20.1.0 ### The steps to reproduce the bug 1. Open the UI 2. Go to the primary storage section ### What to do about it? _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org