<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content=text/html;charset=ISO-8859-1>
<META content="MSHTML 6.00.2800.1479" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 12pt Tahoma" text=#000000 bgColor=#ffffff>
<DIV>Got Python?  I came across this today while looking for something totaly unrelated...  <A href="http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/86554">http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/86554</A></DIV>
<DIV>I'm sure you can do the same in Perl, VB, etc.<BR><BR>>>> Henrique Oliveira <holiveira@interhost.com> 2/23/2005 11:26:11 AM >>><BR></DIV>
<DIV style="COLOR: #000000">Sand Philipp wrote: 
<BLOCKQUOTE cite=mid6943DE9E9934CD42BBE4A20E0E28E10E011C9738@SYGOMAIL.GOE.AD.SYCOR.DE type="cite"><PRE wrap="">Hi,

This may not be the nicest way, but, you can give it a try ... ;)
Simply mount the folder you want to check to a Driveletter e.g. net use
x: \\127.0.0.1\c$\blablabla and then check for free space on x.
  </PRE></BLOCKQUOTE><SMALL>It's not possible because "net use" is used to map network folders or shares, which<BR>is not the case.<BR><BR>And of course the number of available letters is very limited (at this point we have around<BR>40 sites on this webserver)</SMALL><BR>
<BLOCKQUOTE cite=mid6943DE9E9934CD42BBE4A20E0E28E10E011C9738@SYGOMAIL.GOE.AD.SYCOR.DE type="cite"><PRE wrap="">________________________________

        From: <A class=moz-txt-link-abbreviated href="mailto:nagios-users-admin@lists.sourceforge.net">nagios-users-admin@lists.sourceforge.net</A>
[<A class=moz-txt-link-freetext href="mailto:nagios-users-admin@lists.sourceforge.net">mailto:nagios-users-admin@lists.sourceforge.net</A>] On Behalf Of Henrique
Oliveira
        Sent: Tuesday, February 22, 2005 5:33 PM
        To: <A class=moz-txt-link-abbreviated href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</A>
        Subject: [Nagios-users] Check disk space NS_Client
        
        
        Hello,
        
        I'm running Nagios 1.2 with Nagmin (DB support) with no
problems.
        
        We have a webserver running multiple sites and we need to know
is a given site
        (folder) has reached a certain amount of disk usage.
        
        Is it possible to monitor directories in a hard-drive, opposed
to only checking
        the whole hard-drive?
        
        Regards,
        Henrique Oliveira</PRE></BLOCKQUOTE></DIV></BODY></HTML>