====== Abilitare SNMP in ESXi ======
=====ESXi 5.1+=====
esxcli system snmp set --communities public
esxcli system snmp set --enable true
=====ESXi con licenza=====
Via VMware vSphere Command-Line Interface.
vicfg-snmp.pl --server hostname --username username --password password -c public --enable
[[http://pubs.vmware.com/vsphere-50/index.jsp#com.vmware.vsphere.monitoring.doc_50/GUID-24F04690-CAF9-45DD-ACB6-3F361B312828.html|Manuale]]
=====ESXi 5 free=====
Dall'interfaccia SSH:
esxcli system snmp set --communities public
esxcli system snmp set --targets 1.2.3.4@161/public
esxcli system snmp set --enable true
esxcli system snmp test
[[http://blogs.vmware.com/vsphere/2012/11/configuring-snmp-v1v2cv3-using-esxcli-5-1.html|Riferimento]]
=====ESXi 4 free=====
Editare ''/etc/vmware/snmp.xml''
true161
indicationspublic10.0.1.254@161 public
00000063000000a10a00010ainfo
e quindi ''/sbin/services.sh restart''