Users Guide

Setup and Administration 39
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 system running Server Administrator to send traps to a
management station, edit the SNMP agent configuration file
/etc/snmp/snmpd.conf, and perform the following steps:
1
Add the following line to the file:
trapsink IP_address community_name
where
IP_address
is the IP address of the management station and
community_name
is the SNMP community name.
2
To enable SNMP configuration changes, restart the SNMP agent by typing:
/etc/init.d/snmpd restart
Configuring the SNMP Agent on Systems Running Supported VMware
ESX 4.X Operating Systems to Proxy VMware MIBs
The ESX 4.X server can be managed through a single default port 161 using
the SNMP protocol. To do this, snmpd is configured to use the default port
161 and vmwarehostd is configured to use a different (unused) port, for
example, 167. Any SNMP request on the VMWare MIB branch is rerouted to
the
vmware-hostd
using the proxy feature of the
snmpd
daemon.
The VMWare SNMP configuration file can be modified manually on the ESX
server or by running VMWare Remote Command-Line Interface (RCLI)
command
vicfg-snmp
from a remote system (Windows or Linux). The RCLI
tools can be downloaded from the VMware website at
vmware.com/download/vi/drivers_tools.html.
Below are the required steps for the configuration.
1
Edit the VMWare SNMP configuration file
/etc/vmware/snmp.xml
either
manually or run the following vicfg-snmp commands to modify the SNMP
configuration settings. This includes the SNMP listening port, community
string, and the trap target ipaddress/port and trap community name and
then enable the VMWare SNMP service.
book.book Page 39 Monday, March 14, 2011 2:40 PM