Would you like to learn how to configure SNMP on Vmware ESXi? In this tutorial, we are going to show you all the steps required to enable, configure and test SNMP on a server running Vmware ESXi.

This tutorial was tested on Vmware ESXi 6

This tutorial was tested on Vmware ESXi 6.5

Vmware ESXi Playlist:

On this page, we offer quick access to a list of videos related to Vmware ESXi.

Don't forget to subscribe to our youtube channel named FKIT.

Tutorial - Vmware ESXi SNMP Configuration

First, you need to access the Vmware ESXi console.

Open the VSphere software, enter the IP address of your Vmware ESXi server and access the console.

Vmware Vsphere

On the prompt screen, enter the administrative login information.

Factory default access information:
Username: root
Password:

After a successful login, the Vmware dashboard will be displayed.

Now, you need to enable the SSH service.

Access the Configuration tab and click on the Security profile option.

Configuration > Software > Security Profile

Vmware Security profile

Click on the Service properties option.

Vmware Service properties

Select the SSH service and Click on the Options button.

vmware ssh service

Select the following option and click on the Start button.

Start and Stop with host

Vmware SSH Service Start

Select the following option and click on the Start button.

Start and Stop with host

Now, you need to access the Vmware ESXi server using SSH.

In our example, we are going to use an Opensource software named Putty and a computer running Windows.

The Putty software is available on the putty.org website.

After finishing the download, run the software and wait for the following screen.

Putty windows

Select the SSH option and enter the IP address of the VMWare ESXi server.

Vmware SSH Putty

On the prompt screen, enter the administrative login information.

Factory default access information:
• Username: root
• Password:

After a successful login, the console command-line will be displayed.

Use the following command to enable and configure the VMWare SNMP service.

# esxcli system snmp set --communities GokuBlack
# esxcli system snmp set --syscontact="Zamasu <zamasu@dbsuper.com>"
# esxcli system snmp set --syslocation="Universe10 - IT Room"
# esxcli system snmp set --enable true

The GokuBlack Community has read-only permission on the Vmware server.

The contact person responsible for this Vmware server was configured as Zamasu.

The location of the equipment was configured as the IT Room of Universe 10.

You have successfully enabled the Vmware SNMP service.

You have successfully configured the Vmware SNMP service.

To test your SNMP configuration, use the following commands on a computer running Ubuntu Linux

# apt-get install snmp
# snmpwalk -v2c -c GokuBlack 10.0.129.226

Here is a small sample of the SNMPWALK output.

SNMPv2-MIB::sysDescr.0 = STRING: VMware ESXi 6.0.0 build-2494585 VMware, Inc. x86_64
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.6876.4.1
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (694300) 1:55:43.00
SNMPv2-MIB::sysContact.0 = STRING: Zamasu <zamasu@dbsuper.com>
SNMPv2-MIB::sysName.0 = STRING: TECH-VM01
SNMPv2-MIB::sysLocation.0 = STRING: Universe10 - IT Room

You have successfully configured the SNMP service on a Vmware ESXi server.

Tutorial - Vmware ESXi SNMP Configuration on Web Interface

First, you need to access the Vmware web interface.

Open a browser software, enter the IP address of your Vmware ESXi server and access web interface.

vmware web interface

On the prompt screen, enter the administrative login information.

Factory default access information:
Username: root
Password:

After a successful login, the Vmware dashboard will be displayed.

Vmware web export virtual machine

Now, you need to enable the SSH service.

Access the Manage menu, access the Services tab and locate the SSH service.

• Manage > Services > TSM-SSH

Vmware SSH service ESXi web

Right click on the SSH service and select the start option.

Use the Putty software and connect on the Vmware ESXi server.

Use the following commands to configure SNMP on Vmware ESXI 6.5.

# esxcli system snmp set --communities GokuBlack
# esxcli system snmp set --syscontact="Zamasu <zamasu@dbsuper.com>"
# esxcli system snmp set --syslocation="Universe10 - IT Room"
# esxcli system snmp set --enable true