To Enable SNMP v2c on a VMware ESXi Host:
- Enable SSH on the ESX Host
- SSH into the ESXi Host.
- Login as root
- Execute the following commands:
- esxcli system snmp get
- esxcli system snmp set --syscontact=<system contact info>
- esxcli system snmp set --syslocation=<location>
- esxcli system snmp set --communities=<snmp v2c community string> (don't recommend public)
- esxcli system snmp set --enable=true
- esxcli system snmp get
- End
The ESX host can now be added to TotalView by IP Address and SNMP Community String. The Hosts can also be designated as a Linux Host for Server Monitoring.