nv-l
[Top] [All Lists]

Re: [nv-l] How would I pass the event message to script using ruleset?

To: nv-l@lists.tivoli.com
Subject: Re: [nv-l] How would I pass the event message to script using ruleset?
From: James Shanks <jshanks@us.ibm.com>
Date: Wed, 30 Apr 2003 16:39:48 -0400
Delivered-to: mailing list nv-l@lists.tivoli.com
Delivery-date: Wed, 30 Apr 2003 21:43:52 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
List-help: <mailto:nv-l-help@lists.tivoli.com>
List-post: <mailto:nv-l@lists.tivoli.com>
List-subscribe: <mailto:nv-l-subscribe@lists.tivoli.com>
List-unsubscribe: <mailto:nv-l-unsubscribe@lists.tivoli.com>
Mailing-list: contact nv-l-help@lists.tivoli.com; run by ezmlm
The message you see in the events window is constructed.  Sometimes, for a 
particular trap, it is contained in a single variable, such as $3.  This 
is true of most NetView traps.  Other times it is composed of fixed text 
and variables, such as "Interface $3 is in status $4".   To pass what is 
see in the event window, you would have to pass the same kind of string 
that trapd does for that trap.  It is not exported in a variable anywhere. 
 The variables pieces are exported as $NVATTR_1, $NVATTR_2, and so on, so 
you would have to pass the proper combination o those and any fixed text 
to your script.

Hope this helps. 

James Shanks
Level 3 Support  for Tivoli NetView for UNIX and NT
Tivoli Software / IBM Software Group




Peter_Chow@TD.COM
04/30/2003 04:19 PM

 
        To:     nv-l@lists.tivoli.com
        cc: 
        Subject:        [nv-l] How would I pass the event message to script 
using ruleset?



We are running Netview 7.1.3 on AIX.

I have a ruleset with action that executes a script.  I would like to pass
the entire message as it would appear on the event monitor to this script.
Are there variables similar to $NVE, $NVA, etc that contain the message?
Does anyone have any suggestions?

Regards, Peter.



---------------------------------------------------------------------
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)





---------------------------------------------------------------------
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)


<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web