New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


Obtain Parent ID Through API

Votes:

0

Your Vote:

Up

Down

We are monitoring a large WAN with many nested levels. I'd like to be able to obtain the object ID of the parent group of any device and subsequent IDs of the parents of groups as I trace the hierarchy of the device all the way back to the probe. Any suggestions for the proper API calls? Thanks in advance!

api hierarchy parent prtg

Created on Jun 6, 2017 1:38:48 PM by  DexterSlab (0) 1



2 Replies

Accepted Answer

Votes:

0

Your Vote:

Up

Down

Dear DexterSlab

This example demonstrate how to get the parent ID:

/api/getobjectstatus.htm?id=1001&name=parentid

Created on Jun 6, 2017 7:27:26 PM by  Arne Seifert [Paessler Support]



Votes:

0

Your Vote:

Up

Down

That did the trick! I was looking for an object property. Strange that the parent ID would be a "status" of the device.

Thanks!

Created on Jun 6, 2017 7:48:39 PM by  DexterSlab (0) 1



Please log in or register to enter your reply.


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.