nv-l
[Top] [All Lists]

RE: T/EC mapping

To: nv-l@lists.tivoli.com
Subject: RE: T/EC mapping
From: Montoya Vincent-O10501 <Vincent.Montoya@motorola.com>
Date: Mon, 30 Apr 2001 16:13:23 -0700
Don,

I set $* and the following occurred:

[1] private.enterpises.1783.1.1.1 #1033 Unexpected stop of broker server in 
directory /u24/app/broker/data/defaults pid 233256 exit code 0

So it appears, that the trap being sent only sends var 1. I did your test and 
the T/EC mapping does work correctly.  

When leaving the T/EC slot mapping as default (blank) the T/EC fills in the msg 
slot as so:
#1033 Unexpected stop of broker server in directory 
/u24/app/broker/data/defaults pid 233256 exit code 0

and the hostname slot does get filled with the correct hostname (I checked the 
reception log), where is NetView getting this information if it is not from the 
varbinds? Also, how can I grab this information and include it in the msg slot?

Thanks,

Vince

-----Original Message-----
From: Don Davis [mailto:Don_Davis@att.net]
Sent: Friday, April 27, 2001 2:55 PM
To: Montoya Vincent-O10501
Subject: Re: [NV-L] T/EC mapping


Vince,
I am still not sure what is being sent to NetView from MLM.
Do this: Open xnmtrap and put $* in the pop-up notification option.
When this trap is received, a pop-up will appear with each variable
received,
listed and numbered on a new line in the pop-up window.
I think you will find that you are not receiving variable 2 or 3 at NetView
(trapd).

Here is a command that you can use to test this,
snmptrap <your NetView>  \
.1.0 "" 6 1033 ""  \
.1.0 OctetString Vince  \
.1.0 OctetString Was  \
.1.0 OctetString Here

This should also send "Here" to T/EC in the msg variable if you have set
msg=$V3
This will verify that NetView & T/EC slot mapping is set correctly.

Best regards,
Don Davis
===============================================
Don Davis  -  Tivoli Certified NetView Instructor & Consultant
Alliance of Professionals and Consultants, Inc.
Raleigh, NC.
----- Original Message -----
From: "Montoya Vincent-O10501" <Vincent.Montoya@motorola.com>
To: "'Don Davis'" <Don_Davis@att.net>
Sent: Friday, April 27, 2001 9:45 AM
Subject: RE: [NV-L] T/EC mapping


> Don,
>
> Source Character A
> Generic Trap Numver: 6
> Specific Trap Number: 1033
> Enterprise ID .iso.0
> Enterprise ID (Numeric) .1.0
> T/EC Event Class Nvserverd_Event
>
> Trapd.conf:
>
> BrokerDown {1.0} 6 1033 A 4 0 "Application Alert Events"
>
> It is an MLM and this is what I found in the trapd.log:
> 988381488  5  Fri Apr 27 07:24:48 2001 systemX.carp.com A #1033 Unexpected
stop of broker server in directory /u02/app/broker/data/default pid 3505 -
exit code 0
>
> Vince
>
> -----Original Message-----
> From: Don Davis [mailto:Don_Davis@att.net]
> Sent: Thursday, April 26, 2001 11:09 PM
> To: IBM NetView Discussion
> Cc: Vincent.Montoya
> Subject: Re: [NV-L] T/EC mapping
>
>
> Vincent,
> What Generic and Specific trap numbers are we talking about?
> What is the exact syntax of the trap that you are sending to NetView (if
> known)?
> Is this from MLM, netmon, a remote agent or something home grown (script)
?
> > Does NetView fill in the values for the varbinds or does the software
that
> sends the trap suppose to assign the values to them?
> The software or agent that sends the traps assigns the values, NetView
just
> passes them on.
> Best regards,
> ===============================================
> Don Davis  -  Tivoli Certified NetView Instructor & Consultant
> Alliance of Professionals and Consultants, Inc.
> Raleigh, NC.
>
>
> ----- Original Message -----
> From: "Montoya Vincent-O10501" <Vincent.Montoya@motorola.com>
> To: <nv-l@tkg.com>
> Sent: Thursday, April 26, 2001 5:15 PM
> Subject: [NV-L] T/EC mapping
>
>
> > To All,
> >
> >
> > I tried the following in the T/EC slot mapping:
> > msg $V2  also $V2 $V3
> > Results: The T/EC event sent a empty field in the msg slot ' '
> >
> > I attempted a printf:
> > msg PRINTF("System: %s Event: %s", $V2, $V3)
> > Results:
> > System System System:Event: : :Event::Event:System: Event: :....repeated
> multple times
> >
> > Note: The T/EC Event Class is the Nvserverd_Event class.
> >
> > Does NetView fill in the values for the varbinds or does the software
that
> sends the trap suppose to assign the values to them?
> >
> > AIX Version 4.3
> > NetView Version 6.0
> >
> >
_________________________________________________________________________


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

Archive operated by Skills 1st Ltd

See also: The NetView Web