Setting up SNMP on ESX using the CLI tools
Online manual: http://goo.gl/2L8nid
Configure SNMP Communities:
vicfg-snmp.pl –server hostname –username username –password password -c com1
Configure the SNMP Agent to Send Traps:
vicfg-snmp.pl –server hostname –username username –password password -t target_address@port/community
Configure the SNMP Agent for Polling:
vicfg-snmp.pl –server hostname –username username –password password -p port