First, the esx firewall needs to be opened up to allow the various trafic.
esxcfg-firewall -o 1311,tcp,in,OpenManageRequest
esxcfg-firewall -o 162,udp,out,snmptrap
esxcfg-firewall -o 162,udp,in,snmptrap
esxcfg-firewall -o 161,tcp,in,snmp
esxcfg-firewall -o 161,tcp,out,snmp
esxcfg-firewall -o 161,udp,in,snmp
esxcfg-firewall -o 161,udp,out,snmp
Second, make your /etc/snmp/snmpd.conf file look something like this:
### snmpd.conf configuration file
# sec.name source community
com2sec ita 192.168.1.50 ITACommunity
# group.name sec.model sec.name
group itagroup v1 ita
group itagroup v2c ita
# name incl/excl subtree mask(optional)
view all included .1
# group.name context sec.model sec.level prefix read write notif
access itagroup "" any noauth exact all all none
# Added for support of bcm5820 cards.
pass .1.3.6.1.4.1.4413.4.1 /usr/bin/ucd5820stat
# Send traps to the ita box.
trapsink 192.168.1.50 ITACommunity
# Allow Systems Management Data Engine SNMP to connect to using SMUX
smuxpeer .1.3.6.1.4.1.674.10892.1
# VMware MIB modules.
dlmod SNMPESX /usr/lib/vmware/snmp/libSNMPESX.so
Of course you will need to change the ip address to point to your OMSA server and you may want to change the community name as well.
Thanks to the folks over at VMTN for creating such a good resource!
sorry about the dup post.... server crashed and i wanted to make sure this one made it.
ReplyDeletehello friend;
ReplyDeletethe first, congratulations for you web site,i have a question;
i need install OMSA on Vmware with hardware DELL? (R710), step by step, please if you have solution for me... with hardware DELL? (R710), i need to install step by step, please