josephus
Contributor
Contributor

Enabling SNMP on (free) ESXi U4

Since RCLI is read-only again there is no way to enable SNMP remotely. However the following "unsupported" mode still works:

1. Edit /etc/vmware/snmp.xml

<config><snmpSettings><enable>true</enable><communities>public</communities><targets>targethost@port community</targets></snmpSettings></config>

2. /sbin/services.sh restart

3. Verify & test your settings with vicfg-snmp

0 Kudos
4 Replies
lamw
Community Manager
Community Manager

If you're using the free version of ESXi and specifically U4, then no there is no other supported method of enabling SNMP or performing any other write operations. As you've already verified, going into the unsupported SSH busybox console is one method or you can use the VI Client to enable SNMP.

=========================================================================

William Lam

VMware vExpert 2009

VMware ESX/ESXi scripts and resources at:

0 Kudos
mcsolutions03
Contributor
Contributor

what is the console command to edit this file?

0 Kudos
js-hacki
Contributor
Contributor

vi /etc/vmware/snmp.xml

to edit, type 'i'

to save your file, type ': x'

0 Kudos
lnxnut
Contributor
Contributor

Now unfortunately, I need the MIBs.

Would you happen to know where they are?

0 Kudos