I want to install the PRTG 22.2.77 update. What do I need to know?
Article Comments
Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.
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:
- Update to Python 3.9.12
- New /paesslerag_prtg_sensor_api/ library
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
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 ValueUnitfrom paesslerag_prtg_sensor_api.sensor.result import CustomSensorResult from paesslerag_prtg_sensor_api.sensor.units import ValueUnitNote: 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\pythonor
%programfiles%\PRTG Network Monitor\Custom Sensors\pythonApr, 2022 - Permalink