I am not certain what you are asking. NVATTR_2 refers to the second
variable of the trap, as used in a ruleset. It will always refer to the
contents of the second variable, no matter whose trap it is. If you are
asking, "Is there a variable in a Cisco trap which always contains the
hostname of the sending device?", then I don't know the answer to that
question. But if it is in a variable, then you can reference the variable
as $NVATTR_x, where x is an integer from 1 - 50. If it is not in a
variable, but you need the sender's origin, you reference that as $NVA.
These variable assignments are discussed in the NetView Administrator's
Guide.
James Shanks
Tivoli (NetView for UNIX) L3 Support
Oren Mamok <orenm@ns.tadiran.com> on 12/22/98 09:26:16 AM
Please respond to Discussion of IBM NetView and POLYCENTER Manager on
NetView <NV-L@UCSBVM.UCSB.EDU>
To: NV-L@UCSBVM.UCSB.EDU
cc: (bcc: James Shanks)
Subject: cisco traps 2
Thank you all,
I configured the trapd to recieve smnp over udp through port 162
and not 412. It all working well i'm recieving cisco's traps.
Is there a way to isolate the cisco trap's varaiables like NVATTR_2 in NV ?
Greetings,Oren.
Thank you all,
I configured the trapd to recieve smnp
over udp through port 162
and not 412. It all working well i'm
recieving cisco's traps.
Is there a way to isolate the cisco
trap's varaiables like NVATTR_2 in NV ?
Greetings,Oren.
|
|