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


Can sensor messages be used in Notifications .exe as a parameter

Votes:

0

Your Vote:

Up

Down

Hi,

For example:

Using Windows Event Logs sensor, filter for certain events, when it finds those events fire off a Notification which will run a powershell script, is it possible to use the last sensor message as a parameter for that script?

If so, since the sensor might return more than one event. Will they all be in the same sensor message?

Thanks

notifications powershell windows-event-log

Created on Jul 8, 2016 4:14:56 PM by  kusumah (0) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

Simply use %lastmessage to use the message that was shown when the state changed :)

Created on Jul 11, 2016 10:20:57 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.