Use the built-in problem and alert signatures in vRealize Log Insight to enable alerts for each component. For each alert, you create one instance for the management domain and one instance per VI workload domain. If vRealize Operations Manager is integrated into your environment, you map these alerts to the vRealize Operations Manager inventory.

You create a set of alerts in vRealize Log Insight according to the values in the vRealize Log Insight List tab of the VMware Cloud Foundation Planning and Preparation Workbook.

For information on viewing alerts in vRealize log Insight, see View the Full List of Alerts for a Management Product.

UI Procedure

  1. Log in to vRealize Log Insight at https://<vrealize_log_insight_fqdn> with a user assigned the Super admin role.
    • For VMware Cloud Foundation 4.4, on the main navigation bar, click Alerts.
    • For VMware Cloud Foundation 4.3.1 and earlier, on the main navigation bar, click Interactive analytics.
    • For VMware Cloud Foundation 4.4, in the Alerts Definition search bar, enter the name of the first alert according to the value in the VMware Cloud Foundation Planning and Preparation Workbook and press Enter.
    • For VMware Cloud Foundation 4.3.1 and earlier, click the Create or manage alerts (Bell icon) icon and select Manage alerts.
    • For VMware Cloud Foundation 4.4, select your alert and click Run Query.
    • For VMware Cloud Foundation 4.3.1 and earlier, in the Filter search box, enter the name of the first alert according to the value in the VMware Cloud Foundation Planning and Preparation Workbook.
  2. For VMware Cloud Foundation 4.3.1 and earlier, select the check box next to the alert name and click Enable.
  3. For VMware Cloud Foundation 4.3.1 and earlier, in the Enable alerts dialog box, click Run query.

    A query editor page opens.

  4. Click Add filter, use the values from VMware Cloud Foundation Planning and Preparation Workbook for the filter object type, filter operation, and filter object columns in the drop-down menus to configure the filter for this alert, and click the Search icon.
  5. Click the Create or manage alerts (Bell icon) icon and select Create alert from query.
  6. In the New alert dialog box, configure the following settings, configure the remaining settings according to your VMware Cloud Foundation Planning and Preparation Workbook, and click Save.
    Setting Value
    Send to vRealize Operations Manager Selected, if vRealize Operations Manager is integrated into the environment.
    Criticality critical
    Raise an alert On any match
  7. Repeat the procedure for each of the remaining vRealize Log Insight alerts.

PowerShell Procedure

  1. Start Windows 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 = "administrator@vsphere.local"
    $sddcManagerPass = "VMw@re1!"
    
    $emailAddress = "administrator@rainpole.io"
  3. Perform the configuration of the vRealize Suite Lifecycle Manager Virtual Machine alerts by running the command in the PowerShell console.
    $sddcDomainName = "sfo-m01"
    $vrslcmVmName = "xint-vrslcm01"
    
    Add-vRLIAlertVirtualMachine -server $sddcManagerFqdn -user $sddcManagerUser -pass $sddcManagerPass -sddcDomainName $sddcDomainName -vmName $vrslcmVmName -email $emailAddress -alertTemplate ".\SampleNotifications\vrli-vcf-vmVrslcm.json" -vropsIntegration
  4. Perform the configuration of the datacenter alerts by running the command in the PowerShell console.
    $sddcDomainName = "sfo-m01"
    $datacenterName = "sfo-m01-dc01"
    
    Add-vRLIAlertDatacenter -server $sddcManagerFqdn -user $sddcManagerUser -pass $sddcManagerPass -sddcDomainName $sddcDomainName -datacenterName $datacenterName -email $emailAddress -alertTemplate ".\SampleNotifications\vrli-vcf-datacenter.json" -vropsIntegration
    
  5. Repeat the previous step for each workload domain.