T
taipan
I'm not sure if this is the correct group to place this thread, but hopefully
I can find the answer.
Right now on a few dell systems running windows XP pro sp3 on an active
directory domain I'm trying to use the performance logs and alerts to help
monitor my free disk space on a few of my servers. These servers run our
website and an ftp site.
On a few of them the partition for the Operating System is running
dangerously low. We are currently trying to alleviate this problem, but
that's another matter.
The Problem I'm having is getting the alert notice to run a batch file that
will send an email to the IT department. I've configured the alert and it
shows up in the application logs under the event viewer. However my batch
file Itest.bat will not run from the alert.
I know the Batch file works, because I can run it from it's location and get
my test email. I can schedule it in the task manager and get the test email.
However when I want the alert to run Itest.bat it will not run. In the area
to run the alert as a particular user I have tried entering in my user id and
password (i am a domain administrator) I've tried running it as an
administrator which is also a domain controller. I'm not sure what else to
try.
/I did add the c:\test to my path as well as making sure eveyone was full
rights to that folder.
Right now I'm doing the test on my local system. Here are the settings for
the alert
General Tab
counters:
\\<local ssytem name>\Logical Disk ( C: )\%Free Space
alert : under Limit: 61,000,000,000 ( I have an 80GB hard drive and the
byte count is at 59,000,000,000)
Sample data every Interval: 2 Units: minutes
RunAs: \Lortondata\stan (stan has administrative rights)
Action Tab
Checkmark next to Log an entry in application event log
Checkmark next to Run this Program : C:\Test\Itest.bat
Schedule Tab
I have it start at a given time and have it manually stop it.
Thanks for any help you can give me. Sorry for the long post, but wanted to
give as much detail as possible.
I can find the answer.
Right now on a few dell systems running windows XP pro sp3 on an active
directory domain I'm trying to use the performance logs and alerts to help
monitor my free disk space on a few of my servers. These servers run our
website and an ftp site.
On a few of them the partition for the Operating System is running
dangerously low. We are currently trying to alleviate this problem, but
that's another matter.
The Problem I'm having is getting the alert notice to run a batch file that
will send an email to the IT department. I've configured the alert and it
shows up in the application logs under the event viewer. However my batch
file Itest.bat will not run from the alert.
I know the Batch file works, because I can run it from it's location and get
my test email. I can schedule it in the task manager and get the test email.
However when I want the alert to run Itest.bat it will not run. In the area
to run the alert as a particular user I have tried entering in my user id and
password (i am a domain administrator) I've tried running it as an
administrator which is also a domain controller. I'm not sure what else to
try.
/I did add the c:\test to my path as well as making sure eveyone was full
rights to that folder.
Right now I'm doing the test on my local system. Here are the settings for
the alert
General Tab
counters:
\\<local ssytem name>\Logical Disk ( C: )\%Free Space
alert : under Limit: 61,000,000,000 ( I have an 80GB hard drive and the
byte count is at 59,000,000,000)
Sample data every Interval: 2 Units: minutes
RunAs: \Lortondata\stan (stan has administrative rights)
Action Tab
Checkmark next to Log an entry in application event log
Checkmark next to Run this Program : C:\Test\Itest.bat
Schedule Tab
I have it start at a given time and have it manually stop it.
Thanks for any help you can give me. Sorry for the long post, but wanted to
give as much detail as possible.