Well, you cannot tell trapd not to translate IP addresses if he can, that
is not a customization option. But NetView does not send link up / link
down traps. So if those are the ones you are talking about you will have
to see what variables the vendor provides. If the trap says "serial 2"
then that is what the vendor sent. Interface up / Interface down traps by
NetView are a different matter. netmon send the traps and it contains the
name of the interface ("serial 2") not its IP address as part of variable
3, the message text, which is what is displayed by default. However, the
actual IP address of the interface is sent in variable 4, along with a time
stamp and the object id's of the node and the interface in the object
database. To see this information in the trap, just use xnmtrap (trap
customization) to modify the log message to say "$4" along with whatever it
says now (probably just "$3", the NetView default).
I am not sure what you are passing to TSD, but if it is just the displayed
text, then that would be how to change it. Unfortunately perhaps, you must
display all of var 4, you cannot just show the first part of it, so your
TSD customization will have to account for that.
James Shanks
Team Leader, Level 3 Support
Tivoli NetView for UNIX and NT
"S. Varathu, IBM" <Varathu@bom4.siemens.co.in>@tkg.com on 03/26/2001
03:29:21 AM
Please respond to IBM NetView Discussion <nv-l@tkg.com>
Sent by: owner-nv-l@tkg.com
To: "'nv-l@tkg.com'" <nv-l@tkg.com>
cc:
Subject: [NV-L] IP address instead of hostname in EVENTs
Hi,
Netview 5.1 is loaded into AIX4.2.1.
Node name (hostname of the device) is displayed instead of specific IP
address for the interface in EVENT browser for any link Down or UP event.
How do i configure to show IP address for the interface instead of node
name and serialx( example node cisind serial2 is down). This is required to
forward the events to TSD which in turn lodge and close the calls for any
link Down and Up event.
Thanks and Regards,
varadhu
_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l
|