I am looking for a plugin that can monitor a specific process and if the process goes down have the ability to start an .exe file that restarts the process. I found the process monitor and i found the command line plugin, is there one that has both these abilities?
Answer by Andreas G. ·
I also agree with Dereks approach. You want to keep these two things separated. You have a monitor that tells you the status of your system and use then use an Action to fix that status.
An alternative approach would be to write a Task. A Task (as the name implies) can be executed on a regular basis and can do the Check and Restart in one Task.
Andi
Answer by Derek A. ·
I don't believe so, in past versions of dynaTrace the different types of plugins (Monitor/Task/Action) didn't play well wtih one another. Perhaps it's changed. You probably wouldn't need to call the plugin directly though, but in the code inside of the Process Monitor plugin, you would just execute your command line code to restart the process.
Answer by Derek A. ·
I don't believe there is one that does both. The Process Monitor could probably be modified to do that. I think you'd want to keep them seperate though, since one is a Monitor Plugin (Process Monitor) and the other is an Action Plugin (command line plugin). So the condition of the alert will be the measure from the process monitor and the action of the alert will be the command line for restarting the process. Using dynaTrace's built in incidents, you'll be able to track this better. Just my opinion/preference though.
JANUARY 15, 3:00 PM GMT / 10:00 AM ET