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

Note:
  • 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

  1. 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.

    1. In a web browser, log in to the Controller cluster VIP by using https://sfo-m01-avic01.sfo.rainpole.io/.

    2. Navigate to Operations > Notifications > Syslog, and click on Create.

    3. Specify avisyslog as the Name for the syslog notification config.

    4. Click on Add Syslog Server.

    5. Specify syslog server details.

      Setting

      Value

      Syslog server

      IP of the syslog server

      Port

      Default port used is 514. User can override this setting

    6. Repeat to add more syslog servers if required.

    7. Click on Save.

  2. Create an Email notification object.

    1. In a web browser, log in to the Controller cluster VIP by using https://sfo-m01-avic01.sfo.rainpole.io/.

    2. Navigate to Operations > Notifications > Email, and click on Create.

    3. Specify aviemail as the Name for the email notification config.

    4. 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

    5. Click on Save

  3. Create a SNMP notification object.

    1. In a web browser, log in to the Controller cluster VIP by using https://sfo-m01-avic01.sfo.rainpole.io/.

    2. Navigate to Operations > Notifications > SNMP Trap  , and click on Create.

    3. Specify avisnmp as the Name for the snmp notification config.

    4. 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

    5. Click on Add SNMP Server to add more SNMP servers.

    6. Click on Save

  4. Create a Control Script object.

    1. In a web browser, log in to the Controller cluster VIP by using https://sfo-m01-avic01.sfo.rainpole.io/.

    2. Navigate to Templates > Scripts > ControlScripts , and click on Create.

    3. Specify any desired name for the ControlScript.

    4. Type the script in the Enter your ControlScript Here box.

    5. Click on Save.

  5. Attach the Syslog, Email and/or SNMP notification objects to Alerts.

    1. In a web browser, log in to the Controller cluster VIP by using https://sfo-m01-avic01.sfo.rainpole.io/.

    2. Navigate to  Operations > Alerts > Alert Actions.

    3. Edit the System-Alert-Level-High action.

    4. (Optional) From the Syslog drop-down, choose avisyslog which was created previously.

    5. (Optional) From the Email drop-down, choose aviemail which was created previously.

    6. (Optional) From the SNMP Trap drop-down, choose avisnmp which was created previously.

    7. (Optional) From the ControlScript drop-down, choose the desired ControlScript.

    8. Click on Save.

  6. Repeat for System-Alert-Level-Medium and System-Alert-Level-Low.