nv-l

Re: Viewing trap variables...

1999-08-04 12:46:01
Subject: Re: Viewing trap variables...
From: Leslie Clark <lclark AT US.IBM DOT COM>
To: nv-l AT lists.tivoli DOT com
Date: Wed, 4 Aug 1999 12:46:01 -0400
You are almost there. Formatting the trap to display variable bindings
IN THE EVENT DISPLAY allows you to understand what is available.
In the events display they are referenced as $A, $1, $2, etc. The online
help is very good here. Then, when dealing with them in the ruleset
editor, you reference them differently. $A in the events display is NVA
in the ruleset editor. $E (enterprise) in the events display is NVE in the
ruleset editor. $1, $2, etc in the events display is NVATTR_1 in
the ruleset editor.

Cordially,

Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking




Thankyou for the responses but one more question...

I thought that in Netview, the variable bindings were referneced as
nvattr_1, nvattr_2, etc.

But it seems from what you are saying, variable binding 1 - $1, variable
binding 2 = $2, etc. Is this the way you reference variable bindings??

Sincerely,

Gord.


>From: "Owens, Blaine C" <bowens AT EASTMAN DOT COM>
>Reply-To: Discussion of IBM NetView and POLYCENTER Manager on NetView
>        <NV-L AT UCSBVM.ucsb DOT edu>
>To: NV-L AT UCSBVM.ucsb DOT edu
>Subject: Re: Viewing trap variables...
>Date: Wed, 4 Aug 1999 11:15:39 -0400
>
>In Event Customization add (or define) "$*" to the "Event Log Message". $*
>will display both the names of the variable bindings and the values. You
>are
>correct about the [1], [2], etc. Once you see exactly what you are getting
>in the traps you can go back and redefine to display the verbage and
>variable bindings you want to display or act upon ($1, $2, etc.).
>
>Blaine Owens
>Eastman Chemical Company
>Phone - (423)-229-3579
>Fax - (423)-229-1188
>bowens AT eastman DOT com
> > -----Original Message-----
> > From: Gord Michaels [mailto:gord_michaels AT HOTMAIL DOT COM]
> > Sent: Wednesday, August 04, 1999 6:30 AM
> > To: NV-L AT UCSBVM.UCSB DOT EDU
> > Subject: Viewing trap variables...
> >
> >
> > Hello All.
> >
> > What is the best way in which to view all of the info sent with a trap?
> >
> > I have been looking at the trapd.log file but that does not seem to have
> > the
> > variable bindings listed.
> >
> > Also, when a trap is received, are the variable bindings are the items
> > listed as [1], [2], etc. ??
> >
> > And finally, from what I understand, these bindings are nothing more
>than
> > MIB variables from the device sending the trap??
> >
> > Any info appreciated.
> >
> > Gord.
> >
> >
> >
> > ______________________________________________________
> > Get Your Private, Free Email at http://www.hotmail.com


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


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