nv-l

RE: [nv-l] Adding custom trap definitions

2006-02-09 15:08:52
Subject: RE: [nv-l] Adding custom trap definitions
From: "Freeman, Michael" <mfreeman AT netcogov DOT com>
To: <nv-l AT lists.us.ibm DOT com>
Date: Thu, 9 Feb 2006 14:08:14 -0600
Oops, I meant xnmtrap and snmp_trapsend is just a Solaris utility that
can be used to generate traps (/usr/sbin/snmp_trapsend -e
".1.3.6.1.4.1.31337.1 STRING (foobar )" -h 172.17.253.10 -c
RO_Comm_String) 

-----Original Message-----
From: owner-nv-l AT lists.us.ibm DOT com [mailto:owner-nv-l AT lists.us.ibm DOT 
com]
On Behalf Of James Shanks
Sent: Thursday, February 09, 2006 1:53 PM
To: nv-l AT lists.us.ibm DOT com
Subject: Re: [nv-l] Adding custom trap definitions

xnmevent?  We don't ship such a thing.  xnmtrap?  I don't recognize
snmp_trapsend either.

but double check your definition anyway.
On Windows your enterprise has to be an exact match (watch that .1 on
the
end) and the match extends to the specific trap number.
UNIX is more forgiving about the enterprise but you'd still need to make
certain the specific trap number was correct

HTH

James Shanks
Level 3 Support  for Tivoli NetView for UNIX and Windows Tivoli Software
/ IBM Software Group


 

             "Freeman,

             Michael"

             <mfreeman@netcogo
To 
             v.com>                    <nv-l AT lists.tivoli DOT com>

             Sent by:
cc 
             owner-nv-l@lists.

             us.ibm.com
Subject 
                                       [nv-l] Adding custom trap

                                       definitions

             02/09/2006 01:24

             PM

 

 

             Please respond to

             nv-l AT lists.us DOT ibm

                   .com

 

 





I've tried to add my own OID to the trapd.conf through the xnmevent
interface using an OID out of the private enterprise MIB
(1.3.6.1.4.1.31337, and no this is not legit with IANA) and then created
a "test" event. When I send a trap to netview using snmp_trapsend on
1.3.6.1.4.1.31337.1 I get an error in the trapd.log that says Trap found
with no format in trapd.conf. Looking at the /usr/OV/conf/C/trapd.conf I
can see the entry in there, and trapd has been restarted, yet I'm still
getting these errors.

Do I need to do something else to add custom trap definitions?

Thanks in advance,
Michael J. Freeman





<Prev in Thread] Current Thread [Next in Thread>