Owner's Manual
Configuring Protocols to Send Information to IT Assistant 257
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.
CAUTION: The sample scripts are provided as examples only and have not been
tested nor are they warranted in any way by Dell; Dell disclaims any liability in
connection therewith. Dell provides no technical support with regard to content
herein. The script has been written to reconfigure a new non-tampered default
snmp.xml and snmpd.conf files present on a ESX 4.0 System.
You can find the sample script in the ITAssistant\esx4_sample_script folder.
The parameters that can be passed to this script are as follows: