setting up snmp for esx hosts using esxcli

setting up snmp for esx hosts using esxcli

This post shows the commands need for configuring snmp for esxi hosts

enable the agent
esxcli system snmp set -e 1

set community-string string
esxcli system snmp set –communities string

set trap destination (server) using community-string string
esxcli system snmp set -t server/string

show configuration
esxcli system snmp get

sending testtrap
esxcli system snmp test

reference

Leave a Reply

Your email address will not be published. Required fields are marked *