ESXi enabling SNMP

Esxi5.1: 
vi /etc/vmware/snmp.xml
<enabled>true</enabled>
<communities>public</communities>
/sbin/services.sh restart

Esxi5.0 may be: 
  
  
  
  
vi /etc/vmware/snmp.xml
<config>
  <snmpSettings>
    <enable>true</enable>                                                     (true是开启)
    <communities>ESXI235</communities>                             (ESXI235是key)
    <targets>192.168.0.1@161 ESXI235</targets>                 (192.168.0.1@161代表snmp服务器端的IP和匹配端口)
  </snmpSettings>
</config>

你可能感兴趣的:(ESXi enabling SNMP)