Users Guide
40 Setup and Administration
</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
file:
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 the 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
book.book Page 40 Tuesday, March 6, 2012 6:13 PM