nv-l

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

2003-09-16 11:43:35
Subject: [nv-l] How to pass Octet String trap parameter to script ?
From: "Philippe Menard" <PME AT fr.ibm DOT com>
To: nv-l AT lists.tivoli DOT com
Date: Tue, 16 Sep 2003 17:42:50 +0200

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