VMware Cloud Community
gboskin
Enthusiast
Enthusiast
Jump to solution

How to enable SNMP on a VMWare ESX Servers

We have a couple of vmware esx 3.5 update 2 hosst and are looking at upgrading to vSphere before the end of the year. We however have a requirement to enable SNMP so that SNMP traps can be captured for performance monitoring.
Is it just a cse of

.1 Login as root

2. Edit the snmpd.conf file and add "rocommunity xxxx" where xxxx is your read-only community string). The file is usually located in /etc/snmpd.

3 Restart the SNMP daemon - /etc/init.d/snmpd restart

Reply
0 Kudos
1 Solution

Accepted Solutions
Sudheesh
Contributor
Contributor
Jump to solution

Hi ,

SNMP implimentation in vSphere 4.0 is different from ESX 3.5.x .

You need to download a zip file containing the set of SMIv2 (RFC2578/STD58)

compliant MIB modules for use with ESX/ESXi and vCenter along with

related implementation notes. These MIB modules support all ESX, ESXi

and vCenter product releases through version 4.0.

For SNMP configuration details , See chapter 5 (Configuring Hosts and vCenter Server: SNMP and vSphere)

in the vSphere Basic System Administration guide.

Ref link : http://communities.vmware.com/community/developer/managementapi

Thank you,

Sudheesh

View solution in original post

Reply
0 Kudos
4 Replies
TomHowarth
Leadership
Leadership
Jump to solution

Read this blog post oin how go configure SMNP http://lewanps.wordpress.com/2009/02/23/how-to-setup-snmp-on-esx-35-servers/

If you found this or any other answer useful please consider the use of the Helpful or correct buttons to award points

Tom Howarth VCP / vExpert

VMware Communities User Moderator

Blog: www.planetvm.net

Contributing author for the upcoming book "[VMware vSphere and Virtual Infrastructure Security: Securing ESX and the Virtual Environment|http://my.safaribooksonline.com/9780136083214]”. Currently available on roughcuts

Tom Howarth VCP / VCAP / vExpert
VMware Communities User Moderator
Blog: http://www.planetvm.net
Contributing author on VMware vSphere and Virtual Infrastructure Security: Securing ESX and the Virtual Environment
Contributing author on VCP VMware Certified Professional on VSphere 4 Study Guide: Exam VCP-410
Sudheesh
Contributor
Contributor
Jump to solution

Hi ,

SNMP implimentation in vSphere 4.0 is different from ESX 3.5.x .

You need to download a zip file containing the set of SMIv2 (RFC2578/STD58)

compliant MIB modules for use with ESX/ESXi and vCenter along with

related implementation notes. These MIB modules support all ESX, ESXi

and vCenter product releases through version 4.0.

For SNMP configuration details , See chapter 5 (Configuring Hosts and vCenter Server: SNMP and vSphere)

in the vSphere Basic System Administration guide.

Ref link : http://communities.vmware.com/community/developer/managementapi

Thank you,

Sudheesh

Reply
0 Kudos
TomHowarth
Leadership
Leadership
Jump to solution

opps my Bad, forgot we were talking about vSphere not VI3.5

If you found this or any other answer useful please consider the use of the Helpful or correct buttons to award points

Tom Howarth VCP / vExpert

VMware Communities User Moderator

Blog: www.planetvm.net

Contributing author for the upcoming book "[VMware vSphere and Virtual Infrastructure Security: Securing ESX and the Virtual Environment|http://my.safaribooksonline.com/9780136083214]”. Currently available on roughcuts

Tom Howarth VCP / VCAP / vExpert
VMware Communities User Moderator
Blog: http://www.planetvm.net
Contributing author on VMware vSphere and Virtual Infrastructure Security: Securing ESX and the Virtual Environment
Contributing author on VCP VMware Certified Professional on VSphere 4 Study Guide: Exam VCP-410
darkfriend
Contributor
Contributor
Jump to solution

They created a new agent for SNMP. See the following link to enable the agent. Read the manuals indicated at the end of the thread to configure the notification agent and trap setup. That should point you in the right direction. The old snmpd is not going to work at all for VMware specific traps. You will also need MIBs from file VMware-esx-mibs-1.0.0-160789.zip

Reply
0 Kudos