Search 72 posts

Enable SNMP on ESXi 5.5

This is a quick guide on how to configure ESXi 5.5 hosts for SNMP monitoring. I use Observium to monitor and collect information about devices on my home…

Karl NyenGuidesVMware2 min readFrom the archive
Server racks filled with network cables and equipment

Observium ESXi host overview with processor and memory usage

This is a quick guide on how to configure ESXi 5.5 hosts for SNMP monitoring. I use Observium to monitor and collect information about devices on my home network that support SNMP. This allows me to have an in-depth look at devices on my network as well as see metrics that go far into the past.

First we need to SSH to the ESXi host you would like to enable SNMP on. To do that we first need to make sure that SSH is enabled on the host.

Ensure that SSH is enabled on the ESXi Host:

  1. Go to the configuration tab, then select Security Profile
  2. Select Properties with Services, then select SSH Server
  3. Click the Start button once to start the service for now

vSphere Security Profile and SSH service options with Start highlighted

Using an SSH client, such as Putty, connect to your ESXi host. Then run the following commands:

esxcli system snmp set -c public
esxcli system snmp set -l warning
esxcli system snmp set -e yes

That’s it! You can change the “public” string to whatever your preferred community name is. Now you can disable SSH on the host if you prefer. Then add the host into your SNMP monitoring tool. Wait 5-10 minutes for discovery and your finished.

Observium Add Device form configured for SNMP v2c on port 161

Karl Nyen

Writing about virtualization, home lab, cloud, storage and gaming on vSkilled, started in 2014.

Cover photo: Taylor Vick on Unsplash

Keep exploring

The VMware logo with an arrow to the Broadcom logo, above notes reading perpetual to subscription, free ESXi pulled and 72-core minimum

VMware

VMware After Broadcom

Three years after Broadcom bought VMware: what changed for licensing and home labs, why 90% of surveyed customers are looking at alternatives, and where the lab went.

vSphere Client in dark mode with Switch Theme highlighted

VMware

vSphere 6.7 U1 now released

On October 17, 2018 VMware announced that vSphere 6.7 Update 1 is now available. The new HTML5 client is now ‘Fully Featured’ which means that you can use the…

Rows of server drive bays with green status lights

Misc

Automatically reboot an ESXi host after PSOD

Anyone who has worked in a VMware environment for any length of time should be quite familiar with this purple diagnostic screen, or what we like to call the…