KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Check all HD volumes for free space (variable threshold)
Goto page Previous  1, 2, 3, 4
 
Post new topic   Reply to topic    KS-Soft Forum Index -> Library
View previous topic :: View next topic  
Author Message
KS-Soft



Joined: 03 Apr 2002
Posts: 12790
Location: USA

PostPosted: Fri Jun 29, 2012 11:01 am    Post subject: Reply with quote

This method is using WMI as well.
You just need to check error message displayed by Windows script host (cscript).

BTW: We redesigned Disk Free Space test for next version of HostMonitor, it may check several (or all) drives on local or remote systems

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
chhm



Joined: 05 Jun 2012
Posts: 7

PostPosted: Fri Jun 29, 2012 12:17 pm    Post subject: Reply with quote

I found the following example using a WQL query to work pretty so far:

SELECT FreeSpace, Label from Win32_Volume Where Label = 'M_DB5'

I then alert if "any FreeSpace" "is < than"

-Corey
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Library All times are GMT - 6 Hours
Goto page Previous  1, 2, 3, 4
Page 4 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index