To: | nv-l@lists.us.ibm.com |
---|---|
Subject: | Re: [nv-l] NVATTR_# |
From: | Oliver Bruchhaeuser <oliver.bruchhaeuser@de.ibm.com> |
Date: | Thu, 11 Mar 2004 14:27:08 +0100 |
Delivery-date: | Thu, 11 Mar 2004 13:46:27 +0000 |
Envelope-to: | nv-l-archive@lists.skills-1st.co.uk |
Reply-to: | nv-l@lists.us.ibm.com |
Sender: | owner-nv-l@lists.us.ibm.com |
or .... we have had this recenty here .... use something like: set | grep ^NV in the script to dump all NetView environment variables. Oliver
Paul is correct and Scott Barr's suggestion was a good one, too -- You need not pass the NVATTR available. They are already passed an exported in the shell that runs your command. All you have to do is reference them. But there is no way to say "list them all" with $NVATTR_* as you are trying to do. That is not in the documentation. You can however reference $NVATTR_COUNT and then list variables up to that number in a loop. James Shanks Level 3 Support for Tivoli NetView for UNIX and Windows Tivoli Software / IBM Software Group
When you run a script from a ruleset node all the NetView and trap variables are passed to the environment of that script. Paul CMazon@commercebankfl.com wrote: > > Ok guys, I found several instances in the archives but I have yet to see > an answer for this one, (unless I missed it). I am generating an email > through an action node on a ruleset. However I want the email to > contain all the variables that the event has forwarded to the the action > node without having to include in the script $NVATTR_1-50. Is there a > wildcard for the $NVATTR? I know one exists for traps ($*) but > $NVATTR_* does not seem to work, or im doing something wrong? > > > Thanks > > Carlos |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | [nv-l] ruleset problem - action, lucian . vanghele |
---|---|
Next by Date: | Re: [nv-l] was aixmib.my -- more about enterprises.ibm.4..., lucian . vanghele |
Previous by Thread: | RE: [nv-l] NVATTR_#, Barr, Scott |
Next by Thread: | [nv-l] ruleset problem - action, lucian . vanghele |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Archive operated by Skills 1st Ltd
See also: The NetView Web