Understanding the os_disk_total_size_bytes Zero Value Bug in Multi-Drive Environments in ControlUp
In a recent discussion among ControlUp community members, an issue was raised regarding a discrepancy between two disk-related metrics reported in ControlUp's monitoring interface. Specifically, while the metric os_disk_configuration correctly displayed the disk capacity, the os_disk_total_size_bytes metric was showing a value of zero on some machines. This inconsistency prompted further examination to understand the source of the problem.
The root cause was identified as related to systems that have multiple physical or logical drives reported in the os_disk_configuration field, which includes not only the OS disk but also other storage devices such as CD-ROM drives or secondary partitions (e.g., a D:\ drive). In such cases, the aggregate os_disk_total_size_bytes metric was not reflecting the actual total size accurately and defaulted to zero. This behavior surfaced as a bug within the product's data aggregation process, where the total size metric failed to sum or properly interpret the presence of multiple drives.
ControlUp experts confirmed that the user interface derives disk capacity information primarily from the os_disk_configuration field within the _devices table, which is functioning correctly. However, the os_disk_total_size_bytes field, intended to represent the overall disk capacity in bytes, remains unaligned when multiple drives are present. This detail has been reported to the product team for resolution in a future update.
Users encountering this issue should continue to rely on os_disk_configuration for accurate disk capacity details, keeping in mind that os_disk_total_size_bytes may not be reliable in multi-drive environments. No immediate workaround was provided, but awareness and reporting ensure that the product development team can address the bug. For further reference and updates on this topic, users may consult ControlUp's official documentation at https://docs.controlup.com and the ControlUp Knowledge Base for related disk monitoring capabilities. Read the entire article here...
