Enabling SNMP on VMWare ESX hosts

It is critial for accuratly monitoring your ESX hosts. So here is how to enable it.

First you will need to make the neccesary hole in the ESX firewall, do this by running as root

esxcfg-firewall -e snmpd

Then configure snmp. You will need to do this appropriatly for your environment, but edit /etc/snmp/snmpd.conf

Once you have done this, type

chkconfig –level 2345 snmpd on

To enable snmpd on startup init levels 2, 3, 4 and 5.

Then either reboot or type

/etc/init.d/snmpd start

Jobs a goodun.

You can follow any responses to this entry through the RSS 2.0 feed.

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This blog is kept spam free by WP-SpamFree.