Here is how I fixed my scripts.
You will need to do something similar for each variable
passed.
MSG=`echo $MSG | sed 's/\\\//g'`
This replaces all back-slashes with null
Don Davis
-----Original Message-----
From: reamd@Nationwide.com [mailto:reamd@Nationwide.com]
Sent: Monday, March 04, 2002 12:46 PM
To: nv-l@lists.tivoli.com
Subject: [nv-l] After 6.03 patch install
Hi All,
I recently in stalled the 6.03 patch and have came across a
problem since the install.We currently have scripts defined
to execute when
certain traps are received such as interface up.down
traps, and SNMP
Collection threshold traps. Netview is configured
to pass paramenters to
these scripts such as
/usr/local/nwi/scripts/ifthresh $1 $2 "$3" $4 $5.
Prior to the patch, all
parameters passed through in clear text, included non
alpha-numeric
characters. After the 6.0.3 upgrade patch was applied,
all non
alpha-numeric characters are being preceded by a "\"
character. For
example, if $1 is the resource name and it = "a-n-aa-drt01",
then the
paramneter getting passed to the script is "a\-n\-aa\-drt01".
This is
casuing problems in the scripts. Any Idea's?
AIX 4.3.3
Netview 6.03
Thanks, Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe@lists.tivoli.com
For additional commands, e-mail: nv-l-help@lists.tivoli.com
*NOTE*
This is not an Offical Tivoli Support forum. If you need
immediate
assistance from Tivoli please call the IBM Tivoli Software
Group
help line at 1-800-TIVOLI8(848-6548)
------------------------------------------------------------------------------
This electronic mail and any files transmitted with it are confidential
and are intended solely for the use of individual or entity to whom they
are addressed. If you are not the intended recipient or the person responsible
for delivering the electronic mail to the intended recipient, be advised
that you have received this electronic mail in error and that any use,
dissemination, forwarding, printing, or copying of this electronic mail
is strictly prohibited. If you have received this electronic mail in error,
please immediately notify the sender by return mail.
==============================================================================