• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
        • Enterprise Synthetic Monitoring
      • Synthetic Classic
        • Synthetic Classic Open Q&A
      • BSM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Ken B. · Sep 16, 2014 at 08:20 AM · plugin

Plugin to monitor process and restart

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? 

Comment

People who like this

0 Show 0
10 |2000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Derek A. · Sep 17, 2014 at 12:41 AM

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.

Comment

People who like this

0 Show 1 · Share
10 |2000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Ken B. · Sep 17, 2014 at 12:45 AM 0
Share

Thanks for the reply Derek. Is there a way to have the Process Monitor Plugin call the command line plugin?

avatar image

Answer by Derek A. · Sep 17, 2014 at 12:50 AM

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.

Comment

People who like this

0 Show 0 · Share
10 |2000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by Andreas G. · Sep 17, 2014 at 12:54 AM

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

Comment

People who like this

0 Show 0 · Share
10 |2000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

Welcome to the
Dynatrace Community Forums

Check out the Forum User Guide and Forum Guidelines to learn how to get started.

Community Member of the Month
February 2019

Announcing Dynatrace's Community Member of the Month for February 2019, Larry R.! Click here to read more!

Employee Member of the Month
February 2019

Announcing Dynatrace's Employee Member of the Month for February 2019, Dave M.! Click here to read more!

Live webinar: AIOps done right through enhanced Dynatrace AI root cause detection

Learn the enhanced capabilities of the next generation Dynatrace AI root cause analysis and how to feed it with your own data sources.
Wednesday, February 20, 2019
Register today!

Live webinar: AIOps done right through enhanced Dynatrace AI root cause detection

Learn the enhanced capabilities of the next generation Dynatrace AI root cause analysis and how to feed it with your own data sources.
Wednesday, February 20, 2019
Register today!

NAM 2019 Beta is available

Would you like to have an early taste of what we have cooked up for 2019? We would love to hear your feedback and improve some of the new features. Check NAM 2019 Beta release notes.
Sign up today!

Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Related Questions

Available Plugins and Extensions 7 Answers

Setting Metric Group value in Custom Plugin Development 4 Answers

Integrating dynaTrace into other tools with SNMP v2 2 Answers

Top Process Monitoring Plugin - unable to execute monitor 7 Answers

Any plugin/way to see vmware hardware parameters like battery, fan, processors? 1 Answer

Forum Tags

nginx java dotnet docker 6.5 ios customization knowledge sharing browser agent mobileapp sensor chart 7.1 hybris 6.3+ production incidents Dynatrace Managed php javascript processes monitoring nodejs uem splunk license framework good to know installation web services plugin splitting rest webserver reports 7.0 kubernetes errors rum mainframe 6.1 account configuration forum user guide security web dashboard agent load window oneagent upgrade diagnostics search scheduler appmonsaas log analytics database performance warehouse services web performance monitoring user sessions test automation transactionflow measures business transaction migration plugins android dashlet server purelytics 6.2 rest api system profile appmon appmon 7 mobile monitoring collector adk messagebroker purepath apache guardian appmon iis 7.2 dashboard mq kibana client continuous delivery unique users postgresql sensors documentation alerting auto-detection 6.3 administration
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A
      • Enterprise Synthetic Monitoring
    • Synthetic Classic
      • Synthetic Classic Open Q&A
    • BSM Open Q&A