• 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
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Ken B. · Sep 16, 2014 at 08:20 AM · plugins

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 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

3 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
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 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

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 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

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 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

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?

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Related Questions

Oracle Database Plugin

Data of performance warehouse - Any documentation about the data?

Windows Performance Monitor not keeping data

Could you please provide details on how to integate Dynatrace with the Jenkins pipeline. In particular running Jmeter tests

Stock Quote Monitor plugin

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • 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