Jesus,
Traps will not send the IP address to you, U will need to use perl script which will get invoked by the trap to compare with a table where U will need to put the IfIndex and corresponding IP Address. I hope UR NetView Server is Managed node( Perl gets installed by default) If no then install perl and use the action command as "perl nv.pl RTR Name($2,) IfIndex($3) Event($4)"
Attached the script and sample table for your understanding which will be site specific.
Santosh <<link_nv.tbl>> <<nv.pl>>
----------
From: jesus corral[SMTP:helen_saintcross AT yahoo DOT es]
Sent: Wednesday, January 30, 2002 1:09 AM
To: nv-l AT lists.tivoli DOT com
Subject: [nv-l] Problem with trap
Hello,
NetView 7.1 + AIX.
I am receiving link down traps of a Nokia firewall and
the only argument i get is the value of the ifIndex
but i need to get the IP Address. How can i get the
correspondence between this ifIndex value and the IP
Address of it? The reason of it is that i need to send
a trap with the IP Address of the interface and not
the ifIndex.
Thankx a lot for your answers
_______________________________________________________________
Do You Yahoo!?
Yahoo! Messenger
Comunicación instantánea gratis con tu gente.
http://messenger.yahoo.es
---------------------------------------------------------------------
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)
link_nv.tbl
Description: Binary data
nv.pl
Description: Binary data
|