Matt -
Here is a copy of a trap from my nvcorrd file.
You can see where the NVATTR attributes are assigned.
If your not getting the info, perhaps you should look
at whether you have your trap configuration set to log
only.
Jan
--- Matt Ashfield <mda@UNB.CA> wrote:
> Jan,
> When I looked at hte format in the logs, none of the
> variables contained the
> info I wanted...Here's what it looked like:
>
>
> 1999/05/25 14:52:17 nl_CorrDnodes.C[439] :
> forwarding EventInst:
> Event
> CID(1422) 14:52:16
>
> Attr(EnterpriseID='(char,1.3.6.1.4.1.705.1.11)')
>
> Attr(Generic='(ulong,6)')
>
> Attr(Specific='46')
>
> Attr(Origin='(ulong,2211054374)')
>
> Attr(sysUpTime='(ulong,36055922)')
>
> Attr(Community='(char,commname)')
>
> Attr(Category='(ulong,6)')
>
> Attr(Source='(char,A)')
>
> Attr(Severity='(ulong,3)')
>
> So what I figure is Netview looks at the specific
> trap, and correlates that
> to a trap message or something...When I changed my
> script around to produce
> $NVATTR_1, $NVATTR_2 and $NVATTR_3
> I got the output:
> 6 A 3
> So I am somewhat confused as to whether this is a
> NetView issue or whether
> it's a problem with my UPS software...
>
> Cheers
>
> Matt
>
>
> -----Original Message-----
> From: Jan Green <greenjan@yahoo.com>
> To: NV-L@ucsbvm.ucsb.edu <NV-L@ucsbvm.ucsb.edu>
> Date: Tuesday, May 25, 1999 3:06 PM
> Subject: Re: $NVATTR attribute
>
>
> >Matt-
> >
> >When you looked at the format in the nvcorrd.alog,
> >what
> >variable contains the information you want? Pass
> that.
> >
> >Jan
> >
>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
jan
Description: jan
|