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


new python script not showing up in pulldown list

Votes:

0

Your Vote:

Up

Down

hi, i added a new python script to the ..\python folder below and it is not showing up in python script advanced sensors in prtg. the location of the script is below. only the example script shows up in the pull-down

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\python\

custom-sensor prtg python-script-advanced-sensor

Created on Jul 17, 2020 3:26:54 PM by  Rob Zimmelman (0) 1



7 Replies

Votes:

0

Your Vote:

Up

Down

Rob,

Have you tried going to Setup -> System Administration -> Administrative Tools, and click Go under Reload File and Lookup Lists?

Try this, and then try adding the sensor again.

Benjamin Day
[Paessler Support]

Created on Jul 17, 2020 4:52:41 PM by  Benjamin Day [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Benjamin, I tried this option: "Load Lookups and File Lists", "Reloads the lookup files from the lookups\custom folder of the PRTG program directory, and other file lists that are displayed in the web interface, for example, SNMP libraries, device icons, and report templates."

Unfortunately, only the sample script shows up when I go to "Add Sensor", select the machine, then "Next", then py to pop up the Python Scripts Advanced box, Select it, and then only sensor_example.py is still the only script that shows up. I have five other scripts in that folder.

I see it mentions lookups\custom folder\ and my python scripts are in the location of the supplied sample python script:

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\python\

Just double-checking if that folder is the correct location for my python (the same location as the sample). Thanks again Benjamin

Created on Jul 17, 2020 5:21:07 PM by  Rob Zimmelman (0) 1



Votes:

0

Your Vote:

Up

Down

Rob,

Can you try restarting the PRTG Core Server service?

Which version of PRTG are you presently running?

Benjamin Day
[Paessler Support]

Created on Jul 20, 2020 5:25:47 PM by  Benjamin Day [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Hi Benjamin, I restarted PRTG Core Server service and still see only the sensor_example.py file. Is there another location that the scripts might exist? Thanks! We are running PRTG Network Monitor 20.2.59.1689 x64

Created on Jul 21, 2020 11:54:22 AM by  Rob Zimmelman (0) 1



Votes:

0

Your Vote:

Up

Down

We are running PRTG Network Monitor 20.2.59.1689 x64. Restarting services did not make a difference. I still only see the sensor_example.py in the pull-down. Thanks again for the help here.

Created on Jul 21, 2020 11:59:02 AM by  Rob Zimmelman (0) 1



Votes:

0

Your Vote:

Up

Down

i'm running a cluster and needed to copy the scripts to all the nodes in the cluster. Thanks!

Created on Jul 21, 2020 12:22:23 PM by  Rob Zimmelman (0) 1



Votes:

0

Your Vote:

Up

Down

Rob,

Yes, you will need to copy this to the failover as well.

Benjamin Day
[Paessler Support]

Created on Jul 21, 2020 4:16:56 PM by  Benjamin Day [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.