VM ESXi SNMP Failed - An error occurred during host configuration.

SSH into the host you might need to enable SSH temporarily: select the host click to configure and scroll to services on the left, select SSH and click the green play/start button on top

  • cd /etc/vmware

  • cp snmp.xml snamp.xml.bkup

  • rm -f snmp.xml

  • vi snmp.xml

paste this in:

<?xml version='1.0' encoding='ISO-8859-1'?>

Save and close the file ":wq"

  • To start the SNMP service using the vSphere Client:
  • Click the host.
  • Click the Configuration tab.
  • Select Security Profile and then click the Services Properties tab.
  • Click the SNMP service, and then click Options.
  • Click Start.
  • Click OK.
  • Click OK.