Friday, January 5, 2018

Enable SNMP on ESXi

  1. ssh into the esxi host.
  2. esxcli system snmp set --communities="string name"
  3. esxcli system snmp set --targets="<monitoring server>"@161/"string name","<monitoring server>"@161/"string name"
  4. esxcli system snmp set --enable true
  5. esxcli system snmp test
  6. log into vi client.
  7. find the server and go to the configuration tab.
  8. select Security Profile under Software
  9. select Properties under Firewall
  10. find SNMP server and click on the Options button.
  11. start the service.


esxcli system snmp set --communities="MRTG"
esxcli system snmp set --targets="fwprd-slw-ape1"@161/"MRTG","fwprd-slw-ape2"@161/"MRTG","fwprd-slw-core"@161/"MRTG"
esxcli system snmp set --enable true
esxcli system snmp test


No comments:

Post a Comment

Thank you for your comment.