mib2trap specifically looks for TRAP-TYPE and that's all
Traps in trapd.conf are organized by enterprise -- the oid of who is
sending it, regardless of what it is about. So an agent implementing
SNMPV2 would have to include any traps under his enterprise.
And most SNMPV2 data is made available via SNMPGET rather than by trap, so
I'm afraid I am not aware of what a NOTIFICATION-TYPE is in this regard.
What MIB are you looking at?
James Shanks
Tivoli (NetView for UNIX) L3 Support
"Prokott, Joe" <Joe.Prokott@WESTGROUP.COM> on 11/02/98 04:54:14 PM
Please respond to Discussion of IBM NetView and POLYCENTER Manager on
NetView <NV-L@UCSBVM.UCSB.EDU>
To: NV-L@UCSBVM.UCSB.EDU
cc: (bcc: James Shanks)
Subject: Re: Problem with nvaddtrapdconf
Note: Some recipients have been dropped due to syntax errors.
Please refer to the "$AdditionalHeaders" item for the complete headers.
Do SNMPv2 traps also need to be defined in the /usr/OV/conf/C/trapd.conf
file? If so, it appears that the "mib2trap" executable does *not* convert
SNMPv2 traps defined as "NOTIFICATION-TYPE" in the MIB file into a script
using the "addtrap" command. I see that these traps are defined in the
MIB,
but I assume the trapd.conf file also needs how to translate these as well
when NV receives them, not? Does NV handle these differently? I am not
familiar with the "NOTIFICATION-TYPE" SNMP identifier - I assume this is
specific to SNMPv2? Thanks,
Joe Prokott - West Group
Network Architect
610 Opperman Drive
St. Paul, MN 55123
Phone: 651-687-4536
Fax: 651-687-6946
E-mail: joe.prokott@westgroup.com
-----Original Message-----
From: James_Shanks@TIVOLI.COM [mailto:James_Shanks@TIVOLI.COM]
Sent: Wednesday, October 28, 1998 4:02 PM
To: NV-L@UCSBVM.UCSB.EDU
Subject: Re: Problem with nvaddtrapdconf
NO, NO, NO. NetView does NOT load any trap definitions when you compile
mibs. This is a misconception.
Adding trap definitions is a separate step. If you have a MIB with trap
definitions in it, the you must use the mib2trap function to get an addtrap
script generated, and this in turn will add your traps to trapd.conf when
it is run.
To get this function to work properly, you must be at NetView V5.1
(Sorry if you find my emphasis offensive. I have been trying to stamp out
this misconception for some time).
James Shanks
Tivoli (NetView for UNIX) L3 Support
pieter <pieter@SNSCON.CO.ZA> on 10/28/98 02:29:05 PM
Please respond to Discussion of IBM NetView and POLYCENTER Manager on
NetView <NV-L@UCSBVM.UCSB.EDU>
To: NV-L@UCSBVM.UCSB.EDU
cc: (bcc: James Shanks)
Subject: Re: Problem with nvaddtrapdconf
Hi
Normally which you compile the mibs, Netview will/should load the all the
trap
definitions supllied with the specific mib. So try and load the mibs...
Vynita Pretorius wrote:
> -- [ From: Vynita Pretorius * EMC.Ver #2.5.02 ] --
>
> Hi
> When you say you are looking up Trapd.conf I presume you are looking at
the
> trapd.conf that appears in /usr/OV/conf/C because in my experiences the
> trapd.conf in /usr/OV/conf does not update. Have you checked to see the
> actual traps in xnmtrap.
> B.T.W. There is a utility xnmevents and UpdateTrapXXX which merges a file
> into the trapd.conf, BUT if think it is part of the Ciscoview/works
package.
>
> Thanks
> Vynita Pretorius
>
> -------- REPLY, Original message follows --------
>
> > Date: Tuesday, 27-Oct-98 09:29 AM
> >
> > From: James_Shanks@TIVOLI.COM \ Internet: (james_shanks@tivoli.com)
> > To: Multiple recipients of list NV-L \ Internet:
(nv-l@ucsbvm.ucsb.
> edu)
> >
> > Subject: Re: Problem with nvaddtrapdconf
> >
> > Are you getting any messages at all? You should get at least a
> "successful"
> > message.
> >
> > The only thing I can think of is that your trapd.conf does not have an
> > enterprise entry for this vendor. If not, you will have to add that
first
> by
> > xnmtrap, or put it into the vendor file as the first item. But
whenever I
> have
> > this problem, I do get an error message. If you cannot get it to work,
> then
> > you'll have to call Support.
> >
> > James Shanks
> > Tivoli (NetView for UNIX) L3 Support
> >
> >
> >
> > "R.V." <vishwa@INDUS.HCLT.COM> on 10/26/98 02:07:16 AM
> >
> > Please respond to Discussion of IBM NetView and POLYCENTER Manager on
> > NetView <NV-L@UCSBVM.UCSB.EDU>
> >
> > To: NV-L@UCSBVM.UCSB.EDU
> > cc: (bcc: James Shanks)
> > Subject: Problem with nvaddtrapdconf
> >
> >
> >
> >
> >
> > Hi all,
> > I am new to NetView. I have
> > a problem when merging the Vendor
> > supplied
> > trap definitions into the trapd.conf
> > file using the nvaddtrapdconf shell
> > script. No error
> > msg's occur . But when I look up the
> > trapd.conf file after running the script
> > no Vendor supplied definitions have been
> > actually added. I don't understand
> > what's happening.Can any one help me out
> > , please ?
> > Thanx in Advance.
> >
> >
> > - Regards
> >
> > Vishwa
> >
>
> -------- REPLY, End of original message --------
|