Hi
more of an admin request
very impressive c#/powershell library for pretty much anything you want to do programmatically on PRTG.
https://github.com/lordmilko/PrtgAPI
Any chance this can be added to the documentation... or sticky a post or something?
excellent for:
- bulk creation of sensors
- programmatic creation of sensor factory sensors (wow)
Article Comments
Totally stole my thunder! :P
As stated, PrtgAPI can be used for cloning sensors in bulk cloning sensors in bulk as well as generating sensor factory definitions based on custom queries. Creation of custom sensors from scratch is something on the todo list, however is currently low priority due to this not being possible using the RESTful API.
The wiki contains complete documentation on how to use PrtgAPI in both C# and PowerShell. Under C#, PrtgAPI supports both synchronous, async and "streaming" request modes.
If you have any issues with PrtgAPI, please open an issue on GitHub!
Regards, lordmilko
Oct, 2017 - Permalink
Hi lordmilko,
Is it okay for you if we add it to our script-world? Unfortunately, we didn't found any contact-details on your GitHub page. :)
Best regards.
Oct, 2017 - Permalink
@lordmilko
ooops sorry!!
can i just say that it's some incredible work you've done with the powershell module. and fantastic documentation too. i HATE clicking through windows so this is a godsend :)
Oct, 2017 - Permalink
Hi Dariusz,
That's no problem. In addition, it may be worth adding PrtgAPI.CustomSensors (which is written in just PowerShell) to the script world as well as a separate entry.
Thanks for the feedback trunq, I'm glad it's working well!
Regards,
lordmilko
Oct, 2017 - Permalink
Hi lordmilko,
The script was added as well to the ScriptWorld. :)
Best regards.
Oct, 2017 - Permalink
Hi there,
We have added the library to our script world which can be reached under the following URL:
https://www.paessler.com/script-world/
Best regards.
Oct, 2017 - Permalink