Users Guide

Table Of Contents
38 Setup and Administration
b
To enable VMWare SNMP service, run the following command:
vicfg-snmp.pl --server <ESX_IP_addr> --username
root --password <password>
-E
c
To view the configuration settings, run the following command:
vicfg-snmp.pl --server <ESX_IP_addr> --username
root --password <password>
-s
After modification, the configuration file looks 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.
book.book Page 38 Tuesday, July 6, 2010 12:01 PM