VMWARE vSphere SNMP Configuration

How to configure SNMP Service in VMWARE VCenter vSphere ESXi Server.

1. Start ssh service on your vSphere

In the vsphere Client
Go to – > esxserver 4.1 ->Configuration->Security Profile
Properties -> SSH – > Options – > Start


2. Find and edit the SNMP Config

Using Putty tool login to the ESXi servers remote console.

edit snmp.xml

#vi /etc/vmware/snmp.xml

Replace the config with the following entries

 <syscontact>Contact Name</syscontact>
 <syslocation>Server Rack</syslocation>

Save the settings

Restart hostd service

/etc/init.d/hostd restart
Now Stop the ssh service

Go to esxserver4.1 ->Configuration->Security Profile
Properties -> SSH – > Options – > Stop