• 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 Anuj D. · Jun 09, 2015 at 01:53 AM · production

Executing a script on trigger of an incident

Hello All,

 

I want to execute a script on a remote Solaris machine whenever a particular incident is triggered in Dynatrace. I came across two different plugins to help do this:

  1. SSH Command Action Plugin
  2. General Executor Plugin 

 

SSH Commmand Action plugin does not seem to have any option to specify the path where the script might be placed. It looks like it can only execute a command so the script needs to be placed in the directory where the remote machine logs in. The general executor plugin seems to be available after version 5.5. I am using version 4.2 of Dynatrace

Has someone who has tried to execute a script using the SSH Command Action plugin help me with this? Also, if there are any other options to execute a script in Dynatrace when an event is triggered, that those are also welcome.

Thanks!!!

 

 

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.

1 Reply

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Kyle K. · Jun 09, 2015 at 01:59 AM

First I would highly recommend upgrading from 4.2 to a newer version as currently versions 5.6+ is officially supported. As far as executing a script the Generic Execution Plugin would be the way to go as it incorporates many of the features from the SSH command action plugin. In the meantime try using absolute paths when specifying which script you would like to run. 

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.

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

Out of box bussiness transaction highest contributing measure

web server is shut down No alerts received.

Monitor external web request - Response Time

Limitation of Calculate Results

How do the CPU and GC time are retrieved on JVM IBM WebSphere?

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