Can someone help configuring SNMP traps for ESX 3.0.2 server. I've installed OpenMange 5.2 already but don't know how to configure snmp.conf file. Please provide details how to edit the .conf file.
Installing Dell OpenManage 5.2 Agents on the VMware Service Console
ESX Server 3.0.2 supports Dell OpenManage 5.2 management agents. Before installing the Dell OpenManage
software on the service console, you must install some additional files as described below.
To install the software
1 Ensure that you have the Dell OpenManage installation media.
2 Log into the VMware Service Console as root.
Mount /dev/cdrom /mnt/cdrom
3 Change to the directory where the installation files are stored.
cd /mnt/cdrom/srvadmin/linux/supportscripts
4 Run the installation script.
./srvadmin-install.sh
5 For environments managed with a Dell OpenManage IT Assistant management station, configure
SNMPD to send SNMP traps to the management station. To add trapcommunity & trapsink, edit
/etc/snmp/snmpd.conf.
============================
Example on Windows Trap settings:
Traps tab:
Community Name: TRAPNAME Trap Destination: 167.16.xxx.xxx
Security Tab:
Checked "Send authentication trap"
Accepted community names: TRAPNAMES - READ ONLY
Accept SNMP packets from these hosts:
167.16.xxx.xxx
(list of addresses here)
===============================================
Should I enter the same entries as Windows trap configuration? Please advice how your .conf looks like.
Here is a redacted copy of my snmp.conf file.
XXXXXXXXXXXXX
Sample snmpd.conf containing VMware MIB module entries.
This is a simple snmpd.conf that may help you test SNMP.
It is not recommended for production use. Consult the
snmpd.conf(5) man pages to set up a secure installation.
syscontact root@localhost (edit snmpd.conf)
syslocation room1 (edit snmpd.conf)
rocommunity z75xxxyxaty6
trapcommunity z75xxxyxaty6
trapsink 10.xx.xx.xx z75xxxyxaty6
VMware MIB modules. To enable/disable VMware MIB items
add/remove the following entries.
dlmod SNMPESX /usr/lib/vmware/snmp/libSNMPESX.so
Allow Systems Management Data Engine SNMP to connect to snmpd using SMUX
smuxpeer .1.3.6.1.4.1.674.10892.1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Yes use the same config as your windows servers.
Moberle,
thanks for the replied but looking at the .conf file I have no idea what's those key entries are?
can you kindly enough to attach or highlight the entries I need to add like trapsink and IP address. Also, where do I add multiple IP address of accepted SNMP packets from multiple hosts.
Anyone has snmp.conf file working please share so I can look at the entries and alter.
This might help: http://www.dell.com/downloads/global/solutions/installing_dell_openmanage_on_esx.pdf
There is a section on configuring the snmpd.conf.
You have to change two things in the file. change “rocommunity public” to “rocommunity <community name>” and add the following line: "trapsink <ITA_IP_Address> <community name>", where ITA_IP_Address is the IP address of your ITA server (or any SNMP server)
Bala, Dell Inc.
Does this looks correct to you after I've install Dell OpenManage 5.2?
Sample snmpd.conf containing VMware MIB module entries.
This is a simple snmpd.conf that may help you test SNMP.
It is not recommended for production use. Consult the
snmpd.conf(5) man pages to set up a secure installation.
syscontact root@localhost (edit snmpd.conf)
syslocation room1 (edit snmpd.conf)
rocommunity TRAPNAME
trapcommunity TRAPNAME
trapsink SRVSNMP01.DOMAIN.COM
VMware MIB modules. To enable/disable VMware MIB items
add/remove the following entries.
dlmod SNMPESX /usr/lib/vmware/snmp/libSNMPESX.so
Allow Systems Management Data Engine SNMP to connect to snmpd using SMUX
smuxpeer .1.3.6.1.4.1.674.10892.1
That was a cut and paste of my working snmp file.
the three important entries are as follows
rocommunity z75xxxyxaty6 This is the readonly snmp community your Dell Open Manage server is on.
trapcommunity z75xxxyxaty6 This is the snmp trap community that your Dell Open Manage server is receiving traps on.
trapsink 10.xx.xx.xx z75xxxyxaty6 The 10.xx.xx.xx is the IP address of your Dell Open Manage server acting as your trapsink.
Please read the Dell Open Manage installation instructions they explain the settings very well.
Thanks for the info But I already have this working at my site. I was trying to help the other guy.
Yes the section on configuring the snmpd.conf file is very well written.
Regards,
Michael