1 Reply Latest reply on May 24, 2020 8:30 AM by conyards

    vROPS alerts

    pan1268 Enthusiast

      Hello Experts,


      Need some help regarding vROPS alert definations. I am trying to export all the alert and symptom definations we have in our vROPS environment and would like to know if there is any way of achieving this task without scripts. Also, is there any way to figure out which alert definations are in use in vROPS in the environment.



        • 1. Re: vROPS alerts
          conyards Master

          Hi Pan1268.


          It would help if you list the version of vROPs that you are using.


          With vROPs 8.1 (which is all I have access to in my lab), you can export alerts and symptoms as XML from within the vROPs GUI.

          Screenshot 2020-05-24 at 15.57.43.png


          You could also use PowerShell to export this information as a CSV by using the vROPs PowerCLI module;


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


          After connecting to the vROPs server (connect-omserver) run the following (where path to filename is the file you want to save for example c:\definitions.csv);


          For Alert Definitions


          Get-OMAlertDefinition | ConvertTo-CSV | Out-File pathtofilename.csv


          For Symptom Definitions it's a little more complicated, but not much.  First create a variable to your vROPs server;


          $vrops = connect-omserver servername - user username -password password


          then use that variable to pull the information from the vROPs API;


          $vrops.ExtensionData.GetSymptomDefinitions()[0].symptomdefinition | ConvertTo-CSV | Out-File pathtofilename.csv


          Hope this helps