Users Guide

38 Setup and Administration
vicfg-snmp.pl --server <ESX_IP_addr> --username
root --password <password>
-s
After modification, the configuration file will look like this:
<?xml version="1.0">
<config>
<snmpSettings>
<enable>true</enable>
<communities>public</communities>
<targets>143.166.152.248@162/public</targets>
<port>167</port>
</snmpSettings>
</config>
2
Stop the SNMP service if it is already running on your system by entering
the following command:
service snmpd stop
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
book.book Page 38 Friday, December 4, 2009 3:20 PM