To: | nv-l@lists.tivoli.com |
---|---|
Subject: | Re: Passing NVA event Attribute to awk script ?? |
From: | James_Shanks@tivoli.com |
Date: | Wed, 10 May 2000 16:31:08 -0400 |
I'm confused here. Sorry. In a ruleset action node $NVA will resolve to the agent address, which should resolve to a hostname. But to get attribute number one, you use $NVATTR_1 not $1 like you do for trapd. But I think your script is probably getting the variable correctly. To prove that I would add this to it right at the beginning: echo $NVA > /myfile echo $NVATTR_1 > /myfile ..... echo $NVATTR_n > /myfile for however many you have and go look in myfile after it executes James Shanks Tivoli (NetView for UNIX and NT) L3 Support |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | Passing NVA event Attribute to awk script ??, Jeff Fitzwater |
---|---|
Next by Date: | Re: Passing NVA event Attribute to awk script ??, James_Shanks |
Previous by Thread: | Passing NVA event Attribute to awk script ??, Jeff Fitzwater |
Next by Thread: | Re: Passing NVA event Attribute to awk script ??, James_Shanks |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Archive operated by Skills 1st Ltd
See also: The NetView Web