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

PRTG Network Monitor

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

Free Download

Top Tags


View all Tags

Running different scripts on sensor error and after exiting the error

Votes:

0

Your Vote:

Up

Down

Hi. Please tell me if it is possible to use two script files in notifications of one sensor. Example: Sensor server123 is offline when the notification starts the script error.ps1. Sensor server123 online script runs online.ps1

notification prtg script

Created on Oct 26, 2021 12:34:08 PM by  hixr0k (0) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

Hello,

a state trigger allows you to use a different template when a sensor no longer has the triggering status. But in this case, it would be better to use two different triggers, one for down, one for up, each using a different notification template which defines a different script to run.

Created on Oct 26, 2021 6:32:43 PM by  Arne Seifert [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.