nv-l
[Top] [All Lists]

RE: [nv-l] How to pass Octet String trap parameter to script ?

To: nv-l <nv-l@lists.tivoli.com>
Subject: RE: [nv-l] How to pass Octet String trap parameter to script ?
From: "Allison, Jason (JALLISON)" <JALLISON@arinc.com>
Date: Tue, 16 Sep 2003 11:46:22 -0400
Delivered-to: mailing list nv-l@lists.tivoli.com
Delivery-date: Tue, 16 Sep 2003 16:47:32 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
List-help: <mailto:nv-l-help@lists.tivoli.com>
List-post: <mailto:nv-l@lists.tivoli.com>
List-subscribe: <mailto:nv-l-subscribe@lists.tivoli.com>
List-unsubscribe: <mailto:nv-l-unsubscribe@lists.tivoli.com>
Mailing-list: contact nv-l-help@lists.tivoli.com; run by ezmlm
If Im not mistaken, the SMI RFC has provision for Octets.  As long as the varbind type is configured for Octet, I believe Netview will display it.  My guess would be your trap is sending the wrong varbind type (not Octets) thus trapd and nvevents not knowing how to handle it.
 
 

Jason Allison
Principal Engineer
ARINC Incorporated
Office:  (410) 266-2006
FAX:  (410) 573-3026

-----Original Message-----
From: Philippe Menard [mailto:PME@fr.ibm.com]
Sent: Tuesday, September 16, 2003 11:43 AM
To: nv-l@lists.tivoli.com
Subject: [nv-l] How to pass Octet String trap parameter to script ?


All,

AIX 4.3.3 ML10 + NV 7.1.3 + popular patches.

I need to provide a script with the parameters found in a trap.
$1, $2, etc work fine for integers and strings but doesn't for Octet Strings.

It seems that the bytes are passed (and escaped for most of them) by ovactiond.
Is there is way to get the bytes string as displayed in the events window ?
( i.e. a string like "0x01 12 34 ab ..." )

Best regards,
Philippe.

- - -

Philippe MÉNARD
Networking Delivery Support Center
Mail : pme@fr.ibm.com
Phone : +33 (0)4 92 11 48 69
Fax : +33 (0)4 93 24 49 07

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

Archive operated by Skills 1st Ltd

See also: The NetView Web