Hi,
Host Monitor: 4.10
Agent: Remote Agent on Exchange Server (Windows 2000 SP3)
OS: Windwos XP Prof. SP1
Test: Folder/File Size
Folder/File Parameter: E:\E2k-DB\MDBDATA\priv1.*
Problem: The above test reports since a couple of days a constant value of 16384 MB. This happened after the two files that the test monitors (priv1.edb and priv1.stm) grew bigger than 16384 MB. There actual size is currently 16731 MB !
Guess this is a bug in HM 4.10?
Thanx and Regards.
HM4.10: Folder/File size reports incorrect size
Cannot find any error and cannot create 17Gb file because do not have 17Gb free space on any partition 
Could you start test program (available at www.ks-soft.net/download/dirtest.exe) using command line like "dirtest.exe E:\E2k-DB\MDBDATA\priv1.* >testresult.txt" and send result (testresult.txt) back to us (support@ks-soft.net)?
If it will not help, we will move data to another system and free some disk space.
Regards
Alex

Could you start test program (available at www.ks-soft.net/download/dirtest.exe) using command line like "dirtest.exe E:\E2k-DB\MDBDATA\priv1.* >testresult.txt" and send result (testresult.txt) back to us (support@ks-soft.net)?
If it will not help, we will move data to another system and free some disk space.
Regards
Alex
Results from dirtest.exe
File : priv1.edb
Size : 16065634304
LowSize : 3180732416
HighSize: 3
File : priv1.stm
Size : 1478500352
LowSize : 1478500352
HighSize: 0
Size : 16065634304
LowSize : 3180732416
HighSize: 3
File : priv1.stm
Size : 1478500352
LowSize : 1478500352
HighSize: 0
>Problem: The above test reports since a couple of days a constant value of 16384 MB
How its possible?? HostMonitor does not use 'Mb' units when size of the folder greater than 9 Gb. HostMonitor uses 'Gb' units and displays '16 Gb'. 16731 MB == 16.3392 Gb, HostMonitor rounds it to 16. Everything correct.
Or probably you see this number not in HostMonitor's main window? Where do you see 16731?
Regards
Alex
How its possible?? HostMonitor does not use 'Mb' units when size of the folder greater than 9 Gb. HostMonitor uses 'Gb' units and displays '16 Gb'. 16731 MB == 16.3392 Gb, HostMonitor rounds it to 16. Everything correct.
Or probably you see this number not in HostMonitor's main window? Where do you see 16731?
Regards
Alex
>How its possible?? HostMonitor does not use 'Mb' units when size of the >folder greater than 9 Gb. HostMonitor uses 'Gb' units and displays '16 >Gb'. 16731 MB == 16.3392 Gb, HostMonitor rounds it to 16. Everything >correct.
>Or probably you see this number not in HostMonitor's main window? >Where do you see 16731?
That is correct. HM reports GB units (16 actually) but I store the results in a SQL database and there arrives only 16384. I guess that comes from the rounding operation. The 16731 I got from the file system not from HM.
It is actually a pitty that it reports in GB since the roundingcreates a problem when you monitor Exchange Standard Edition which has a storage limit of 16 GB. May be you can add an option in the test that one can choose the reporting unit?
Thanks for all your help. HM is a great product and your support is fantastic.
Regards, J.
>Or probably you see this number not in HostMonitor's main window? >Where do you see 16731?
That is correct. HM reports GB units (16 actually) but I store the results in a SQL database and there arrives only 16384. I guess that comes from the rounding operation. The 16731 I got from the file system not from HM.
It is actually a pitty that it reports in GB since the roundingcreates a problem when you monitor Exchange Standard Edition which has a storage limit of 16 GB. May be you can add an option in the test that one can choose the reporting unit?
Thanks for all your help. HM is a great product and your support is fantastic.
Regards, J.
Your problem is the following: When Exchange starts, it locks all access to the database files, including the OS (well not all, but most of it). When Exchange expands the database, this will be done correctly. However, the OS wil stil report the size of the database as it was *before* the expansion.
The OS wil report the correct size after Exchange has been stopped and started.
The microsoft solution for this problem??: Measure the 'free' disk space
The OS wil report the correct size after Exchange has been stopped and started.
The microsoft solution for this problem??: Measure the 'free' disk space

Ok, in new version (I hope will be available on Monday) implemented new "undocumented" option: SizeUnitThreshold.
You will be able to change threshould for units (Kb->Mb->Gb). E.g. default value for this parameter 9, it means HostMonitor changes unit to Mb when size > 9Mb, changes size to Gb when size > 9Gb, etc.
If you add line "SizeUnitThreshold=99" into" [Misc]" section of "hostmon.ini" file and restart HostMonitor, monitor will change units after 99 Mb, 99 Gb, etc. So, you will see '16731 Mb' instead of '16 Gb'.
Regards
Alex
PS Please, next time describe where do you see wrong value/counter/message, we spent whole day looking in wrong place
You will be able to change threshould for units (Kb->Mb->Gb). E.g. default value for this parameter 9, it means HostMonitor changes unit to Mb when size > 9Mb, changes size to Gb when size > 9Gb, etc.
If you add line "SizeUnitThreshold=99" into" [Misc]" section of "hostmon.ini" file and restart HostMonitor, monitor will change units after 99 Mb, 99 Gb, etc. So, you will see '16731 Mb' instead of '16 Gb'.
Regards
Alex
PS Please, next time describe where do you see wrong value/counter/message, we spent whole day looking in wrong place
