If SNMP is not properly configured, monitoring information can be sent to a malicious host. The malicious host can then use this information to plan an attack.

About this task

SNMP must be configured on each ESXi host. You can use vCLI, PowerCLI, or the vSphere Web Services SDK for configuration.

See the Monitoring and Performance publication for detailed setup information for SNMP 3.

Procedure

  1. Run the following command to determine whether SNMP is currently used.

    esxcli system snmp get to

  2. To enable SNMP, run the following command.

    esxcli system snmp set --enable true.

  3. To disable SNMP, run the following command.

    esxcli system snmp set --disable true.