Highlighted
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

0 Kudos
5 Replies
Highlighted
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).

0 Kudos
Highlighted
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

0 Kudos
Highlighted
VMware Employee
VMware Employee

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

0 Kudos
Highlighted
Contributor
Contributor

pastedImage_0.png

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

0 Kudos
Highlighted
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

0 Kudos