Enable SNMP on your ESXi 4.0/4.1/5.0 hosts from the vMA

To enable SNMP:

vicfg-snmp –server [ESXi host FQDN] -c public -p 161 -t [SNMP manager IP address]@161/public,[SNMP manager IP address]@161/public –username root

Seperate multiple managers with comma’s. No spaces. Adjust your community names accordingly.

Enable the SNMP agent:

vicfg-snmp –server [ESXi host FQDN] -E –username root

Test:

vicfg-snmp –server [ESXi host FQDN] -s –username root

Advertisements

About Yuri de Jager
Technology Addict

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

%d bloggers like this: