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.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Monitor the status of a script

Votes:

0

Your Vote:

Up

Down

We would like to monitor the status of a data import script with PRTG. What is the best solution here? I have two ideas but for both of them I am not sure if they doable.

Solution 1) At the end of the script we make a REST call to PRTG and set a sensor either to green or red.

Solution 2) The import script write at the end of the run into a file the status. PRTG is then reading this file an sets the sensor to red or green depending on the content of the file.

Or is there another prefered solution by PRTG?

powershell prtg scripts

Created on Jan 20, 2023 2:45:40 PM by  rluthiger (0) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

Hi there,

I would recommend to use solution 1) but that you send a HTTP query to a "HTTP Push Data Sensor" https://www.paessler.com/manuals/prtg/http_push_data_sensor

Created on Jan 23, 2023 12:23:46 PM by  Moritz Heller [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.