nv-l

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

2003-04-30 16:43:51
Subject: Re: [nv-l] How would I pass the event message to script using ruleset?
From: James Shanks <jshanks AT us.ibm DOT com>
To: nv-l AT lists.tivoli DOT com
Date: Wed, 30 Apr 2003 16:39:48 -0400
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 AT TD DOT COM
04/30/2003 04:19 PM

 
        To:     nv-l AT lists.tivoli DOT 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 AT lists.tivoli DOT com
For additional commands, e-mail: nv-l-help AT lists.tivoli DOT 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 AT lists.tivoli DOT com
For additional commands, e-mail: nv-l-help AT lists.tivoli DOT 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>