nv-l
[Top] [All Lists]

Re: Passing trap data to script in action node in rule.

To: nv-l@lists.tivoli.com
Subject: Re: Passing trap data to script in action node in rule.
From: James_Shanks@tivoli.com
Date: Mon, 31 Jul 2000 08:18:41 -0400

You've confused me.  What stuff are you trying to get exactly?

The third NetView trap variable contains the exact display text for Node Up and
Node Down events, unless you have changed trapd.conf to display something else,
so $NVATTR_3 should give you that.  If you have changed it, then you will have
to re-construct that in your script.  In other words, if you changed trapd.conf
to display "Holy smokes, batman, we have a $3"  then you action script is only
going to get the value of  that third variable in "$NVATTR_3" and you would have
to add the additional text yourself.  Is that the question you are asking?

James Shanks
Team Leader, Level 3 Support
 Tivoli NetView for UNIX and NT


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

Archive operated by Skills 1st Ltd

See also: The NetView Web