Users Guide
Setup and Administration 39
NOTE: If the srvadmin is installed and the services are already started, they should
be restarted as they depend on the snmpd service.
7
Run the following command so that the snmpd daemon starts on every
reboot:
chkconfig snmpd on
8
Run the following command to ensure that the SNMP ports are open
before sending traps to the management station.
esxcfg-firewall -e snmpd
Configuring the SNMP Agent on Systems Running Supported VMware
ESXi 4.0 Operating Systems
Server Administrator supports SNMP traps on VMware ESXi 4. Server
Administrator does not support SNMP Get and Set operations on VMware
ESXi 4 because VMware ESXi 4 does not provide the required SNMP
support. The VMware vSphere Command-Line Interface (CLI) is used to
configure a system running VMware ESXi 4 to send SNMP traps to a
management station.
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
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:
book.book Page 39 Friday, December 4, 2009 3:20 PM