Submit a ticketCall us

AnnouncementsAre You “Flying Blind?”

When it comes to your complex IT infrastructure, you want to ensure you have a good grasp of what’s going on to avoid any fire drills that result from guesswork. Read our white paper to learn how proactively monitoring your IT environment can help your organization while giving you peace of mind.

Get your free white paper.

Home > Success Center > Network Performance Monitor (NPM) > NPM - Knowledgebase Articles > Enable SNMP on VMware ESXi servers

Enable SNMP on VMware ESXi servers

Table of contents
Created by Karen Valdellon_ret, last modified by MindTouch on Jun 23, 2016

Views: 13,706 Votes: 1 Revisions: 3

Overview

This article describes how to enable SNMP on VMware ESXi.

Environment

NPM 10.0 and later

Steps

Notes:

  • The free version of VMware ESXi does not support SNMP.
  • The following procedure to enable SNMP requires the vSphere command line interface (CLI). The vSphere CLI is not packaged with your ESXi Server by default.

 

  1. Download and install the VMware vSphere command line interface from the VMware Download Center.
  2. Use the vSphere CLI to view your ESXi server SNMP settings:
    1. In the Perl\bin directory of your vSphere installation, execute the following script:
      perl ..\..\bin\vicfg-snmp.pl --server ip_address –s
      Notes:
      • C:\Program Files\VMware\VMware vSphere CLI\Perl\bin is the default location of the vSphere Perl\bin directory.
      • Replace ip_address with the IP address of your ESXi server.
    2. Enter an appropriate user name at the prompt.
      Note: For most environments, root should be sufficient.
    3. Enter the associated password at the prompt.
  3. Use the vSphere CLI to enable SNMP on your ESXi server:
    1. In the Perl\bin directory of your vSphere installation, execute the following script to add an appropriate community string:
      perl ..\..\bin\vicfg-snmp.pl --server ip_address -c cstring
      Note: Replace ip_address with the IP address of your ESXi server, and replace cstring with the community string you are adding. For most environments, the community string public should be sufficient.
    2. Enter an appropriate user name at the prompt.
      Note: For most environments, root should be sufficient.
    3. Enter the associated password at the prompt.
    4. In the Perl\bin directory of your vSphere installation, execute the following script to enable SNMP:
      perl ..\..\bin\vicfg-snmp.pl --server ip_address –E
      Note: Replace ip_address with the IP address of your ESXi server.
    5. Enter an appropriate user name at the prompt.
      Note: For most environments, root should be sufficient.
    6. Enter the associated password at the prompt.
  4. Reboot your ESXi server to allow settings to take effect.

 

Last modified

Tags

Classifications

Public