Comments have been closed on this page. Please use AppMon & UEM Plugins forum for questions about this plugin.
SSH Action Plugin
dynaTrace >= 4.x
Joe Hoffman (email@example.com)
Ensures encrypted communication with remote machine Executes any command or script Open source: Adaptable as necessary OS Independent Uses the jsch (java Secure Channel) encryption package which is an implementation of SSH2
It accepts SSH connections from whatever responds on port 22 on the specified machine. This means that it could be vulnerable to a Man in the Middle attack. Therefore we suggest running it on and across only trusted networks. This plugin requires an SSH service be running on the specified remote machine. FreeSSHd is a good option for any OS that does not have SSH natively.
Output from the executed command is written to the plugin log which can be found in the log directory of the Collector where the plugin is being executed.
Additional suggested Improvements
Feel free to contribute any changes on Github
I just used this plugin to generate a voice message upon incident:
You would have to setup a Linux box in your office, to which you can connect from the Dynatrace server through ssh using this plugin.
On this target Linux box, you should install the “festival” text to speech package, with at least one voice, to be able to use the “text2wave” command :
For my Mint distribution (based on Ubuntu), I had to issue the following commands, as root, to install the required packages :
apt-get install festival
apt-get install festvox-don
You’ll also need to install “aplay” if it’s not already there.
Then, use the following piped commands to have your Linux Box pronounce a text :
echo 'Some incident occurred' | text2wave | aplay
Now, in Dynatrace, just add an SSHClientAction to your incident rule, and configure it to connect to your Linux Box, with user, password and the aforementioned command :
When the incident is triggered, the Dynatrace Server will run the ssh action, connecting to the Linux Box in your office…and your Linux Box will speak to you.
I am not able to download this plugin, when i client on the link to the jar file, it just redirects me to the same page.
Hi Shiv. Thanks for making us aware of this. The plugin just moved to our new GitHub repository. This link has not been update. It should work now.
Thanks for the prompt action Andreas!.