October 28, 2011 at 1:51 pm
I've configured a user defined data collector sets to try to alert when a performance alert has execeeded a certain threshold.
I've created a command batch script (.bat file) to send email out when it happens.
I've created a vbs to execute the command script .
I've tested it manually by running it on command prompt and it executed as expected and i got the email notifications successfully.
cscript c:\locations\Detecting_Drive_space_Alert.vbs
the problem is when i try to put this on the DataCollector userdefine under Alert Task:
For Run this task when an alert is triggerred:
c:\windows\system32\cscript.exe
For Task arguments:
c:\locations\Detecting_Drive_space_Alert.vbs
I started the user defined Data Collection task, and according to the event viewer, it did went beyond the threshold and therefore I should have gotten my email notifications as when i ran it manually. However, I never got the email and on top of it, the even viewer states error:
It gives me this error: Alert Data Collector in Data Collector Set Space-Alert Failed to start task, error code is 0x8007007B.
What am I missing?
Viewing post 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply