New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


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

Votes:

0

Your Vote:

Up

Down

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 by  pbala2009 (0) 1

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



1 Reply

Votes:

1

Your Vote:

Up

Down

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]



Please log in or register to enter your reply.


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.