keith - 2010-10-28

Additional info:

- I'm running nagios-wsc as a non-admin AD account that has remote WMI and DCOM privs.

- As this is the only server that reports wrong info for the C: check, I tried to figure out what's different about it. It's the only one I'm checking with a C: size > 100GB or so, so I thought that might be the problem. Running the check on other servers, against other disks, though, shows it working with much largers volumes:

F:978.62GB/1,394.47GB (70% free)

- While investigating the above, I ran across a few other/strange problems:

1. Sometimes, when running the "disks" check, a single drive will show up as "infinity" size and used:
Free-F:=68%;0;0;;
Free-G:=66%;0;0;;
Free-J:=66%;Infinity;Infinity;;
Free-K:=74%;1;0;;
Free-M:=62%;0;0;;

2. On Windows 2003 servers, large volumes (~1TB) are handled fine (see above), but on my Windows 2008 boxes, they also come back as infinity, but the percentage free is correctly reported, it seems:
Result: Disk(s) Okay |Free-C:=36%;0;0;; C:23.93GB/67.05GB (36% free) |Free-F:=36%;Infinity;Infinity;;
Result: Disk(s) Okay |Free-C:=53%;0;0;; C:13.04GB/24.41GB (53% free) |Free-D:=53%;Infinity;Infinity;;

- Running the wmi query manually seems to show correct output in all cases. E.g., for the first one above:
DeviceID|FreeSpace|Size
F:|508959920128|899119312896

So, there doesn't seem to be much rhyme or reason, that I can see, for when the disk checks behave oddly. However, of all the disks I looked at, on all the servers, there is still only a single one that comes back with the size reported as 100MB instead of ~136GB.