Hello,
This is what I am getting when I try to create new group throw
//Add a new group named "Servers" to the object with ID 1001 var group = client.AddGroup(3003, "Servers"); //Add a new device named "dc-1" to the "Servers" group var device = client.AddDevice(group, "dc-1"); or var device = client.AddDevice(3001, "dc-1", "192.168.0.1", AutoDiscoveryMode.Automatic);
\/
https://github.com/lordmilko/PrtgAPI/wiki/Object-Creation#groups
this link above /\
Exception thrown: 'PrtgAPI.PrtgRequestException' in PrtgAPI.dll An unhandled exception of type 'PrtgAPI.PrtgRequestException' occurred in PrtgAPI.dll PRTG was unable to complete the request. The server responded with the following error: The parent object (i.e. device/group) for your newly created device doesn't exist anymore. Object creation cancelled.
Could you help me? I am new with PRTG. Thank you in advance.
Add comment