Search found 7 matches

by chhm
Fri Jun 29, 2012 12:17 pm
Forum: Library
Topic: Check all HD volumes for free space (variable threshold)
Replies: 46
Views: 264196

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
by chhm
Fri Jun 29, 2012 10:43 am
Forum: Library
Topic: Check all HD volumes for free space (variable threshold)
Replies: 46
Views: 264196

I'm giving up on this method and am working on using WMI. Thanks for the help.
by chhm
Fri Jun 29, 2012 9:23 am
Forum: Library
Topic: Check all HD volumes for free space (variable threshold)
Replies: 46
Views: 264196

Looks like line 101 character 1 is the issue:

WScript.StdOut.Write HDFreeTest(sCompStatus, aThreshold)
by chhm
Fri Jun 29, 2012 7:36 am
Forum: Library
Topic: Check all HD volumes for free space (variable threshold)
Replies: 46
Views: 264196

We can start it just fine on Windows 2003 SP2. Try to save script into .VBS file and start it without /B switch, cscript will display error message... Note: start script on HostMonitor system (in case you are managing HostMonitor remotely using RCC) Regards Alex I'm not sure I understand what you m...
by chhm
Fri Jun 22, 2012 2:17 pm
Forum: Library
Topic: Check all HD volumes for free space (variable threshold)
Replies: 46
Views: 264196

KS-Soft wrote:Windows version?
Service Pack?
HostMonitor version?
What exactly command line do you use to start the script?
Windows Server 2003
SP 2
HM v 9.18
cmd /c cscript /B /E:VBScript %Script% %Params%
by chhm
Fri Jun 22, 2012 12:45 pm
Forum: Library
Topic: Check all HD volumes for free space (variable threshold)
Replies: 46
Views: 264196

Error: Script Returns no Results

Hi - I set up this scrtip in HM using Shell Script. If I plug in the Params under the "Lets try" tab it runs and returns a Status and Reply (e.g - Status: Ok - Reply: C:46%(7.79) ) Though when the Params are set in "Test properties" and test is ran I receive the following: Status...
by chhm
Tue Jun 05, 2012 9:02 am
Forum: Library
Topic: Check all HD volumes for free space (variable threshold)
Replies: 46
Views: 264196

Anyway, my main point of posting is - who thinks this should now move to a feature request? Move Paul/greyhats work into an official HM test? I like scripts, but I think this is core requirement for most Windows shops, that perhaps people are missing if they don't follow the forums, and maybe disco...