Enabling SNMP on VMWare ESX + ESXi

ESX 4.x
VMWare supports SNMP on ESX through the use of the net-snmp agent – see VMWare’s SNMP on 4.x docs for details. An example snmp.conf file:

syscontact yourname@yourdomain.com
syslocation Datacenter, Rack 32, U2
rocommunity public
proxy -v 1 -c public udp:127.0.0.1:171 .1.3.6.1.4.1.6876
proxy -v 2c -c public udp:127.0.0.1:171 .1.3.6.1.4.1.6876


ESXi 4.x

Matthew White has written a quick and to the point article on enabling SNMP on ESXi – you can read it on his blog.