3 Replies Latest reply on Jul 20, 2018 3:52 AM by sxnxr


    nupurk14 Novice

      Hi Everyone,




      How can i get the total number of alert definition( default and customized both ) in a report. I have tried using alert list widget but that gives me only the generated alerts. So can anyone help me in getting the complete list. Thanks

        • 1. Re: vrops
          daphnissov Guru
          vExpertCommunity Warriors

          I don't think vROps is capable of reporting that information back to itself because it isn't a metric or collected property. You could probably use PowerCLI with the OM series of cmdlets to retrieve this information.

          • 2. Re: vrops
            virtualg_uk Expert
            vExpertUser Moderators

            That's right, using PowerCLI you'll need to use Get-OMAlertDefinition

            More info:

            Getting started with PowerCLI for vRealize Operations (vR OPs) - VMware PowerCLI Blog - VMware Blogs

            • 3. Re: vrops
              sxnxr Expert

              you could use the likes of postman and use the rest api


              https://your vrops/suite-api/api/alertdefinitions


              This will list all the alerts definitions with all the info




                      <ops:name>Witness Host Node is Down</ops:name>


                      <ops:resourceKindKey>Witness Host</ops:resourceKindKey>






                          <ops:state severity="IMMEDIATE">