- ssh into the esxi host.
- esxcli system snmp set --communities="string name"
- esxcli system snmp set --targets="<monitoring server>"@161/"string name","<monitoring server>"@161/"string name"
- esxcli system snmp set --enable true
- esxcli system snmp test
- log into vi client.
- find the server and go to the configuration tab.
- select Security Profile under Software
- select Properties under Firewall
- find SNMP server and click on the Options button.
- 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.