One of our customers has requested to create sound alerts for their monitoring center, which consumes the Dynatrace Appmon tool.
So to attend this request, I've created a script that sends via Psexec a remote command for the NOC server to read written messages by doing Text-To-Speech. so, it was possible to create alerts based on customized messages for each alerts, without the need to create sound files.
You need the following in order to get this working:
Using PSExec Tool:
The following example script, plays the remote command on windows machines, as follows:
#:\path\psexec -i \\target ip address -u domain\user -p password mshta vbscript:Execute("CreateObject(""SAPI.SpVoice"").Speak("%arg1%")(window.close)") /accepteula
Just fill target address, user and password.
This file must be on your Dynatrace Server because of Generic execution plugin. The actions are send only by the server.
Then, In AppMon, you must configure an action for the incident, by using generic execution plugin:
Then, the computer will tell you which alert is. You can use variables like [host], for example.
Thank you !