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'?>
<config>
<snmpSettings>
<enable>true</enable>
<port>161</port>
<syscontact></syscontact>
<syslocation></syslocation>
<EnvEventSource>indications</EnvEventSource>
<communities>public</communities>
<loglevel>info</loglevel>
<authProtocol></authProtocol>
<privProtocol></privProtocol>
</snmpSettings>
</config>
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.