3 Replies Latest reply on Aug 8, 2018 3:25 AM by sxnxr

    vrops, alerts, v6.7

    nupurk14 Novice

      Hi Everyone...!!!

       

      Can anyone guide me how can I get the total alert definitions(expect the one which I have locally disabled) in vrops 6.7 in my environment.

       

      Thanks in advance.

        • 1. Re: vrops, alerts, v6.7
          RickVerstegen Expert

          Try using PowerCLI (Module VMware.VimAutomation.vROps) and use cmdlet Get-OMAlertDefinition.

          Get-OMAlertDefinition can be used to find the available alert definitions in the system. You can filter the output to show alert definitions of a given alert type and subtype.

          Hope this is useful for you.

           

          Rick

           

          Please consider marking this answer "correct" or "helpful" if you think your question have been answered correctly.

          • 2. Re: vrops, alerts, v6.7
            GayathriS Expert

            Hi

             

            I dont see anything such which lists out all predefined alerts, I am wondering if we have come across something apart from vmware documentation depending on versions

             

             

             

            Please consider marking this answer as "correct" or "helpful" if you think your questions have been answered.

             

            regards

            Gayathri

            • 3. Re: vrops, alerts, v6.7
              sxnxr Expert
              vExpert

              Getting the alert definitions is easy the problem i thing ( Using REST anyway) is filtering them based on being enabled or not.

               

              I know using rest there is no way to quay the policies so no way to know if they are enabled or not. running https://yourvrops/suite-api/api/alertdefinitions will list all the alert deffs you have. You can filter base on adapterKind, resourceKind and ID but that is about it.