How to enable snmp and set communities on vmware esxi host
To enable SNMP we need to connect to the ESXi note via SSH.
From the ESXi command prompt execute the below commands.
To enable SNMP :
esxcli system snmp set --enable true
To set community name :
esxcli system snmp set --communities PUBLIC
To set the target for a particular community :
esxcli system snmp set --targets 192.168.1.0@161/PUBLIC
(161 is the snmp port)
End.
Categories: VMware