New Question
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.

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

After updating to PRTG 20.1.55, my Python Script Advanced sensors are down



Your Vote:



After updating to PRTG 20.1.55 all my Python Script Advanced sensors are in a Down status. What is causing this issue?

custom-sensor important prtg python python-script-advanced-sensor

Created on Feb 20, 2020 2:11:11 PM by  Florian Weik [Paessler Support]

Last change on Feb 24, 2020 8:18:37 AM by  Florian Weik [Paessler Support]

1 Reply

Accepted Answer



Your Vote:



This article applies as of PRTG 20.1.55

Python library update and Python Script Advanced sensors

PRTG version 20.1.55 includes a new Python distribution because of the end-of-life announcement for Python 3.4. The new Python distribution includes a new prtg library and new cryptography libraries.

New /prtg/ library

We replaced the existing paepy library with the new prtg library. The new property names used to create a result set now adhere to the PRTG custom advanced sensor nomenclature. The new libraries also support the full custom advanced set.

To make sure that your Python Script Advanced sensors continue to work properly, please review the updated Python Script Advanced sensor example and adjust your Python scripts accordingly.

You can find the example in the \python subfolder of the PRTG program directory under:

%programfiles(x86)%\PRTG Network Monitor\Custom Sensors\python or %programfiles%\PRTG Network Monitor\Custom Sensors\python

New cryptography libraries

We also replaced the cryptography libraries. PRTG Python now ships with cryptography and PyCryptodome. This is because the previously used libraries are no longer maintained. In addition, the integrated Python now also ships with pip and setuptools preinstalled. This change eases integration of other packages.

Most important changes

Old VersionNew Version
Importing pae libsfrom paepy.ChannelDefinition import CustomSensorResultfrom prtg.sensor.result import CustomSensorResult
from prtg.sensor.units import ValueUnit
Properties for channel definition changedresult.add_channel(channel_name="Response Time", unit="TimeResponse", value="4711")csr.add_channel(name="Response Time", value=4711, unit=ValueUnit.TIMERESPONSE)

For more information, see the full change log for Python 3.7:

Created on Feb 21, 2020 2:01:33 PM by  Florian Weik [Paessler Support]

Last change on Feb 24, 2020 8:23:53 AM by  Florian Weik [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.