A
Adisegna
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
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