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 ‘Understanding the os_disk_total_size_bytes Zero Value Bug in Multi-Drive Environments in ControlUp’ thread below:
Good Morning All
the os_disk_configuration shows the capacity, but the os_disk_total_size_bytes shows 0
Hey Eugene, hope you are doing well!
As far as I know, the UI is using an other field: os_disk_configuration in _devices to retrieve that info
the os_disk_total_size_bytes should be aligned so it’s a bug… I have a few machines where it’s like you so I’ll raise it to product
Thank you Sir
—, I’m doing some troubleshooting and I think I found a pattern, could you confirm that for your case there is multiple “drives” in the os_disk_configuration (like a CD-ROM or a D:\ drive)?
It looks from my environment the only case where total size=0 is when there is more than 1 drive
Thanks!
Should I say thanks for destroying my finding?
LOL Sorry
Continue reading and comment on the thread ‘Understanding the os_disk_total_size_bytes Zero Value Bug in Multi-Drive Environments in ControlUp’. Not a member? Join Here!
Categories: All Archives
