Setting up SNMP on VMware

1.  Log onto console first (tty1 preferred – alt F1).
2.  Sudo to root su –   
3.  Open snmp config file  nano /etc/snmp/snmpd.conf
4.  Edit the following:

syslocation Datacentre x Bay x, Row x, Rack Asset x, Uxx-Uxx
rocommunity [snmp public string]
trapcommunity [snmp admin string]
trapsink [ip address of snmp receiving server]
 
5.  Restart the snmp daemon /etc/init.d/snmpd restart 

6.  Open ESX firewall port for snmp  esxcfg-firewall -e snmpd
7.  Make snmpd service automatic  chkconfig snmpd on 

Use this free tool to test.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.