You can enable the SNMP settings and configure destination receivers to send traps that are critical, high, or informational.

Prerequisites

  • Familiarize yourself with the SNMP trap mechanism. See Working with SNMP Traps.
  • Verify that an SNMP receiver is configured.
  • Download and install the MIB module for the NSX Manager so that the SNMP receiver can process the traps with OID. See http://kb.vmware.com/kb/1013445.

Procedure

  1. In the vSphere Web Client, navigate to Networking & Security > System > Events.
  2. Click the Manage tab. If multiple NSX Managers are available, select an IP address of an NSX Manager from the NSX Manager drop-down menu.
  3. Ensure that the SNMP Events tab is selected.
  4. Click Edit to configure the SNMP settings.
    Option Description
    Service

    Sends out SNMP trap.

    By default, this option is disabled.

    Group Notification

    Predefined set of groups for some system events that are used to aggregate the events that are raised. By default, this option is enabled.

    For example, if a system event belongs to a group, the trap for these grouped events are withheld. Every five minutes a trap is sent out detailing the number of system events that have been received from the NSX Manager. The fewer traps being sent out save the SNMP receiver resources.

    Receivers

    Configure up to four receivers for traps to be sent out to.

    You must complete the following sections when you add an SNMP receiver.

    Receiver Address - IP address or the fully qualified domain name of the receiver host.

    Receiver Port - SNMP receiver default UDP port is 162.

    Community String - Information to be sent out as part of the notification trap.

    Enabled - Indicates whether this receiver is sending a trap.

  5. Click OK.

Results

The SNMP service is enabled and traps are sent out to the receivers.

What to do next

Check whether the SNMP configuration works. See Verify SNMP Trap Configuration.