Jumat, 29 April 2011

How to configure SNMP on Esxi 4.1

SNMP on ESxi 4.1
1. Enable ssh at Esxi server
2. SSH to Esxi server
3. edit file snmp.xml (don't forget backup before edit)
   
   # cp /etc/vmware/snmp.xml /etc/vmware/snmp.xml.org
   # vi /etc/vmware/snmp.xml

   (config)
   (snmpSettings)
   (communities)public(/communities)
   (enable)true(/enable)
   (/snmpSettings)
   (/config)

4. Download remote CLI here

5. Extract and install remote CLI at PC or NB :

   $ tar -zxvf VMware-vSphere-CLI-4.1.0-254719.i386.tar.gz  
   $ cd VMware-vSphere-CLI-4.1.0-254719.i386
   $ ./vmware-install.pl