nv-l
[Top] [All Lists]

RE: [NV-L] Traps by hostname

To: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Subject: RE: [NV-L] Traps by hostname
From: James Shanks <jshanks@us.ibm.com>
Date: Fri, 1 Jun 2007 15:41:51 -0400
Delivery-date: Fri, 01 Jun 2007 20:51:24 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <C527DE636D0FE74ABDD3D7E44759013F02FDA643@CHN-HCLT-EVS03.HCLT.CORP.HCL.IN>
List-help: <mailto:nv-l-request@lists.ca.ibm.com?subject=help>
List-id: Tivoli NetView Discussions <nv-l.lists.ca.ibm.com>
List-post: <mailto:nv-l@lists.ca.ibm.com>
List-subscribe: <http://lists.ca.ibm.com/mailman/listinfo/nv-l>, <mailto:nv-l-request@lists.ca.ibm.com?subject=subscribe>
List-unsubscribe: <http://lists.ca.ibm.com/mailman/listinfo/nv-l>, <mailto:nv-l-request@lists.ca.ibm.com?subject=unsubscribe>
Reply-to: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Sender: nv-l-bounces@lists.ca.ibm.com

The general answer is "no". You cannot see the same trap twice, once with a hostname and once with an IP Address. NetView uses name resolution wherever possible, and displays a particular trap only once.

However, certain traps such as NetView's Interface Down/Up contain the IP address as a separate varbind, varbind 7,and you can modify the trap format in trapd.conf, using xnmtrap, to display both. For example, the current format for the Event Log message for IBM_NVIUP_EV (58916866) is given as simply "$3", which is the 3rd varbind. Netmon supplies it as "Interface <name> up". But you could add to it, say for example,
"$3. IP ADDRESS = $7"
and the event should display showing the IP Address as well. You could change the IBM_NVIDWN_EV (58916867) in a similar fashion.

For Node Up/Down events (58916864 and 58916865), varbind 8 contains a comma delimited list of all the interfaces on the node. You could alter those events to display that list if you desired.

For non-NetView vendor events you are restricted to whatever they send in their traps.

You can learn more about the contents of NetView internal traps in Appendix A of the Administrator's Guide. I'd use the 7.1.5 documentation even if you have 7.1.4, because it was rewritten to be more complete and a number of old errors were expunged. It's more likely to correct than the 7.1.4 doc, even if it documents a couple of traps you don't have.
http://publib.boulder.ibm.com/infocenter/tivihelp/v3r1/index.jsp?toc=/com.ibm.itnetview.doc/toc.xml


James Shanks
Level 3 Support for Tivoli NetView for UNIX and Windows
Network Availability Management
Network Management - Development
Tivoli Software, IBM Corp
Inactive hide details for "Santhanakrishnan Janakiraman (IT Services), Chennai" <santhanakrishnanjn@hcl.in>"Santhanakrishnan Janakiraman (IT Services), Chennai" <santhanakrishnanjn@hcl.in>


          "Santhanakrishnan Janakiraman (IT Services), Chennai" <santhanakrishnanjn@hcl.in>
          Sent by: nv-l-bounces@lists.ca.ibm.com

          06/01/2007 02:27 PM
          Please respond to
          Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>


To

"Tivoli NetView Discussions" <nv-l@lists.ca.ibm.com>

cc


Subject

RE: [NV-L] Traps by hostname

Hi,

Thanks for your reply. I understand what you said but my question is whether i can able to get two entries at the same time in trapd.log, one with IP address and another with hostname when an event occurs.

Thanks & Regards

SanthanaKrishnan.J

Office: 044-28221129 Ext-2206

Mobile: +91- 9840943639




From: nv-l-bounces@lists.ca.ibm.com [mailto:nv-l-bounces@lists.ca.ibm.com] On Behalf Of James Shanks
Sent:
Wednesday, May 30, 2007 9:51 PM
To:
Tivoli NetView Discussions
Subject:
Re: [NV-L] Traps by hostname

If you get a NetView trap which is not resolved, then you have a DNS problem. Most likely the reverse look-up, IP address to hostname, is missing. Both netmon and trapd do everything they can to use hostnames rather than IP addresses in the traps which netmon sends and trapd displays. If a NetView trap, e.g., Node Down, shows up in trapd.log with an IP address instead of a hostname, then it's a fact that netmon's gethostbyaddr call failed to provide one.

The same is true for a non-NetView trap. If a non-NetView trap is shown in trapd.log with an IP address rather than a hostname, then trapd's gethostbyaddr call failed to provide one.

Try using the nvgethost command in /usr/OV/bin. You should get the same results when you use the hostname and when you sue the IP address. If they differ, then you have a problem to resolve.

James Shanks
Level 3 Support for Tivoli NetView for UNIX and Windows
Network Availability Management
Network Management - Development
Tivoli Software, IBM Corp
Inactive hide details for "Santhanakrishnan Janakiraman (IT Services), Chennai" <santhanakrishnanjn@hcl.in>"Santhanakrishnan Janakiraman (IT Services), Chennai" <santhanakrishnanjn@hcl.in>

                  "Santhanakrishnan Janakiraman (IT Services), Chennai" <santhanakrishnanjn@hcl.in>
                  Sent by: nv-l-bounces@lists.ca.ibm.com

                  05/30/2007 11:30 AM

Please respond to
Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
To

"Tivoli NetView Discussions" <nv-l@lists.ca.ibm.com>
cc
Subject

[NV-L] Traps by hostname

Hi,

Iam using Netview 7.1.4.4 on AIX 5L , DB is Oracle 9i.
Do netview send trap by Hostname, already iam getting trap by IP address. Can I able to get trap by both identity when an event occurs. Please advice me on this

Thanks & Regards
SanthanaKrishnan.J

Office: 044-28221129 Ext-2206

Mobile: +91- 9840943639

DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------
_______________________________________________
NV-L mailing list
NV-L@lists.ca.ibm.com
Unsubscribe:NV-L-leave@lists.ca.ibm.com

http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to internal IBM'ers only)
_______________________________________________
NV-L mailing list
NV-L@lists.ca.ibm.com
Unsubscribe:NV-L-leave@lists.ca.ibm.com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to internal IBM'ers only)

GIF image

_______________________________________________
NV-L mailing list
NV-L@lists.ca.ibm.com
Unsubscribe:NV-L-leave@lists.ca.ibm.com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to 
internal IBM'ers only)
<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web