[Nagiosplug-devel] [Nagiosplug-help] Check the space on a windows folder

Jose Luis Martinez jlmartinez-lists-nagplug-help at capside.com
Tue May 27 16:13:09 CEST 2008


Marcus escribió:
> Riccardo Cupardo schrieb:
>> Hi all,
>>
>> anyone know a plugin to check the space on a windows folder(not on a 
>> drive), like c:\mail\spool
> 
> The free space in a folder should in my humble opinion be equal to the 
> free space on the partition (C:) on which the folder resides in, if I am 
> not totally mistaken. So where is, in your opinion  the difference in 
> folder vs. partition?
> 

It's useful to have the plugin know on what partition the folder is, and 
then look at the free space on that partition.

Normally you know where the path for something important is (spooldir 
for the mailserver?) based on it's path, and not on it's drive. What the 
heck... some drives on windows don't even have a letter! So you want to 
monitor that: "the partition where this folder is located doesn't run 
out of space".

Please take into account that c:\mail can be a mounted partition in 
windows, so free_space(C:\) != free_space(C:\mail).

Just my 2 cents

Jose Luis Martinez
CAPSiDE
jlmartinez at capside.com





More information about the Devel mailing list