Can Windows Server be setup to Send a Trap if a Specified Process Dies?

Title about says it all.  I am running a Win 2008 server running a process say coolexpert.exe.  I would like Win 2008 to send a trap if that service goes to stopped state.  Is this possible and if so how?  Thanks.
amigan_99Network EngineerAsked:
Who is Participating?
vahiidConnect With a Mentor Commented:
You should be able to use "Reliability and Performance Monitor" tool to run a specific command line (Send a Trap) if a process does not exist, which is what happens if a service is stopped. (Process count is below 1)

In Reliability and Performance, open "Data Collector Sets" and create a new "User Defined" set and choose "Performance Counter Alert", then add "Process" -> "Thread Count" and choose your process name and finish. Then go to the properties of the newly created DataCollector and chose the "Task" tab and add the command line you want.

NetcraftConnect With a Mentor Commented:
amigan_99Network EngineerAuthor Commented:
Thanks for all the resources.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.