What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

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

Running a custom Sensor fails



I have created a Custom sensor as VB-Skript. It checks the modification date of a logfile on a remote systems and returns the message "OK" or "WARNING" with the following code:

IF a > b then
    wscript.echo "Warning"
    wscript.echo "OK"

To access the logfile I use the following method:

When I run the script directly it works fine. When I try to run it via PRTG it gives back the following message: Response not wellformed: "C:\Program Files (x86)\PRTG Network Monitor\custom sensors\EXE\checkSyncServiceLog.vbs(35, 1) Microsoft VBScript runtime error: File not found "

and the sensor is set to error.

What is wrong?

custom-sensor response-time vbscript

Created on Sep 21, 2011 9:09:40 AM

Last change on Sep 21, 2011 12:41:36 PM by  Torsten Lindner [Paessler Support]

1 Reply




most likely the PRTG Probe does not fine the file, as suggested by the error message. This can be an permissions issue, if the Probe Service does still run under the "LOCAL SYSTEM"-account which it does by default. You could then try running the Probe Service under an (domain) admins account.

best regards.

Created on Sep 21, 2011 12:43:02 PM by  Torsten Lindner [Paessler Support]

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.