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:
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!!!
Answer by Kyle K. ·
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.
JANUARY 15, 3:00 PM GMT / 10:00 AM ET