Users Guide
42 Setup and Administration
Configuring Your System to Send Traps to a Management Station
Server Administrator generates SNMP traps in response to changes in the
status of sensors and other monitored parameters. One or more trap
destinations must be configured on the system running Server Administrator
for SNMP traps to be sent to a management station.
To configure your ESXi system running Server Administrator to send traps to
a management station, perform the following steps:
1
Install the VMware vSphere CLI.
2
Open a command prompt on the system where the VMware vSphere CLI
is installed.
3
Change to the directory where the VMware vSphere CLI is installed. The
default location on Linux is
/usr/bin
. The default location on Windows is
C:\Program Files\VMware\VMware vSphere CLI\bin
.
4
Execute the following command:
vicfg-snmp.pl --server <server> --username
<username> --password <password> -c <community> -t
<hostname>/<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: The extension .pl is not required on Linux.
NOTE: If you do not specify a user name and password, you are prompted.
The SNMP trap configuration takes effect immediately without restarting any
services.
book.book Page 42 Monday, March 14, 2011 2:40 PM