It appears that you have installed the security patch. It is on by default
in 6.0.3. This inserts a \ before special characters. You need to
strip it out in your action scripts. Do something like this:
NODE=`echo "$2" | sed "s:\\\\\\::g"`
This will remove all of those backslashes. I've tripped over this
twice now, installing the 6.0.3 upgrade and forgetting to fix my
scripts.
Cordially,
Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking
Detroit
Mythili Kannan
<mythili@anytec To: nv-l@lists.tivoli.com
h-inc.com> cc:
Subject: [nv-l] Inline actions do
not parse
01/28/02 04:35 nvattr correctly
PM
Running 6.02 on Solaris 8.
When the trap var-bindings contain the character -(hyphen), the inline
actions do not parse nvattr variables correctly. Has anyone else seen this
issue?
For eg., if one of the trap variables contain (eg., $2) the string:
"ABC-DEF", the inline action does not parse the $NVATTR_2 as "ABC\-DEF".
ie., a forward slash character is introduced.
- Mythili
---------------------------------------------------------------------
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)
|