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!!!
Article Comments
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!
Jun, 2017 - Permalink
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://helpdesk.paessler.com/en/support/solutions/articles/76000065185
https://helpdesk.paessler.com/en/support/solutions/articles/76000063264
Best regards.
Jun, 2017 - Permalink
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.
Jun, 2017 - Permalink