Enable SNMP on VMware ESX: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
*Device resources and virtual machine info. | *Device resources and virtual machine info. | ||
*What virtual | *What virtual machines are running on the host | ||
*What host is running a specific virtual machine | *What host is currently running a specific virtual machine | ||
== Solution == | == Solution == | ||
{{#invoke:Message box|ambox |type=warming|text=Once SNMP is enabled, the Device Details > SNMP Tables > System Group > Up Time value will start at zero | {{#invoke:Message box|ambox |type=warming|text=Once SNMP is enabled, the Device Details > SNMP Tables > System Group > Up Time value will start at zero seconds. Consequently, OptiView will show a "Detected reboot in the last5 days" warming for this first five days to come.}} | ||
To enable SNMP, | To enable SNMP, the following two commands must be executed on the command line of each ESX. There are slight differences in command syntax starting with version 6.5. | ||
<pre>esxcli system snmp set --community <community string> | <pre>esxcli system snmp set --community <community string> | ||
esxcli system snmp set --enable true</pre> | OR (version 6.5 and above) | ||
esxcli system snmp set --communities=<community string> | |||
</pre> | |||
<pre>esxcli system snmp set --enable true | |||
OR (version 6.5 and above) | |||
esxcli system snmp set --enable=true | |||
</pre> | |||
| |||
| |||
| |
Latest revision as of 18:53, 2 March 2018
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
Once SNMP is enabled, the Device Details > SNMP Tables > System Group > Up Time value will start at zero seconds. Consequently, OptiView will show a "Detected reboot in the last5 days" warming for this first five days to come. |
To enable SNMP, the following two commands must be executed on the command line of each ESX. There are slight differences in command syntax starting with version 6.5.
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 OR (version 6.5 and above) esxcli system snmp set --enable=true