• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 369
  • Last Modified:

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.
0
amigan_99
Asked:
amigan_99
2 Solutions
 
vahiidCommented:
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.

Vahid
0
 
NetcraftCommented:
0
 
amigan_99Author Commented:
Thanks for all the resources.
0

Featured Post

Threat Trends for MSPs to Watch

See the findings.
Despite its humble beginnings, phishing has come a long way since those first crudely constructed emails. Today, phishing sites can appear and disappear in the length of a coffee break, and it takes more than a little know-how to keep your clients secure.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now