Hello,
i have a problem with the notification. I set it to execute this scriptand set the right parameters.
The scripts works if it is executed in the powershell of de server containing the same parameters as the PRTG server. The Notification protocol shows "sending EXE: OK" after the trigger pulls, but if i put in the subject or in the body variables like %message or %name it always shows up errors like:
Fehler beim Versenden von "EXE": Fehler1. Code: : The term 'Code:' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:161 + ... ierter[...] (Sensor/Source/ID: 5074/5072/1) |
in this example the error message has a "Code:" and it doesn't recognize it as a string. What is set wrong?
Add comment