I would like to update my PRTG python with additional modules(wmi, pywin32) that required for my Python Script Advanced Sensor. I tried to update python with pywin32 but i am getting the below error,

File setup.py, line 16, in <module> exec(str(got)) File <string>, line 1944, in <module> File <string>, line 594, in __init__

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.

Hi,
to add modules to the PRTG integrated Python Interpreter they have to reside in the interpreter's site-packages directory. The same can be found at <PRTG Install Directory>\Python34\Lib\site-packages.
After adding the package there, you should be able to import the same in a script run by PRTG.
Best regards


May, 2016 - Permalink