VMware vSphere

 View Only
  • 1.  How to enable SNMP on a VMWare ESX Servers

    Posted Jul 01, 2009 10:02 AM
    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



  • 2.  RE: How to enable SNMP on a VMWare ESX Servers

    Posted Jul 03, 2009 08:07 AM

    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



  • 3.  RE: How to enable SNMP on a VMWare ESX Servers

    Posted Jul 04, 2009 08:31 PM

    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



  • 4.  RE: How to enable SNMP on a VMWare ESX Servers
    Best Answer

    Posted Jul 04, 2009 06:14 PM

    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



  • 5.  RE: How to enable SNMP on a VMWare ESX Servers

    Posted Jul 10, 2009 09:45 PM

    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