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

Advertisements
setting up snmp for esx hosts using esxcli

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s