I want to install the PRTG 22.2.77 update. What do I need to know?
What do I need to know about PRTG 22.2.77 regarding Python?
Modified on 2025-06-10 16:48:22 +0200
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.
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.
This article applies as of PRTG 22.2.77
Python update and Python library update
PRTG 22.2.77 includes an update of the Python distribution. The update includes the following changes:
Python 3.9.12 update
Check the Python 3.9.12 changelog for a comprehensive list of changes and deprecation notices.
New /paesslerag_prtg_sensor_api/ library
We renamed the Python helper library from prtg to paesslerag_prtg_sensor_api. 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.
Example based on sensor_example.py:
from prtg.sensor.result import CustomSensorResult from prtg.sensor.units import ValueUnit
from paesslerag_prtg_sensor_api.sensor.result import CustomSensorResult from paesslerag_prtg_sensor_api.sensor.units import ValueUnit
Note: You can find the example sensor_example.py 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
Apr, 2022 - Permalink