Re: Trap variables
The trap you show does not contain the IP address in tsLineUser . What you
show is that this has the simple integer value "5". The IP address is not part
of this variable. I cannot tell you where it is, if it is anywhere. But you
are looking in the wrong place.
I cannot tell from what you have shown what is in variable 6. Could that octet
string be what you want? Are you confused about the difference bewteen
"tsLineUser " (which is the second trap variable) and "tsLineUser.2" (which
is the MIB object represented by the sixth trap variable)?
Tivoli (NetView for UNIX) L3 Support
"Chance, Larry" <lchance AT SFBCIC DOT COM> on 08/25/99 10:14:11 AM
Please respond to Discussion of IBM NetView and POLYCENTER Manager on NetView
<NV-L AT UCSBVM.UCSB DOT EDU>
To: NV-L AT UCSBVM.UCSB DOT EDU
cc: (bcc: James Shanks/Tivoli Systems)
Subject: Trap variables
[ NetView for NT ]
How do I capture (or can I capture) the IP addresses shown below and pass
the batch file I'm trying to use?
What is x?
I want to get the IP information from tsLineUser  which has the
source IP. As it is, I only get the Integer 5.
tcpConnectionClose trap received from enterprise mynetwork with 6 arguments:
 ltsLineSessionEntry.tslineSesType.2.1 (Integer): 5
 tcpConnState.10.0.1.19.18.104.22.168.163.1112 (Integer): 5
 loctcpConnElapsed.10.0.1.19.22.214.171.124.163.1112 (Ticks): 892
 loctcpConnInBytes.10.0.1.19.126.96.36.199.163.1112 (Integer): 41
 loctcpConnOutBytes.10.0.1.19.188.8.131.52.163.1112 (Integer): 84
 local.lts.ltsLineTable.ltsLineEntry.tsLineUser.2 (OctetString)