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?
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)
Jan, 2020 - Permalink