VMware Cloud Community
Sean_197
Contributor
Contributor

vRealize Operations Manager Custom Report

Hi all,

I create a report manually once a week using information found in vRealize Operations Manager. I have multiple environments to cover and this is time consuming. I would like to create a custom report with vRealize Operations Manager to automate my report but I just started working with VMware and my knowledge base is very limited.

Here is the data I would like to be included in my report;

  • vRealize Operations Manager Server name
  • vRealize Operations Manager Version
  • vRealize Operations Manager Build
  • Administration -> Solutions -> Collection Status
  • Administration -> Management -> Licensing -> Licence Keys -> License Capacity & License Usage
  • Home -> Recommended Actions -> I want to capture the alerts from all the tabs (see attached image)

Any help / suggestions would be greatly appreciated.

Reply
0 Kudos
9 Replies
KabirAli82
Expert
Expert

Hi,

Apart from the alerts you are looking for data which is not easy to show in a report. The license part can be fixed with a super metric. How many vROps environments do you have and do you update them on a regular base?


Was I helpful? Give a kudo for appreciation!
Braindumping @ http://kablog.nl/
Tweeting @ https://twitter.com/_Kabir_Ali_
Tags (1)
Sean_197
Contributor
Contributor

I have 14 different vROp servers that I report on weekly. Do you think I'd have a better shot at achieving automation with PowerShell? 

Reply
0 Kudos
KabirAli82
Expert
Expert

In that case the API is your friend.

GET <FQDN>/api/versions/current will get you

  • vRealize Operations Manager Version
  • vRealize Operations Manager Build

 

GET <FQDN>/api/adapters will get you

  • Administration -> Solutions -> Collection Status

 

Best to create a super metric for this and collect it by an API call

  • Administration -> Management -> Licensing -> Licence Keys -> License Capacity & License Usage

 

GET <FQDN>/api/alerts will get you

  • Home -> Recommended Actions -> I want to capture the alerts from all the tabs (see attached image)

 

Check out the full API documentation on:
https://<FQDN>/suite-api/doc/swagger-ui.html

 

The only thing missing is the server name, but that can be taken from your own input (or even as a super metric).


Was I helpful? Give a kudo for appreciation!
Braindumping @ http://kablog.nl/
Tweeting @ https://twitter.com/_Kabir_Ali_
Sean_197
Contributor
Contributor

Thank you so much!

Last super newb question,

From where do I run these commands?

 

Reply
0 Kudos
KabirAli82
Expert
Expert

You need to write a script for that. The script can be in any of your favorite language.

For Powershell this might be a good starting point;

https://www.kablog.nl/2020/05/18/trend-micro-vrealize-operations-dashboard-api/

  


Was I helpful? Give a kudo for appreciation!
Braindumping @ http://kablog.nl/
Tweeting @ https://twitter.com/_Kabir_Ali_
Sean_197
Contributor
Contributor

Could you give me an example as to how you would write this following part in PowerShell?

GET <FQDN>/api/versions/current will get you

  • vRealize Operations Manager Version
  • vRealize Operations Manager Build
Reply
0 Kudos
KabirAli82
Expert
Expert

Hi Sean,

 

Check this out!

https://www.kablog.nl/2020/12/18/helping-the-community/

 


Was I helpful? Give a kudo for appreciation!
Braindumping @ http://kablog.nl/
Tweeting @ https://twitter.com/_Kabir_Ali_
Reply
0 Kudos
Sean_197
Contributor
Contributor

Wow, thank you very much for taking the time to do that.

 

Much appreciated!

Happy holidays to you and yours.

Reply
0 Kudos
KabirAli82
Expert
Expert

Your welcome!

 

If that script is what you are looking for, don't forget to mark the previous post as "correct answer".

 

Thank you! To you and your loved ones have a nice time these holidays and a healthy 2021!


Was I helpful? Give a kudo for appreciation!
Braindumping @ http://kablog.nl/
Tweeting @ https://twitter.com/_Kabir_Ali_
Reply
0 Kudos