Owner's Manual
Configuring Protocols to Send Information to IT Assistant 269
Where
X
represents the unused port specified above, while configuring
SNMP.
trapsink <IT Assistant_IP_Address>
<community_name>
trapsink
is required to send traps defined in the proprietary MIBs.
5
Run the following command to enable SNMP for VMware ESX Server:
vicfg-snmp --server <ESX_IP_addr> --username root
--password <password> -E
6
Run the following command to view the configuration:
vicfg-snmp --server <ESX_IP_addr> --username root
--password <password> -s
7
Restart
mgmt-vmware
. This takes a few minutes before the service is
started.
service mgmt-vmware restart
8
Restart the SNMP service.
Service snmpd start
9
To sustain a system reboot, start the
snmpd
service.
Chkconfig snmpd on
10
Run the following command to send a test trap to IT Assistant:
vicfg-snmp --server <ESX_IP_addr> --username root
--password <password> -T
NOTE: Ensure that the SNMP ports are open before sending traps to the
management station by typing esxcfg-firewall -e snmpd
Sample Script for Configuring SNMP on VMware ESX Server 4.0 and Later for
Discovery
IT Assistant provides a sample script ita_esx4_snmp_setup.py as an example
to configure SNMP in the VMware ESX Server 4.0 environment.
This script may work well in some environments, while in other
environments, you may need to develop your own script entirely from the
beginning.