SNMP in ESXi 6.x

  1. Enable SSH on the host: Host > Configuration > Security Profiles > Services > SSH > Enable
  2. SSH into the host
  3. Run the following commands:
    • esxcli system snmp set -r
    • esxcli system snmp set -c SecureCommunityHere
    • esxcli system snmp set -p 161
    • esxcli system snmp set -L “New York, New York”
    • esxcli system snmp set -C [email protected]
    • esxcli system snmp set -e yes
  4. Enable SNMP on the host: Host > Configuration > Security Profiles > Services > SNMP > Enable
  5. Disable SSH on host: Host > Configuration > Security Profiles > Services > SSH > Disable

Congratulations! You have just enabled SNMP on your ESXi host, now all you need to do is add it to your favorite monitoring platform!