ESXi configure SNMP

To configure the ESXi SNMP Agent:

  1. Open an SSH session to the ESXi host.
  2. Run this command to show the current SNMP config:
    esxcli system snmp get
  3. Set the SNMP parameters of the ESXi Host:
    esxcli system snmp set --communities public,eastnoc,westnoc
    esxcli system snmp set --syscontact user
    esxcli system snmp set --syslocation "location, world"
    
  4. Enable the SNMP Agent:
    esxcli system snmp set --enable true