Default Reasoning

Construction of sensible guesses when some useful information is lacking and no contradictory evidence is present…

  • Subscribe

  • Disclaimer

    This blog is personal. The views and opinions expressed here represent my own and not those of the people, institutions or organizations that I may or may not be related with unless stated explicitly. All blog post, white papers and manuals were written during the projects, mostly at a customer site and are scenario specific. Use at your own risk.
  • Meta

ESXCLI Basics: Setup SNMP on ESXi 5.x

Posted by Marek.Z on 24 December 2012

This is really basics stuff, but here is a quick how to.

  1. Connect to your host through SSH or open the DCUI.
  2. Setup the target SNMP server, port and community string: # esxcli system snmp set –t <ip_or_fqdn>@/<community_string>
  3. Enable SNMP: # esxcli system snmp set –e yes
  4. Logout.

Done! :)

Verify the snmpd service is running and check if the ports are open on the host though vSphere Client or vSphere Web Client.

Please note that the esxcli system snmp namespace is available from vSphere CLI version 5.1.


- Marek.Z

About these ads

2 Responses to “ESXCLI Basics: Setup SNMP on ESXi 5.x”

  1. anonymous said

    I noticed that the snmp namespace was not available in 5.0.x

    What’s New in vSphere CLI 5.1
    The following new commands have been added to the ESXCLI command set.

    New esxcli system snmp namespace replaces vicfg-snmp commands. The following commands have been added.
    esxcli system snmp get | hash | set | test

Leave a Reply

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

You are commenting using your 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


Get every new post delivered to your Inbox.

Join 613 other followers

%d bloggers like this: