Showing results for 
Show  only  | Search instead for 
Did you mean: 

This product reached the end of support date on March 31, 2021.

Using TTS sound alerts on AppMon for NOC purposes


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:

  • Create a account that has permission to do remote commands to the target machine
  • Use PSEXEC command ( Permissions )
  • Activate the voice recognition ( Windows, Linux)
  • Use a script that plays the message by command line
  • Use Generic execution Plugin


Using PSExec Tool:

The following example script, plays the remote command on windows machines, as follows:

@echo off 
set arg1=%1

#:\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 !


Dynatrace Leader
Dynatrace Leader

Very cool idea.

Thanks Joseph!


Welll Done!