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

PRTG Network Monitor

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

Free Download

Top Tags


View all Tags

Python 3.6.1 Script for login into PRTG server.

Votes:

0

Your Vote:

Up

Down

Hello everybody.

Mi name is Carlos, and work in networking area. We have a PRTG server and I need write a python code that do logon into PRTG server, and, create a ipflow sensor (wich the 9996 port and 5 minutes configuration), for a determinate device. all automatically.

Is that possible?

I'am beginner wich python and programming. but the prt server i know to much.

Sorry by the english redaction.. is bad.. i know..

thx in advance.

Regards!!!

prtg-login python3-6-1 sensor

Created on Jun 8, 2017 12:32:48 AM by  prtg-python (0) 1



6 Replies

Votes:

0

Your Vote:

Up

Down

Hi there,

Unfortunately, it is not possible to create sensors/devices via the API of PRTG. You can just clone already available sensors/devices/groups. You can find the documentation about how to clone objects via the API and how to change the settings of the cloned objects in your webinterface under "Setup > PRTG API > Object Manipulation".

Best regards.

Created on Jun 8, 2017 10:59:07 AM by  Dariusz Gorka [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Thx very much!! Regards!

Created on Jun 8, 2017 2:14:10 PM by  prtg-python (0) 1



Votes:

0

Your Vote:

Up

Down

Hello again.

Have a python code that configure a router cisco and work fine, but i don't know how call this code from prtg when a volumen traffic (threshold in kbps) is reached..

The question isn't how to configure a notificacion wich volumen.. because this now i know it. , the question is how call a archive.py from prtg..

thx!

Created on Jun 8, 2017 7:26:13 PM by  prtg-python (0) 1



Votes:

0

Your Vote:

Up

Down

Hi there,

You can do this in the notification settings (Setup > Account Settings > Notifications) under "Execute Program". This is also described on the following sites:
https://kb.paessler.com/en/topic/2543
https://kb.paessler.com/en/topic/11283


Best regards.

Created on Jun 9, 2017 11:39:42 AM by  Dariusz Gorka [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Cool!, Excelent! Thx very much!!!!!!

Created on Jun 9, 2017 2:40:40 PM by  prtg-python (0) 1



Votes:

0

Your Vote:

Up

Down

Hi there,

Great that it works out for you. :)

Created on Jun 9, 2017 2:53:13 PM by  Dariusz Gorka [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.