I'm trying to configure an alarm that execute a program. I also configured an email action to send an alarm to my email when the application stop responding.
When I shut down the application for testing (an Oracle database) I receive the e-mail but the batch file is not executed. Both actions are configured correctly on the alarm section of the monitor.
The batch file I am trying to execute is:
psexec
\\w2003 c:\scripts_ora8\start.cmd
I also tried:
@psexec
\\w2003 c:\scripts_ora8\start.cmd
and also creating a second batch that calls the first one with the call command but nothing works.
When I run the batch from the command prompt it works perfectly.