Enable SNMP on ESXi Hosts

Enable SNMP on ESXi Hosts

This step-by-step article describes how to enable SNMP on ESXi hosts.

  1. You need to download and install WinSCP on your workstation. (Note: SSH should be enabled)
  2. Open WinSCP and enter the connection details with your ESXi Host. (ESXi Hostname, Username/Password, Port number: 22, Protocol: SCP)
  3. Click Login.
  4. Navigate to /etc/vmware and find file called snmp.xml.
  5. Drag the file and then drop it on your screen/desktop.
  6. Open the file using any editor and change the default settings. The changes will be as the following:

<config><snmpSettings><enable>true</enable><communities>Your_Community_String</communities><targets>Your_Monitor_Server</targets></snmpSettings></config>

  1. Save the file and drag it back to the host.
  2. Restart the ESXi host.