All of this is correct.
And the values of $NVx are documented in the NetView Administrator's Guide
, in Chapter 5, "Correlating, Filtering, and Configuring Events" under the
major section, "Correlating Events", minor section "Environment Variables
for Trap Data".
James Shanks
Tivoli (NetView for UNIX) L3 Support
Gord Michaels <gord_michaels@HOTMAIL.COM> on 06/16/99 01:41:38 PM
Please respond to Discussion of IBM NetView and POLYCENTER Manager on
NetView <NV-L@UCSBVM.UCSB.EDU>
To: NV-L@UCSBVM.UCSB.EDU
cc: (bcc: James Shanks/Tivoli Systems)
Subject: Passing Variables to a script...
Hello All.
I was wondering if someone could verify if I have this concept correct in
my
head....
Say within a Rule I call a script...
/usr/scripts/myScript.sh $NVT $NVA $NVATTR_2
Then, inside the script itself, $NVT gets referred to as $1, $NVA gets
referred to as $2, and $NVATTR_2 gets referred to as $3 ????
Also, is $NVA the same as $A, $NVS the same as $S, etc.. ???
Any info appreciated.
Gord.
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
|