When I clone a device or group through the following HTML API call the resulting group or device ends up with the "Schedules, Dependencies, and Maintenance Window" inheritance turned off (ie. pointing to itself) even though the original had it turned on.
https://PRTGHost/api/duplicateobject.htm?id=objectID&name=GroupName&targetid=targetID&auth
If I clone the same device or group to the same destination using the web interface (right click, clone) it keeps the inheritance on.
I am using the API as I have 100's of groups to clone. I really don't want to have to go into every group and every device that has been cloned and update this setting. (I understand that I cannot use the API to change the inheritance of "Schedules, Dependencies, and Maintenance Window")
Add comment