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


PRTG – Advanced Scheduled Task Sensor

Votes:

0

Your Vote:

Up

Down

Dear,

In order to monitor the state of the Scheduled Tasks from different servers we need to implement a custom check based on a PowerShell script. Reading the official documentation, the PS script need to be copied to the PROB server first: "This list shows all files available in the corresponding \Custom Sensors\EXEXML sub-directory of the probe system's PRTG program directory (see Data Storage ). To appear in this list, please store the files into this folder ending in BAT, CMD, DLL, EXE, PS1, or VBS."

Source: https://www.paessler.com/manuals/prtg/exe_script_advanced_sensor

We would like to have a detailed configuration and explanation how to set it up because we do not manage the server probe. We need to communicate the exact steps to our partner.

Is the script useful from URL https://mycloudrevolution.com/2016/09/15/prtg-advanced-scheduled-task-sensor/ (PRTG-ScheduledTask.ps1)

Thx in advanced

prtg scheduledtask script

Created on Aug 28, 2019 9:32:34 AM by  Sebastien Vanden Bosch (0) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

Hi Sebastien

First, what do you want to check with the scheduled task sensor? last Run and last run result i assume? Thats exactly what the "PRTG-ScheduledTask.ps1" from the link you provided does.

So the script needs to be on the PROBE server which monitors YOUR enviroment (if you have agents, only there and not on the main server/probe). Usually in the folder: C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML

After you copied it there, you can create a new sensor on the device you want to monitor for Tasks. A new "EXE/script Advanced" sensor, choose the PS1 script you copied there in the step above and follow the manual (https://mycloudrevolution.com/2016/09/15/prtg-advanced-scheduled-task-sensor/) you provided in your question.

regards Thomas

Created on Sep 4, 2019 4:02:58 PM by  Thomas Umbricht (2,817) 3 3



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.