VMware Aria

 View Only
  • 1.  vRealize Operations Manager Custom Report

    Posted Dec 16, 2020 07:07 PM

    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.



  • 2.  RE: vRealize Operations Manager Custom Report

    Posted Dec 17, 2020 09:44 AM

    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?



  • 3.  RE: vRealize Operations Manager Custom Report

    Posted Dec 17, 2020 01:20 PM

    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? 



  • 4.  RE: vRealize Operations Manager Custom Report

    Posted Dec 17, 2020 02:28 PM

    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).



  • 5.  RE: vRealize Operations Manager Custom Report

    Posted Dec 17, 2020 02:49 PM

    Thank you so much!

    Last super newb question,

    From where do I run these commands?

     



  • 6.  RE: vRealize Operations Manager Custom Report

    Posted Dec 17, 2020 03:01 PM

    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/

      



  • 7.  RE: vRealize Operations Manager Custom Report

    Posted Dec 17, 2020 05:12 PM

    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


  • 8.  RE: vRealize Operations Manager Custom Report

    Posted Dec 18, 2020 01:50 PM


  • 9.  RE: vRealize Operations Manager Custom Report

    Posted Dec 18, 2020 07:22 PM

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

     

    Much appreciated!

    Happy holidays to you and yours.



  • 10.  RE: vRealize Operations Manager Custom Report

    Posted Dec 21, 2020 08:29 AM

    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!