Setup alert destinations for the NSX Advanced Load Balancer Alerts. A combination of Syslog, Email, SNMP and Control Script can be chosen to notify an alert.
Prerequisites
Verify that the Controller cluster is deployed and operational, refer to Create an NSX Advanced Load Balancer Controller Cluster section.
Verify that vRealize Log Insight is deployed and operational if you plan to enable syslog notifications.
You can choose to apply one or many mechanisms for notifications.
Control Scripts are not allowed if the Controller cluster is setup in the basic license tier. For Control Scripts, the Controller cluster must be setup in the enterprise license tier.
You can create custom ‘Alert Config’ based on custom thresholds and KPIs on the Controller cluster. These KPIs can be based on numerous Infrastructure and Application parameters that the Controller cluster gathers.
Procedure
Create a Syslog notification object.
Note:You can configure vRealize Log Insight as a syslog endpoint and can use the content pack for NSX Advanced Load Balancer which is available here.
In a web browser, log in to the Controller cluster VIP by using https://sfo-m01-avic01.sfo.rainpole.io/.
Navigate to Create.
, and click onSpecify avisyslog as the Name for the syslog notification config.
Click on Add Syslog Server.
Specify syslog server details.
Setting
Value
Syslog server
IP of the syslog server
Port
Default port used is 514. User can override this setting
Repeat to add more syslog servers if required.
Click on Save.
Create an Email notification object.
In a web browser, log in to the Controller cluster VIP by using https://sfo-m01-avic01.sfo.rainpole.io/.
Navigate to Create.
, and click onSpecify aviemail as the Name for the email notification config.
Fill out the destination emails in the following fields:
Setting
Value
To Address
Email of the primary recipient
CC Address
Comma separated email addresses of secondary recipients
Click on Save
Create a SNMP notification object.
In a web browser, log in to the Controller cluster VIP by using https://sfo-m01-avic01.sfo.rainpole.io/.
Navigate to Create.
, and click onSpecify avisnmp as the Name for the snmp notification config.
Specify SNMP server details.
Setting
Value
Trap Server IP Address
IP of the SNMP trap receiver
SNMP Version
SNMP_VER2
SNMP Community
Trap server community string
Click on Add SNMP Server to add more SNMP servers.
Click on Save
Create a Control Script object.
In a web browser, log in to the Controller cluster VIP by using https://sfo-m01-avic01.sfo.rainpole.io/.
Navigate to Create.
, and click onSpecify any desired name for the ControlScript.
Type the script in the Enter your ControlScript Here box.
Click on Save.
Attach the Syslog, Email and/or SNMP notification objects to Alerts.
In a web browser, log in to the Controller cluster VIP by using https://sfo-m01-avic01.sfo.rainpole.io/.
Navigate to
.Edit the System-Alert-Level-High action.
(Optional) From the Syslog drop-down, choose avisyslog which was created previously.
(Optional) From the Email drop-down, choose aviemail which was created previously.
(Optional) From the SNMP Trap drop-down, choose avisnmp which was created previously.
(Optional) From the ControlScript drop-down, choose the desired ControlScript.
Click on Save.
Repeat for System-Alert-Level-Medium and System-Alert-Level-Low.