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
- Log in to VMware Aria Operations for Logs at https://<aria_operations_for_logs_fqdn> with a user assigned the Super admin role.
- In the left pane, click .
-
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.
- In the Status column, toggle the switch for the alert you created to activate it.
- Click the ellipsis of the alert and click Edit.
- 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.
-
Repeat the procedure for the remaining alerts.
PowerShell Procedure
-
Start PowerShell.
-
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]"
-
Enable alerts for VMware Cloud Foundation instance.
-
Perform the configuration by running the command in the PowerShell console.
Enable-vRLIAlert -server $sddcManagerFqdn -user $sddcManagerUser -pass $sddcManagerPass -email $emailAddress
-
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.
-