Skip to main content
  1. Posts/

Enabling SNMP in ESXi 4.1

·162 words·1 min· loading · loading · ·
Howto ESXi

I decided to gather some information about a server that was sitting in Morgantown, PA due to a couple of errors we were receiving.  I needed to get it pretty quick and so I decided to grab it through SNMP.  I had to enable it through the vMA since the host was running ESXi.  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
  3. Set your target:  vifptarget -s vs-esxi.vsential.com
  4. Configure SNMP Community:  vicfg-snmp -c vscomname
  5. Configure SNMP Trap Host:  vicfg-snmp -t TrapHostIP@161/vscomname
  6. Enable SNMP on the ESXi host:  vifcfg-snmp -E

You may need to restart the services on the ESXi host via services.sh on the host.  You can show the configuration by typing:  vicfg-snmp -s

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

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

vSMP VMs and Per CPU Licensed Applications
·121 words·1 min· loading · loading
Howto ESX ESXi VCenter VirtualCenter Vmware
Adjusting the amount of hostd log files
·113 words·1 min· loading · loading
Howto ESX/ESXi
ESXi 4.1 Lockdown Modes
·107 words·1 min· loading · loading
Blog ESXi Security