1. SSH to ESXi server
2. Run as below command
3. Finished - can test the snmp from snmp toolsesxcli system snmp set -r esxcli system snmp set -c YOUR_STRING esxcli system snmp set -p 161 esxcli system snmp set -L "City, State, Country" esxcli system snmp set -C noc@example.comesxcli esxlci system snmp set -e yes
Note:
- To change hostname for ESXi server
esxcli system hostname set --host=hostname esxcli system hostname set --fqdn=fqdn
Source : https://support.auvik.com/hc/en-us/articles/206311526-How-to-enable-SNMP-on-a-VMware-ESXi-hypervisor
0 comments:
Post a Comment