Login to your VMware server through SSH and backup the existing configuration file:
cp /etc/vmware/snmp.xml /etc/vmware/snmp.xml.org
Edit the snmp configuration file and set enable to true and communities to public or the community name you want to use:
vi /etc/vmware/snmp.xml
Then restart the SNMP service /sbin/services.sh restart
.