Skip to main content
  1. Posts/

Enabling SNMP on ESXi 5

·151 words·1 min· loading · loading · ·
Howto ESXi VMA

Some people have asked how to enable SNMP on ESXi 5.  The process is identical to how you would on ESXi 4.x.  Here’s how:

  1. Connect to your vMA instance through Putty, SecureCRT or whatever app you use.
  2. Add the server:  vifp addserver vs-esxi.vsential.com (This is only needed if you haven’t already added the target!)
  3. Set your target:  vifptarget -s vs-esxi.vsential.com
  4. Configure SNMP Community:  vicfg-snmp --communities vscomname
  5. Configure SNMP Trap Host:  vicfg-snmp --targets TrapHostIP@161/vscomname
  6. Enable SNMP on the ESXi host:  vicfg-snmp --enable

You can show the configuration by typing:  vicfg-snmp --show

That’s it…now you can snmpwalk the host from the Trap host you configured earlier by typing:  snmpwalk -v2c -cvscomname vs-esxi.vsential.com

You can check out VMware KB Article 1008065 for information on how to configure this as well which uses VMware vSphere RCLI instead of the vMA.

If you have any questions, comments, or suggestions then please sound off in the comments!

James Bowling
Author
James Bowling
Principal Cloud Engineer @ Global Oil/Gas Drilling Company

Related

ESXi 5.0 and Remote syslog
·390 words·2 mins· loading · loading
Howto ESXi VMA
ESXi 5.0 and APC SmartUPS 1000
·1057 words·5 mins· loading · loading
Howto Scripts Tools ESXi VCLI VMA
Enabling Local/Remote Tech Support Mode in ESXi 4.1
·281 words·2 mins· loading · loading
Howto ESXi TSM