What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

prtgAPI - can this be added to documentation/pinned?

Votes:

0

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)

powershell prtg sensor-factory

Created on Oct 20, 2017 9:36:22 AM



6 Replies

Votes:

0

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.

Created on Oct 23, 2017 10:04:57 AM by  Dariusz Gorka [Paessler Support]



Votes:

0

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

Created on Oct 25, 2017 11:41:27 AM

Last change on Oct 25, 2017 11:41:27 AM



Votes:

0

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.

Created on Oct 25, 2017 11:47:44 AM by  Dariusz Gorka [Paessler Support]



Votes:

1

@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 :)

Created on Oct 25, 2017 12:49:25 PM



Votes:

0

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

Created on Oct 25, 2017 1:35:53 PM



Votes:

0

Hi lordmilko,

The script was added as well to the ScriptWorld. :)

Best regards.

Created on Oct 25, 2017 2:34:16 PM by  Dariusz Gorka [Paessler Support]




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.