how to run exe in the scom server when event occure

dear,

am try to run .exe file on the SCOM server when alert raised.

the success one was when the .exe file on the same path but in the client (alert source)

Best Regards.

May 20th, 2015 6:13am

Hi,

please take a look at the following article. It describes running a simple .exe file with a task. Is this what you are looking for?

SCOM Tasks Part IV Lets Create a Simple Task
http://thoughtsonopsmgr.blogspot.ch/2010/09/scom-tasks-part-iv-lets-create-simple.html

Regards,

Free Windows Admin Tool Kit Click here and download it now
May 20th, 2015 7:59am

hi,

kindly thanks for reply.

but I need the task run automatically when the alert raised.

actually I have third party exe make call, I need the exe run automatically when some server down.

best Regard.

May 20th, 2015 8:07am

Hi,

so if I understand right you need to run a recovery Task (Run Command diagnostics and recoveries) for specific monitor. You can find a simple guide here:

Diagnostics and Recoveries
https://technet.microsoft.com/en-us/library/hh705258.aspx

and here

How to Enable Recovery and Diagnostic Tasks
https://technet.microsoft.com/en-us/library/hh212768.aspx

Regards,

Free Windows Admin Tool Kit Click here and download it now
May 20th, 2015 8:29am

hi,

thanks for your response.

I create Diagnostic Tasks to run the exe on some alert. but I found that the exe should be exist in the target server not in the SCOM , I don't know is this correct Or I can skip this issue .

best regards.

May 20th, 2015 8:36am

Hi,

The exe file must be on the target host(s) where you want to execute the exe file

Free Windows Admin Tool Kit Click here and download it now
May 20th, 2015 10:55am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics