IF you have ESX Servers somewhere in your environment you are probably going to want you ESX systems to send out SNMP traps of its state. Well, by default SNMP if turned off in the ESX install, so you will have to do some manual configuration to get it up and running.

No worries though, below I have listed to steps to get a simple SNMP service up and running on the ESX box.

The first step, is you want to log into you ESX device as root. I use putty but you can  use your favorite tool here.

Next, you will need to modify the snmpd configuration file (which is located in the /etc/snmp directory. you can using the following command

vi /etc/snmp/snmpd.conf

Once you have the file opened in VI, you are going to have to add a line to it, something like

rocommunity yourpublichstring

Here, the “yourpublicstring” should be replaced with your organization’s public SNMP community string.

Finally save the file and exit out of vi.

Next, you will need to start the SNMP service on the ESX box. You can issue the following command to do this

/etc/init.d/snmpd restart

That should get you up and running with SNMP on your ESX device.