Enable SNMP on VMware ESX: Difference between revisions

From wiki.comcert.com
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
   OR (version 6.5 and above)
   OR (version 6.5 and above)
esxcli system snmp set --communities=<community string>
esxcli system snmp set --communities=<community string>
</pre>


esxcli system snmp set --enable true
<pre>esxcli system snmp set --enable true
</pre>
</pre>


&nbsp;
&nbsp;

Revision as of 14:19, 27 February 2017

Introduction

When SNMP is enabled on the ESX hypervisors on your network, OptiView will be able to communticate with the ESX and  showi detailed information that is otherwise unavailable.

  • Device resources and virtual machine info.  
  • What virtual machines are running on the host
  • What host is currently running a specific virtual machine

Solution

To enable SNMP, the following two commands must be executed on the command line of each ESX.

esxcli system snmp set --community <community string>
   OR (version 6.5 and above)
esxcli system snmp set --communities=<community string>
esxcli system snmp set --enable true