You create a set of alerts in VMware Aria Operations for Logs according to thearia-operations-logs-alerts-vcf.json file located in the SampleNotifications folder in the GitHub Repository.

Prerequisites

Verify you download the aria-operations-logs-alerts-vcf.json file from the SampleNotifications folder in the GitHub Repository.

UI Procedure

  1. Log in to VMware Aria Operations for Logs at https://<aria_operations_for_logs_fqdn> with a user assigned the Super admin role.
  2. In the left pane, click Alerts > Alert definitions.
  3. On the Alert definitions page, in the search bar, enter the name of the first alert from the aria-operations-logs-alerts-vcf.json file and press Enter.

  4. In the Status column, toggle the switch for the alert you created to activate it.
  5. Click the ellipsis of the alert and click Edit.
  6. In the Trigger condition section, in the In this case, notify text box, configure the settings according to your requirements for receiving notifications and click Save.
  7. Repeat the procedure for the remaining alerts.

PowerShell Procedure

  1. Start PowerShell.

  2. Replace the values in the sample code with values from your VMware Cloud Foundation Planning and Preparation Workbook and run the commands in the PowerShell console.

    $sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io"
    $sddcManagerUser = "[email protected]"
    $sddcManagerPass = "VMw@re1!"
    
    $emailAddress = "[email protected]"
  3. Enable alerts for VMware Cloud Foundation instance.

    1. Perform the configuration by running the command in the PowerShell console.

      Enable-vRLIAlert -server $sddcManagerFqdn -user $sddcManagerUser -pass $sddcManagerPass -email $emailAddress
    2. In the dialog box that opens, navigate to the SampleNotifications folder and open the aria-operations-logs-alerts-vcf.json file.

      The default path for the SampleNotifications folder is C:\Program Files\WindowsPowerShell\Modules\PowerValidatedSolutions\<powervalidatedsolutions_version>\SampleNotifications.