Users Guide

Setup and Administration 41
3
Add the following line at the end of the
/etc/snmp/snmpd.conf
:.
proxy -v 1 -c public udp:127.0.0.1:X
.1.3.6.1.4.1.6876
Where
X
represents the unused port specified above, while configuring
SNMP.
4
Configure the trap destination using the following command:
<Destination_IP_Address> <community_name>
The trapsink specification is required to send traps defined in the
proprietary MIBs.
5
Restart mgmt-vmware service with the following command:
service mgmt-vmware restart
6
Restart the snmpd service with the following command:
service snmpd start
NOTE: If the srvadmin is installed and the services are already started, restart
the services 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.X Operating Systems
Server Administrator supports SNMP traps on VMware ESXi 4.X. If a
standalone license is only present, SNMP configuration fails on VMware ESXi
operating systems. The Server Administrator does not support SNMP Get
and Set operations on VMWare ESXi 4.x as the required SNMP support is
unavailable. The VMware vSphere Command-Line Interface (CLI) is used to
configure a system running VMware ESXi 4.X to send SNMP traps to a
management station.
NOTE: For more information about using the VMware vSphere CLI, see the
VMware support site at vmware.com/support.
book.book Page 41 Monday, March 14, 2011 2:40 PM