To: | nv-l@lists.us.ibm.com |
---|---|
Subject: | Re: [nv-l] NVATTR_# |
From: | James Shanks <jshanks@us.ibm.com> |
Date: | Thu, 11 Mar 2004 07:50:53 -0500 |
Delivery-date: | Thu, 11 Mar 2004 13:03:32 +0000 |
Envelope-to: | nv-l-archive@lists.skills-1st.co.uk |
In-reply-to: | <404F9120.1010409@bellsouth.net> |
Reply-to: | nv-l@lists.us.ibm.com |
Sender: | owner-nv-l@lists.us.ibm.com |
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: | Re: [nv-l] Node down events., Jon Austin |
---|---|
Next by Date: | [nv-l] ruleset problem - action, lucian . vanghele |
Previous by Thread: | Re: [nv-l] NVATTR_#, Paul |
Next by Thread: | Re: [nv-l] seedfile/discovery, Alan E. Hennis |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Archive operated by Skills 1st Ltd
See also: The NetView Web