You can configure settings such as time zone, NTP servers, SNMP, and syslog servers to apply to all NSX Manager and Edge nodes. In addition to NSX Manager and Edge nodes, the SNMP configuration is applied to the VMware SNMP agent on all KVM hypervisors.

In this release, only one node profile is supported. This profile represents a collection of time zone, NTP servers, SNMP configuration and syslog servers. By default, the node profile is applied to all nodes, unless the node is configured to not accept such configuration from the NSX Manager. To prevent a node from accepting the node profile, use the CLI command set node central-config disabled on that node.

Procedure

  1. With admin privileges, log in to NSX Manager.
  2. Select System > Fabric > Profiles.
  3. Click the Node Profiles tab.
  4. Click All NSX Nodes in the Name column.
  5. Click Edit to configure the time zone and NTP servers.
  6. In the Syslog Servers section, click Add to add a Syslog server.
    1. Enter the FQDN or IP address of the Syslog server.
    2. Specify a port number.
    3. Select a protocol.
      The available protocols are TCP, UDP, and LI (Log Insight).
    4. Select a log level.
      The available levels are Emergency, Alert, Critical, Error, Warning, Notice, Information, and Debug.
  7. In the SNMP Polling section, under v2c, click Add to add an SNMPv2c community.
    1. Enter a name for the community.
    2. Enter a Community String value.
      This value is used for authentication.
  8. In the SNMP Polling section, under v3, click Add to add an SNMPv3 user.
    1. Enter a user name.
    2. Enter an authentication password.
      You can click the icon on the right to show or hide the password.
    3. Enter a private password.
      You can click the icon on the right to show or hide the password.
  9. In the SNMP Traps section, under v2c, click Add to add an SNMPv2c trap configuration.
    1. Enter a FQDN or IP address.
    2. Specify a port number.
    3. Enter a name for the community.
    4. Enter a Community String value.
      This value is used for authentication.
  10. In the SNMP Traps section, under v3, click Add to add an SNMPv3 trap configuration.
    1. Enter a FQDN or IP address.
    2. Specify a port number.
    3. Enter a user name.

What to do next

Verify that the profile configurations are applied to the NSX Manager and NSX Edge nodes. Log in to the NSX Manager and NSX Edge nodes with admin privileges, and run the following commands:
  • get clock
  • get ntp-server
  • get logging-servers
  • get snmp v2-targets
  • get snmp v3-targets
  • get snmp v2-configured
  • get snmp v3-configured
  • get snmp v3-engine-id
  • get snmp v3-protocols
  • get snmp v3-users

For more information about these commands including examples, see the NSX-T Data Center Command-Line Interface Reference.

Verify that the profile configurations are applied to the KVM hypervisor nodes. Log in to the KVM nodes with root privileges and run the following command:

/opt/vmware/bin/vicfg-snmp -s

If this command does not work, specify the available Python version on the KVM hypervisor, as shown in the following command:

python3 /opt/vmware/bin/vicfg-snmp -s