Hi all.

Here is a usecase I would like to solve programmatically.

I have a long list of locations, each with a dedicated subnet used for network devices. For each location, I would like to have a named subgroup, set the group type to auto-discovery, and define it's subnet address/mask.

This way, I could populate the whole infrastructure with corresponding sensors using only location name + subnet/mask.

I have tried to solve this by using https://github.com/lordmilko/PrtgAPI, but haven't found a way to set subnet/mask property on a group.


Article Comments

Hi,

I'm afraid that the PRTG API does not offer that functionality in the current version. Maybe other users found a solution using Lord Milko's API and share their solution here.


Kind regards,
Felix Saure, Tech Support Team


Jan, 2019 - Permalink