Sunday, 11 August 2013

SNMP Configuration on ESX Host

  1. Login into host via root account
  2. Enable SNMP Details:-
    *****************

    Step 1:-
    ******
    Enable SNMP:

    vi /etc/vmware/snmp.xml

    <config>
           <snmpSettings>
    <communities>string</communities>
    <enable>true</enable>
    <targets>ip@161 string</targets>
          </snmpSettings>
    </config>

    Step 2:-
    ******

    vi /etc/snmp/snmpd.conf

    Edit snmpd.conf to include the following two lines:

    view systemview included .1.3.6.1.4.1.6876
    proxy -v 1 -c c0pper 127.0.0.1:171 .1.3.6.1.4.1.6876

    service mgmt-vmware restart - restart the mgmt-vmware service.
    Enter service snmpd - start to start the SNMP service.
    chkconfig snmpd on - to enable SNMP when you reboot your ESX Server.
    esxcfg-firewall -e snmpd - to allow SNMP through the ESX Server firewall.

    Step 3:-
    ******
    Create Local ID with user privileges:

    Step 4:-
    ******
    Add to ESX Locally from vCenter Server as administrator priviliges

No comments:

Post a Comment