New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


PowerShell script not getting executed for a Sensor

Votes:

0

Your Vote:

Up

Down

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

execute-program notifications powershell

Created on Aug 11, 2016 3:40:02 PM by  jamal (0) 1



2 Replies

Votes:

0

Your Vote:

Up

Down

I have looked at process explorer and see on the instance when the PowerShell isn't run the PRTG process doesn't even create a PowerShell process which it does create when the script is run successfully.

Created on Aug 12, 2016 8:43:25 AM by  jamal (0) 1



Votes:

0

Your Vote:

Up

Down

What PRTG version are you actually running and what parameters is the powershell notification using?

Created on Aug 15, 2016 9:28:47 AM by  Stephan Linke [Paessler Support]



Please log in or register to enter your reply.


Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.