<div>in the normal context of not wanting to fill up a drive checking the freespace of the drive works,</div>
<div>IF this is not readily availible through a standard method then it can be checked via a WMI query.</div>
<div> </div>
<div> </div>
<div>Likewise if the issue is on looking for space on folder mount that does not have dive letters or if the issue was looking up NTFS Drive quotas, the best option on a windows host is to search WMI through queries for access to that data.</div>
<div> </div>
<div>WMI quaries can be prefermed through several plugins including NC_NET and NRPE (but I not sure about nsclient++)</div>
<div> </div>
<div>Tony (Author of NC_Net)</div>
<div> </div>
<div> </div>
<div> </div>
<div>The original poster however may have been looking at NTFS Quota</div>
<div class="gmail_quote">On Tue, May 27, 2008 at 11:34 AM, Tim Reimers <<a href="mailto:treimers@ashevillenc.gov">treimers@ashevillenc.gov</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I guess the idea is to know that that key folder isn't going to run out<br>of space..<br><br>ergo, it's a design-of-the-system issue, not a monitoring issue.<br>
<br>this is probably obvious to experienced admins, and may be obvious to<br>everyone, but ;-)<br><br>If you want c:\mail\spool to NOT run out of space, and it's on the same<br>partition as c:\mail\logs (for example)<br>
then your real goal is to ensure that c:\mail\logs doesn't grow and fill<br>up available space on c:\ or c:\mail (assuming \mail is someplace else)<br><br>That being said, I'd create a logical drive for "\mail\spool" and put it<br>
on an "f:" drive or something like that.<br><br>Then monitor that partition, and you know that the ONLY thing affecting<br>the space on that partition is going to be actual mail files.<br><br>So in a sense, just monitoring the space on C: will tell you that<br>
there's free space for c:\mail\spool -- or anything else in any other<br>folder on that drive.<br><br>If the available space starts going down, simply monitoring C: won't<br>tell you -where- the problem is, and I think that's what Riccardo really<br>
wants to see.<br><font color="#888888"><br><br><br><br>Tim Reimers<br>Systems Analyst II<br>Information Technology Services<br>City of Asheville<br>phone - 828-259-5512<br><a href="mailto:treimers@ashevillenc.gov">treimers@ashevillenc.gov</a><br>
</font>
<div>
<div></div>
<div class="Wj3C7c"><br>-----Original Message-----<br>From: <a href="mailto:nagiosplug-help-bounces@lists.sourceforge.net">nagiosplug-help-bounces@lists.sourceforge.net</a><br>[mailto:<a href="mailto:nagiosplug-help-bounces@lists.sourceforge.net">nagiosplug-help-bounces@lists.sourceforge.net</a>] On Behalf Of<br>
Marcus<br>Sent: Tuesday, May 27, 2008 10:28 AM<br>To: Nagios Plugins Help<br>Subject: Re: [Nagiosplug-help] Check the space on a windows folder<br><br>Riccardo Cupardo schrieb:<br>> Hi Marcus,<br>Hey Riccardo,<br><br>please don't mail me privately, so everyone can profit from our exchange<br>
of ideas.<br><br>> ty for your replay, i need a check in a specific folder, because there<br><br>> is a lot of traffic in all the partition with a grow very high, for<br>> that i need to check the status of an only folder/directory.<br>
<br>Just check the partition, that's also the free space in your folder. As<br>a matter of fact, there is no such thing as free folder space, since the<br>folder is part of the partition and uses it's space.<br><br>
Greetz, Marcus<br><br><br><br>><br>> Marcus ha scritto:<br>>> Riccardo Cupardo schrieb:<br>>>> Hi all,<br>>>><br>>>> anyone know a plugin to check the space on a windows folder(not on a<br>
<br>>>> drive), like c:\mail\spool<br>>><br>>> The free space in a folder should in my humble opinion be equal to<br>>> the free space on the partition (C:) on which the folder resides in,<br>>> if I am not totally mistaken. So where is, in your opinion the<br>
>> difference in folder vs. partition?<br>>><br>>> Cheers,<br>>> Marcus<br>>><br>>> __________ NOD32 3134 (20080527) Information __________<br>>><br>>> This message was checked by NOD32 antivirus system.<br>
>> <a href="http://www.eset.com/" target="_blank">http://www.eset.com</a><br>>><br>>><br>>><br>><br>><br><br><br><br>------------------------------------------------------------------------<br>
-<br>This SF.net email is sponsored by: Microsoft Defy all challenges.<br>Microsoft(R) Visual Studio 2008.<br><a href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/" target="_blank">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a><br>
_______________________________________________<br>Nagiosplug-help mailing list<br><a href="mailto:Nagiosplug-help@lists.sourceforge.net">Nagiosplug-help@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagiosplug-help" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagiosplug-help</a><br>
::: Please include plugins version (-v) and OS when reporting any issue.<br><br>::: Messages without supporting info will risk being sent to /dev/null<br><br>-------------------------------------------------------------------------<br>
This SF.net email is sponsored by: Microsoft<br>Defy all challenges. Microsoft(R) Visual Studio 2008.<br><a href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/" target="_blank">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a><br>
_______________________________________________<br>Nagiosplug-help mailing list<br><a href="mailto:Nagiosplug-help@lists.sourceforge.net">Nagiosplug-help@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagiosplug-help" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagiosplug-help</a><br>
::: Please include plugins version (-v) and OS when reporting any issue.<br>::: Messages without supporting info will risk being sent to /dev/null<br></div></div></blockquote></div><br>