What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Python Script Advanced Sensor - How to add additional modules in PRTG python

Votes:

0

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__

python python-script-advanced-sensor pywin32 wmi

Created on May 11, 2016 7:34:51 AM

Last change on Jan 18, 2017 6:38:12 AM by  Luciano Lingnau [Paessler]



1 Reply

Votes:

1

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

Created on May 12, 2016 7:11:38 AM by  Konstantin Wolff [Paessler Support]




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.