nv-l

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

2003-09-16 11:47:32
Subject: RE: [nv-l] How to pass Octet String trap parameter to script ?
From: "Allison, Jason (JALLISON)" <JALLISON AT arinc DOT com>
To: nv-l <nv-l AT lists.tivoli DOT com>
Date: Tue, 16 Sep 2003 11:46:22 -0400
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 AT fr.ibm DOT com]
Sent: Tuesday, September 16, 2003 11:43 AM
To: nv-l AT lists.tivoli DOT 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 AT fr.ibm DOT com
Phone : +33 (0)4 92 11 48 69
Fax : +33 (0)4 93 24 49 07