Question Locked

Performance monitor Alerter not able to run a program

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi, I am having a little problem getting Performance monitor to run a program when an alert is fired. On the action tab of the alert I have checked "Log an entry in the application event log" and "Run this program". The program I am trying to run is just a simple .cmd file that just creates a simple test file (test.txt). If I run the .cmd file by clicking on it, it works fine. But the alerter never runs it even though it writes to the event log. I have started the "alerter" service under services but that made no diffrence. I also took out all the command line arguments. I have tried this on 3 computers, 2 running XP and one running W2003 server. Has anyone any idea on how make the performance monitor start another program when an alert goes off?

BR Bjarni

2 replies

by dcomeau

I just tried doing the same thing. My CMD/BAT file echoed a simple line of text to a file. The destination was explicitly defined (such as c:\output.txt). You also need to configure the 'Run As' with credentials (Administrator works fine).

This discussion is closed to new replies.