Users Guide

116 Dell OpenManage on VMware ESXi
Server Administrator supports SNMP traps on VMware ESXi but does not
support SNMP Get and Set operations because VMware ESXi does not
provide the required SNMP support. You can use the VMware vSphere CLI to
configure a system running VMware ESXi to send SNMP traps to a
management application such as IT Assistant.
NOTE: For more information about using the VMware vSphere CLI, see the
VMware support site at www.vmware.com/support.
Configuring Your System to Send Traps to a Management Station Using
the vSphere CLI
1
Install the VMware vSphere CLI.
2
Open a command prompt on the system in which the vSphere CLI is
installed.
3
Navigate to the directory in which the vSphere CLI is installed. The
default location on Linux is
/usr/bin
and on Windows is
C:\Program
Files\VMware\VMware vSphere CLI\bin
.
4
Configure the SNMP setting using the following command:
vicfg-snmp.pl --server <server> --username
<username> --password <password> -c <community> -t
<hostname>@162/<community>
where <
server
> is the hostname or IP address of the ESXi system,
<
username
> is a user on the ESXi system, <
password
> is the password of
the ESXi user, <
community
> is the SNMP community name and
<
hostname
> is the hostname or IP address of the management station.
NOTE: If you do not specify a user name and password, you are prompted to
specify the same.
5
Enable SNMP using the following command:
vicfg-snmp.pl --server <server> --username
<username> --password <password> -E
6
View the SNMP configuration using the following command:
vicfg-snmp.pl --server <server> --username
<username> --password <password> -s
7
Test the SNMP configuration using the following command: