I was not asking for error messages returned by the application started by PRTG. I was asking for the whole call, i.e. full command that was executed by PRTG.
The thing is that PRTG's variables may contain some special characters that may have a special meaning for particular applications that are started by PRTG. And once the command is issued, the parameters containing these special characters may be parsed differently. Imagine e.g. how unexpected quotation marks may change the meaning of issued command. Such command won't necessarily fail, it will just be a different command than the one which was meant to be issued.
This brings me to escaping special characters. Can you provide some way how to make sure that some special characters contained in your variables will be escaped as needed by the application that is triggered by notifications?
Add comment