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

Is there a way to load the paepy module in PRTG v 20.1.55.1775 with Python 3.7?

Votes:

0

Your Vote:

Up

Down

I have a custom python script that was written to use the paepy module to format values properly. When it was written, PRTG used Python 3.4 and a simply "pip install paepy" would do the trick.

Trying that with the current version, I get the following error:

ERROR: Could not find a version that satisfies the requirement paepy (from versions: none) ERROR: No matching distribution found for paepy

Was the paepy module dropped?

custom-python-script paepy python

Created on Jan 27, 2020 7:21:02 AM by  atvedge (0) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

Hi atvedge,

Please try to add the following code to your script:

For importing pae libs:

from prtg.sensor.result import CustomSensorResult
from prtg.sensor.units import ValueUnit

For channel definition:

csr.add_channel(name="Response Time", value=4711, unit=ValueUnit.TIMERESPONSE)

Created on Jan 27, 2020 10:30:34 AM 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.