Hi all,

first of all Im new to PRTG.

I want to add sensor to a device automatically with script, its doesnt matter for me on of those-: Python/batch/PS, is that possible ? if yes how?

I can add Custom Sensor, but I have to add that sensor to a device, I want automate this all.

My situation: I have deviceA and I want to add a sensorB to deviceA by script.

Thanks in advance

Best Regards Neeloj


Article Comments

Hello Neeloj,

I would recommend to use for this the PrtgAPI from lordmilko. Please take a look here about creating objects.


Kind regards

Felix Wiesneth - Team Tech Support


Jun, 2020 - Permalink

Thanks for your answer @Felix, good articles I'll check them at weekend, Do you have semilar API for python?


Jun, 2020 - Permalink

Hello Neeloj,

Since the creator of the mentioned API is lordmilko, this is a third-party tool. We are not working on a similar API.


Kind regards

Felix Wiesneth - Team Tech Support


Jun, 2020 - Permalink

Thank you @Felix, I also dont prefer third-party tool, do you have any other suggestion for me ? to solve my task/problem?


Jun, 2020 - Permalink

Hello Neeloj,

I'm sorry but I don't have any more suggestions. I would recommend to use the PrtgAPI from lordmilko.


Kind regards

Felix Wiesneth - Team Tech Support


Jun, 2020 - Permalink