VMware Cloud Community
DynamiteKid
Contributor
Contributor

Is it possible to extract the data that is being used to generate the topology widget in vRealize Operations Manager?

I'm currently working on a project in work that requires me to extract data from VROps that shows the connections between VMs in our environment.

The topology widget seems to contain the information I need but it is in graphical form.

Would anyone know how I could extract this information in a tabular format?

Or even any suggestions of alternative ways to extract the information I need?

Thanks in advance

Anthony

Reply
0 Kudos
5 Replies
Oulyanov
VMware Employee
VMware Employee

I would use REST API "GET relationships" - see vrops REST API docs for details (it's availible on your vrops with https://vropsIP/suite-api).

Reply
0 Kudos
DynamiteKid
Contributor
Contributor

I've found the REST API very helpful, thanks!

The only problem is that it doesn't return VMs that are shown in the topology graph to be connected to the VM being queried.

It only shows the other objects which are related(Services, ServiceTypes, Hosts, datastores etc.).

Do you have any idea why this might be?

Thanks

Reply
0 Kudos
Oulyanov
VMware Employee
VMware Employee

Can you post the screenshot of the topology graph you're referring to

Reply
0 Kudos
DynamiteKid
Contributor
Contributor

pastedImage_0.png

When I query the API with 'getRelationships' VM1 doesn't show up.

Reply
0 Kudos
Oulyanov
VMware Employee
VMware Employee

It would be interest to know how this VMs are connected

you might try to investigate the "relationsOfResource” part of the responce from GET Resources:

First GET Host System information: https://s030v0004.comp01.local/suite-api/api/resources/e1ee4965-83f7-4b24-8570-3145f6a4e54e

where you might be able to find the resource which are connected and than use nex query to determine relationshi[s

Reply
0 Kudos