Syed Jahanzaib Personal Blog to Share Knowledge !

September 10, 2012

Howto enable SNMP on Vmware ESXI Server

Filed under: VMware Related — Tags: , — Syed Jahanzaib / Pinochio~:) @ 1:10 PM

vsphere-65-767x517

ESXI 6.5 section added on 26-SEP-2017


Howto enable SNMP on ESXi 6.5

To enable SNMP on ESXI 6.5 , First start the SNMP service via web client, then SSH to the esxi server & issue following command [change the public with your own snmp string]

esxcli system snmp set --communities public

esxcli system snmp set --enable true

Howto enable SNMP on ESXi 5

First enable SSH service
You can read following article on howto enable ssh using vsphere client.

http://www.thomasmaurer.ch/2011/08/enable-ssh-on-esxi-5-via-vsphere-client/

Now using vSphere CLI, type

vicfg-snmp.pl -server 10.0.0.1 -username username -password mypass -c zaibsnmp
###(you can change zaibsnmp to any name you like for the community name)
vicfg-snmp.pl -server 10.0.0.1 -username root -password mypass -enable

& you will see

Enabling agent…
Complete.


Regard’s
Syed Jahanzaib

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

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: