Server Management - Systems Insight Manager
1752734 Members
5670 Online
108789 Solutions
New Discussion

SNMP trap SLES9 not received by HP-SIM

 

SNMP trap SLES9 not received by HP-SIM

Hello,

I configured a SLES9 itanium server within HP-SIM.

Everything looks fine, except one thing. When i send an authentication trap from the System Management Homepage, it's not received by SIM. My SNMP settings seems fine according that the server is discovered very well by SIM. Here is my snmpd.conf file:

----------------------------------------------
## The following lines were automatically added Wed Apr 1 15:54:00 2009
## BEGIN
## rocommunity section
rocommunitypublic
rocommunitypublic localhost
## rwcommunity section
rwcommunityprivate
rwcommunityprivate localhost
## authtrapenable section
authtrapenable1
## trapcommunity section
trapcommunityprivate
## trapsink section
trapsink127.0.0.1
trapsink
trapsink127.0.0.1 public
trapsink public
## trap2sink section
trap2sink127.0.0.1
trap2sink
trap2sink127.0.0.1 public
trap2sink public
## informsink section
informsink127.0.0.1
informsink
informsink127.0.0.1 public
informsink public
## END
##
# --- HP Insight Management Agents: 01 Apr 2009 modifications start
master agentx
agentXTimeout 10
# --- HP Insight Management Agents: 01 Apr 2009 modifications end
# Please see /usr/share/doc/packages/net-snmp/EXAMPLE.conf for a
# more complete example and snmpd.conf(5).
#
# Writing is disabled by default for security reasons. If you'd like
# name to something nominally secure (keeping in mind that this is
# transmitted in clear text).
# Note that if you define the following here you won't be able to change
# them with snmpset
# These really aren't meant for production use. They include all MIBS
# and can use considerable resources. See snmpd.conf(5) for information
# on setting up groups and limiting MIBS.
--------------------------------------------

Is there something wrong with the conf file ?.
1 REPLY 1
DigiDoc TechAdmin
Occasional Advisor

Re: SNMP trap SLES9 not received by HP-SIM

i suppose the spaces in your sample config got lost with copy/paste?

anyway, here is a config that i use from redhat/net-snmp servers.

are you running a multihomed server?
i did and had to compile in a patch that adds the "v1trapaddress" keyword so traps would go out with the correct agent ip address.

x.x.x.x is the ip address of the linux agent
y.y.y.y is the ip address of the hpsim server

regards
hoyte swager


#
syslocation MyLocation
syscontact MyEmail@mail.com
#
agentaddress 127.0.0.1
agentaddress x.x.x.x
#
rocommunity MyComm
com2sec MyGrp y.y.y.y MyComm
group MyGrp v1 MyComm
group MyGrp v2c MyComm
view all included .1
access MyGrp "" any noauth exact all all none
#
sysservices 72
proc sendmail
proc httpd
disk /
disk /var
disk /usr
disk /home
load 2.0 2.0 2.0
exec loadrq /opt/etc/ioload -rq
exec loadio /opt/etc/ioload -io
#
trapcommunity MyComm
trapsink y.y.y.y
authtrapenable 1
v1trapaddress x.x.x.x
#
createUser internal MD5 "MySecret" DES
agentSecName internal
rouser internal
linkUpDownNotifications yes
defaultMonitors yes
#