Has anyone configured SNMP traps in comjunction with ESX 4 yet? The snmpd.conf file is quite different. del does not have their OpenManage Guide updated yet.
I am using HP and HP agents, but I used the old SNMP.conf file from a 3.5 U4 system. It works perfectly.
I
I am using HP and HP agents, but I used the old SNMP.conf file from a 3.5 U4 system. It works perfectly.
I
Did you simply copy it over from an ESX 3.5 host and replace the existing one?
yes.
HP is a little different you can use a config file to setup everything you need so you don't have to set up the communities and sink locations, etc, but I copied over the SNMP file and used the same config file
I removed my community strings and placed "use yours here" instead
Following entries were added by HP Insight Management Agents at
Mon Oct 12 16:36:05 CDT 2009
dlmod cmaX /usr/lib64/libcmaX64.so
rwcommunity "use yours here" 127.0.0.1
rocommunity "use yours here" 127.0.0.1
rwcommunity "use yours here" bcdseapp01.hrbinc.hrblock.net
rocommunity "use yours here" bcdseapp01.hrbinc.hrblock.net
trapcommunity "use yours here"
trapsink bcdseapp01.hrbinc.hrblock.net "use yours here"
syscontact DL - DS Engineers
syslocation BT11
---------------------- END --------------------
###############################################################################
#
snmpd.conf:
An example configuration file for configuring the ucd-snmp snmpd agent.
#
###############################################################################
#
This file is intended to only be as a starting point. Many more
configuration directives exist than are mentioned in this file. For
full details, see the snmpd.conf(5) manual page.
#
All lines beginning with a '#' are comments and are intended for you
to read. All other lines are configuration commands for the agent.
###############################################################################
Access Control
###############################################################################
As shipped, the snmpd demon will only respond to queries on the
system mib group until this file is replaced or modified for
security purposes. Examples are shown below about how to increase the
level of access.
By far, the most common question I get about the agent is "why won't
it work?", when really it should be "how do I configure the agent to
allow me to access it?"
#
By default, the agent responds to the "public" community for read
only access, if run out of the box without any configuration file in
place. The following examples show you other ways of configuring
the agent so that you can change the community names, and give
yourself write access to the mib tree as well.
Thanks for the advice. I just copied one of my snmpd.conf files over from of of my ESX 3.5 U2 boxes, renamed the .conf file on the ESX 4 host, opened the firewall port, restarted the snmpd service, and was good to go!
Your welcome.
Don't forget to award points.