Perfmon script not working??



Hello,

I'm trying to monitor free disk space using Performance Monitor. If the
free space falls below a certain value I have an email.vbs script I
want kicked off to let me know about it.

An alert was created on Windows 2003 server using the Logical Disk Free
Space counter. I set the actions to "Log an entry in the application
event log" and "Run this program" (c:\scripts\email.vbs). I can run
email.vbs from the command line and from windows using cscript and
wscript.

------------------------------------------------------!!!
When running out of disk space Perfmon creates the event in the event
log but the script doesn't run.
------------------------------------------------------!!!

These are generated in the event log.

Event ID 2031 = Counter: \\MYComputer\LogicalDisk(C:)\% Free Space has
tripped its alert threshold. The counter value of 28.0766666666667 is
under the limit value of 20000.

Event ID 2038 = Unable to execute command '' for the Free Disk Space
alert. The alert will continue as scheduled. The error code returned
is in the data.

Wha am I missing?

Thanks in advance

.



Relevant Pages

  • Re: Perfmon script not working??
    ... I had perfmon call a bat file with (cscript ... | I'm trying to monitor free disk space using Performance Monitor. ... | free space falls below a certain value I have an email.vbs script I ... | An alert was created on Windows 2003 server using the Logical Disk ...
    (microsoft.public.win2000.general)
  • Re: Perfmon script not working??
    ... cscript scriptname.extension ... | I'm trying to monitor free disk space using Performance Monitor. ... | free space falls below a certain value I have an email.vbs script I ... | An alert was created on Windows 2003 server using the Logical Disk Free ...
    (microsoft.public.win2000.general)
  • RE: The following disk is low on free disk space. Low levels of fr
    ... I understand that you receive low disk alert after you install a removable ... Right-click Low Disk Space and click Properties. ... Repeat until all fixed hard drives that we want to monitor have been ... Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.sbs)
  • RE: The following disk is low on free disk space. Low levels of fr
    ... I understand that you receive low disk alert after you install a removable ... Right-click Low Disk Space and click Properties. ... Repeat until all fixed hard drives that we want to monitor have been ... Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.sbs)
  • Re: Low Disk Space alerts
    ... I'm sure the alert was ... If you have enough disk space on the server's internal disks, ... a server reboot was not required. ... you can change the Low Disk Space ...
    (microsoft.public.windows.server.sbs)

Loading