I am trying to execute a PowerShell Script as a notification when a sensor goes down. PowerShell script is executed successfully for a local probe (Sensor on the machine where PRTG is installed). But it is not running for an IMAP sensor. So when the IMAP sensor goes down the script isn't run at all. In the logs it says "Status sending EXE:OK" but the script doesn't run.
Is there a difference how notification is triggered for remote probe as appose to local probe. If not can someone please advise on how I can debug this issue