nv-l
[Top] [All Lists]

Re: [nv-l] Traps not formatting right!

To: nv-l@lists.us.ibm.com
Subject: Re: [nv-l] Traps not formatting right!
From: Larry Fagan <larrytechie@yahoo.com>
Date: Fri, 1 Apr 2005 11:43:40 -0800 (PST)
Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
Delivery-date: Fri, 01 Apr 2005 20:44:13 +0100
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=xPVICZuGsK6kLH7L5gi35P08omzmNe4NKJcaRcFotYZG3rPYEn12RV9q7lg/nLXVTYR/XZqfrezL7g5NvM5nxVc3B2tdt6aMAjkeGCp/azUEo77YepBlu0RSmmX66QkaX2WuP2PsSBkEthyfQ9q6R+kabEhtCNfAHi2y9AVsy7I= ;
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <OF852340F8.D379AF71-ON85256FD6.0068355B-85256FD6.006932A9@us.ibm.com>
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com
Many thanks James...
Larry

--- James Shanks <jshanks@us.ibm.com> wrote:

> 
> 
> 
> 
> Larry,
> 
> I'd surmise that you are correct but  I don't have
> any better idea what
> this message means than you do.  That's an issue for
> the sender.  There may
> be comments in the MIB which will tell you some
> more, or else you will have
> to consult the vendor, either in his manuals or
> through a support channel,
> unless you can find another user who knows.  There
> is no standard for what
> one puts in a trap.  The vendor, whose agent sends
> it, decides.
> 
> But you can make the message say whatever you want
> it to say using xnmtrap.
> You don't have to display all the variables ($*) in
> the log message.
> mib2trap does that because he doesn't know what else
> to do.  That's his
> default.  But you can customize this trap to display
> just the text you want
> , or a combination of variables and text, such as 
> "Disk space low in
> partition $2 ".  That would make this trap msg be
> simply "Disk space low in
> partition /dev/w0f"  when you see it again.   The
> addtrap scripts mib2trap
> creates are just starting points.
> 
> James Shanks
> Level 3 Support  for Tivoli NetView for UNIX and
> Windows
> Tivoli Software / IBM Software Group
> 
> 
>                                                     
>                       
>              Larry Fagan                            
>                       
>              <larrytechie@yaho                      
>                       
>              o.com>                                 
>                    To 
>              Sent by:                 
> nv-l@lists.us.ibm.com               
>              owner-nv-l@lists.                      
>                    cc 
>              us.ibm.com                             
>                       
>                                                     
>               Subject 
>                                        Re: [nv-l]
> Traps not formatting     
>              04/01/2005 01:55          right!       
>                       
>              PM                                     
>                       
>                                                     
>                       
>                                                     
>                       
>              Please respond to                      
>                       
>                    nv-l                             
>                       
>                                                     
>                       
>                                                     
>                       
> 
> 
> 
> 
> James,
> I just made a copy of trapd.conf and added another
> enterprise OID as NOKIA-SYS with OID as
> 1.3.6.1.4.1.94.1.21.1(without 0). Now when the traps
> came , they are formatted right as below.
> 
> " systemTrapLowDiskSpace - NOKIA-SYS 6 4 4 args: 
> [1]
> hrPartitionEntry.hrPartitionIndex.3.1 (Integer): 1
> [2] hrPartitionEntry.hrPartitionLabel.3.1
> (OctetString): /dev/wd0f  [3]
> hrPartitionEntry.hrPartitionSize.3.1 (Integer):
> 396952
>  [4]
> host.hrDevice.hrFSTable.hrFSEntry.hrFSMountPoint.1
> (OctetString): /  "
> 
> This trap's event name is systemtrapLowDisSpace. So
> what am i supposed to understand from this trap
> message. That there is low disk space on /dev/wdof?
> am
> i right? Is there a way to trim this message more
> meanfull? b'cos the message never said that there
> low
> disk space.
> Thanks again..
> Larry
> 
> --- James Shanks <jshanks@us.ibm.com> wrote:
> >
> >
> >
> >
> > Ooops.  Sorry.  Spoke too soon.
> > Actually, come to think of it, that will be harder
> > to do because xnmtrap
> > only lets you add and delete enterprise ids, not
> > modify them.
> > You could make a backup copy of trapd.conf and
> edit
> > the running one, but
> > that's a lot of work, since you have to correct
> the
> > enterprise entry and
> > all the individual entries too.
> >
> > Still got your addtrap script from mib2trap?  Fix
> it
> > there.  You can delete
> > all the old entries using xnmtrap, or just add the
> > new ones with the
> > addtrap script.
> >
> > James Shanks
> > Level 3 Support  for Tivoli NetView for UNIX and
> > Windows
> > Tivoli Software / IBM Software Group
> >
> >
> >
> >
> >              James
> >
> >              Shanks/Raleigh/IB
> >
> >              M@IBMUS
> >                    To
> >              Sent by:
> > nv-l@lists.us.ibm.com
> >              owner-nv-l@lists.
> >                    cc
> >              us.ibm.com
> >
> >
> >               Subject
> >                                        Re: [nv-l]
> > Traps not formatting
> >              04/01/2005 01:15          right!
> >
> >              PM
> >
> >
> >
> >
> >
> >              Please respond to
> >
> >                    nv-l
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > So you are saying that  what you have is an agent
> > which is sending one
> > thing, while its MIB says it will send another.
> > That's not all that
> > uncommon.
> >
> > If that's the case, then use xnmtrap to correct
> the
> > OID to what is actually
> > sent.
> >
> >
> > James Shanks
> > Level 3 Support  for Tivoli NetView for UNIX and
> > Windows
> > Tivoli Software / IBM Software Group
> >
> >
> >
> >              Larry Fagan
> >              <larrytechie@yaho
> 
=== message truncated ===



                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search. 
http://info.mail.yahoo.com/mail_250

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

Archive operated by Skills 1st Ltd

See also: The NetView Web