SNMP Doesn’t Start in ESXi

Posted on Posted in ESXi

To resolve this issue, copy the content of the snmp.xml file from a working host to the problem host.

To copy the contents of the file to the problem host: 
Log in to a console or SSH session on your host. 
Go to the directory /etc/vmware:

cd /etc/vmware

Run this command to backup the snmp.xml file.

cp snmp.xml snmp.xml.bkup

Copy and paste the below content into the snmp.xml file:

<?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.
Start the snmpd service from vCenter Server using the Sphere Client.

Leave a Reply

Your email address will not be published. Required fields are marked *