nv-l

Re: trap question

2001-12-17 20:18:23
Subject: Re: trap question
From: "Leslie Clark" <lclark AT us.ibm DOT com>
To: nv-l AT lists.tivoli DOT com
Date: Mon, 17 Dec 2001 20:18:23 -0500
Brian, maybe I can read your mind from here.   Either the node is in your
map,
or it is not. If it is in the map, it was discovered by an address other
than 10.73.7.242. It's Selection Name, if you look at it with
'Tools...Display Object Info' is some name, and that name resolves to some
other address on the device.
But the device is configured in such a way , or defaults in such a way,
that
the trap comes in bearing the address 10.73.7.242. Possibly you discovered
it
by loopback, which resolves, but the trap comes in by the nearest
interface,
which is a serial or something, and which does not resolve.

So when you use the Options...Highlight Node on Map function, Netview
tries to lookup an object whose Selection Name is 10.73.7.242. You
don't have one. So it says that the object is unknown.

The solution is to also resolve that address. If the device is in
/etc/hosts,
add this other address with the exact same name. Add it below the one that
is in there already. If it is being resolved by DNS, and your DNS will not
let
you put two addresses and the same name without round-robin, then put
them both in the /etc/hosts file (because /etc/hosts will be checked first
on your system). Be sure to use the fully qualified name, or whatever is in
the Object Info now, if it was discovered with a name from DNS.

Now when those traps come in from that address, they will be resolved, and
the events display will show the name in that middle column. And you will
be
able to navigate from the events display to the map.

Cordially,

Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking
Detroit



                                                                                
       
                    James                                                       
       
                    Shanks/Raleigh       To:     IBM NetView Discussion <nv-l 
AT tkg DOT com> 
                    /[email protected]           cc:                                    
       
                    Sent by:             Subject:     Re: [NV-L] trap question  
       
                    [email protected]                                              
       
                    .com                                                        
       
                                                                                
       
                                                                                
       
                    12/12/01 09:50                                              
       
                    AM                                                          
       
                    Please respond                                              
       
                    to IBM NetView                                              
       
                    Discussion                                                  
       
                                                                                
       
                                                                                
       




Start up  xnmtrap from a command line and go look at this trap.  What's in
the source field?  is it "?" or "A"?   trapd knows that it's not from
NetView (netmon) but the Event Display may be relying on the proper
character being in the file.

James Shanks
Level 3 Support  for Tivoli NetView for UNIX and NT
Tivoli Software / IBM Software Group



                                                                          
   "Brian Backer"                                                         
   <brian.backer AT electrolux DOT com>               To:        IBM NetView    
 
   Sent by: owner-nv-l AT tkg DOT com         Discussion <nv-l AT tkg DOT com>  
        
                                               cc:                        
                                               Subject:        Re: [NV-L] 
   12/12/2001 09:38 AM                 trap question                      
   Please respond to IBM NetView                                          
   Discussion                                                             
                                                                          





James,

Thanks for the reply.  You did clear things up for me but that leads me to
another question.....

In the Event Display application, when a trap comes in and I go into the
details of the event, it says Source: Source not known ?
I am thinking from you said earlier that it should understand that the
source is the Agent?!?
If that's the case, why would it say unknown?
Is there a way to correct this?  (or is it not broken?)
thanks again..

b





                   "James Shanks"

                   <jshanks AT us DOT ib       To:     IBM NetView Discussion
<nv-l AT tkg DOT com>
                   m.com>               cc:

                   Sent by:             Subject:     Re: [NV-L] trap
question
                   [email protected]

                   .com


                   12/12/2001

                   09:26 AM

                   Please respond

                   to IBM NetView

                   Discussion








You might want to have a look at the man page for trapd.conf and see if it
will answer some of your questions.

I don't understand what  you mean when you say that it is not receiving the
"Source". The "Source" is a single character indicating origin. In this
case the trap must be configured as an Agent trap in trapd.conf, because
there is a big "A" in the log before each variable.  If you mean the
originating node, that is given by the "10.73.7.242" IP address, so this
device must not be in DNS or /etc/hosts.  If it were, then trapd would
resolve that to a hostname.

Nothing is stored in UNIX.  Traps pass through and trapd formats them, logs
them, and passes them on to other processes.  That's all there is to it.
If the trap has ten variables and you only format one, the others are not
displayed or logged anywhere.

Based on the excerpt, this trap is configured with the Log Message being
set to
$E $G $S $# $*
which means to display, in order, the enterprise (dl3800) generic id (6)
specific id (108) number of variables (4 args:) and then display each
variable in turn.  Each number in a bracket [1] represents a variable, and
since there are four, it takes 5 lines to display the entire thing. Clearly
you are getting all that is being sent.

What are you expecting that you would ask "how can I determine whether or
not the DL3800 is actually
sending this information.?".  Of course it is, where else would all this
come from?

James Shanks
Level 3 Support  for Tivoli NetView for UNIX and NT
Tivoli Software / IBM Software Group




  "Brian Backer"
  <brian.backer AT electrolux DOT com>               To:        IBM NetView
  Sent by: owner-nv-l AT tkg DOT com         Discussion <nv-l AT tkg DOT com>
                                              cc:
                                              Subject:        [NV-L]
  12/12/2001 08:40 AM                 trap question
  Please respond to IBM NetView
  Discussion








Hey all...

We're running NV602 on AIX 433....  I have a question about Traps.

I have a Digital Link DL3800 set to send traps to netview and it all
appears to be working just fine, however, it's not receiving the 'Source'

my question is, how can I determine whether or not the DL3800 is actually
sending this information.?  I have looked in the trapd.log file and I don't
see anything in there, but does that store the entire trap or only what it
knows about and can format?

Any advice to help me figure this out would be greatly appreciated...
here's the entries from the trapd.log file as well...


----------


1008163427 7  Wed Dec 12 08:23:47 2001 10.73.7.242               A dl3800 6
108 4 args:  [1] private.enterprises.digital-link.102.1.3.1.10.0 (Integer):
2
1008163427 7  Wed Dec 12 08:23:47 2001  10.73.7.242               A  [2]
private.enterprises.digital-link.102.1.3.1.2.0 (Integer): 1
1008163427 7  Wed Dec 12 08:23:47 2001  10.73.7.242               A  [3]
private.enterprises.digital-link.102.1.3.1.11.0 (Integer): 108
1008163427 7  Wed Dec 12 08:23:47 2001  10.73.7.242               A  [4]
private.enterprises.digital-link.102.1.1.18.0 (Integer): 0
1008163427 7  Wed Dec 12 08:23:47 2001 10.73.7.242               A dl3800 6
49 4 args:  [1] private.enterprises.digital-link.102.1.3.1.10.0 (Integer):
2
1008163427 7  Wed Dec 12 08:23:47 2001  10.73.7.242               A  [2]
private.enterprises.digital-link.102.1.3.1.2.0 (Integer): 4
1008163427 7  Wed Dec 12 08:23:47 2001  10.73.7.242               A  [3]
private.enterprises.digital-link.102.1.3.1.11.0 (Integer): 49
1008163427 7  Wed Dec 12 08:23:47 2001  10.73.7.242               A  [4]
private.enterprises.digital-link.102.1.1.18.0 (Integer): 0
1008163428 7  Wed Dec 12 08:23:48 2001 10.73.7.242               A dl3800 6
34 4 args:  [1] private.enterprises.digital-link.102.1.3.1.10.0 (Integer):
2
1008163428 7  Wed Dec 12 08:23:48 2001  10.73.7.242               A  [2]
private.enterprises.digital-link.102.1.3.1.2.0 (Integer): 3
1008163428 7  Wed Dec 12 08:23:48 2001  10.73.7.242               A  [3]
private.enterprises.digital-link.102.1.3.1.11.0 (Integer): 34
1008163428 7  Wed Dec 12 08:23:48 2001  10.73.7.242               A  [4]
private.enterprises.digital-link.102.1.1.18.0 (Integer): 0
1008163428 3  Wed Dec 12 08:23:48 2001 10.73.7.242               ? Agent
Interface Down (linkDown Trap) enterprise:dl3800 (1.3.6.1.4.1.300.102)
args(1):
1008163428 3  Wed Dec 12 08:23:48 2001  10.73.7.242               ?  [1]
mgmt.mib-2.transmission.ds1.6.1.1.0 (Integer): 2
1008163429 7  Wed Dec 12 08:23:49 2001 10.73.7.242               A dl3800 6
38 4 args:  [1] private.enterprises.digital-link.102.1.3.1.10.0 (Integer):
2
1008163429 7  Wed Dec 12 08:23:49 2001  10.73.7.242               A  [2]
private.enterprises.digital-link.102.1.3.1.2.0 (Integer): 3
1008163429 7  Wed Dec 12 08:23:49 2001  10.73.7.242               A  [3]
private.enterprises.digital-link.102.1.3.1.11.0 (Integer): 38
1008163429 7  Wed Dec 12 08:23:49 2001  10.73.7.242               A  [4]
private.enterprises.digital-link.102.1.1.18.0 (Integer): 0
1008163431 7  Wed Dec 12 08:23:51 2001 10.73.7.242               A dl3800 6
36 4 args:  [1] private.enterprises.digital-link.102.1.3.1.10.0 (Integer):
2
1008163431 7  Wed Dec 12 08:23:51 2001  10.73.7.242               A  [2]
private.enterprises.digital-link.102.1.3.1.2.0 (Integer): 1
1008163431 7  Wed Dec 12 08:23:51 2001  10.73.7.242               A  [3]
private.enterprises.digital-link.102.1.3.1.11.0 (Integer): 36
1008163431 7  Wed Dec 12 08:23:51 2001  10.73.7.242               A  [4]
private.enterprises.digital-link.102.1.1.18.0 (Integer): 0
1008163431 7  Wed Dec 12 08:23:51 2001 10.73.7.242               A dl3800 6

34 4 args:  [1] private.enterprises.digital-link.102.1.3.1.10.0 (Integer):
2
1008163431 7  Wed Dec 12 08:23:51 2001  10.73.7.242               A  [2]
private.enterprises.digital-link.102.1.3.1.2.0 (Integer): 4
1008163431 7  Wed Dec 12 08:23:51 2001  10.73.7.242               A  [3]
private.enterprises.digital-link.102.1.3.1.11.0 (Integer): 34
1008163431 7  Wed Dec 12 08:23:51 2001  10.73.7.242               A  [4]
private.enterprises.digital-link.102.1.1.18.0 (Integer): 0
1008163432 7  Wed Dec 12 08:23:52 2001 10.73.7.242               A dl3800 6
36 4 args:  [1] private.enterprises.digital-link.102.1.3.1.10.0 (Integer):
2
1008163432 7  Wed Dec 12 08:23:52 2001  10.73.7.242               A  [2]
private.enterprises.digital-link.102.1.3.1.2.0 (Integer): 4
1008163432 7  Wed Dec 12 08:23:52 2001  10.73.7.242               A  [3]
private.enterprises.digital-link.102.1.3.1.11.0 (Integer): 36
1008163432 7  Wed Dec 12 08:23:52 2001  10.73.7.242               A  [4]
private.enterprises.digital-link.102.1.1.18.0 (Integer): 0
1008163432 7  Wed Dec 12 08:23:52 2001 10.73.7.242               A dl3800 6
40 4 args:  [1] private.enterprises.digital-link.102.1.3.1.10.0 (Integer):
2
1008163432 7  Wed Dec 12 08:23:52 2001  10.73.7.242               A  [2]
private.enterprises.digital-link.102.1.3.1.2.0 (Integer): 3
1008163432 7  Wed Dec 12 08:23:52 2001  10.73.7.242               A  [3]
private.enterprises.digital-link.102.1.3.1.11.0 (Integer): 40
1008163432 7  Wed Dec 12 08:23:52 2001  10.73.7.242               A  [4]
private.enterprises.digital-link.102.1.1.18.0 (Integer): 0
1008163440 7  Wed Dec 12 08:24:00 2001 10.73.7.242               A dl3800 6
38 4 args:  [1] private.enterprises.digital-link.102.1.3.1.10.0 (Integer):
2
1008163440 7  Wed Dec 12 08:24:00 2001  10.73.7.242               A  [2]
private.enterprises.digital-link.102.1.3.1.2.0 (Integer): 4
1008163440 7  Wed Dec 12 08:24:00 2001  10.73.7.242               A  [3]
private.enterprises.digital-link.102.1.3.1.11.0 (Integer): 38
1008163440 7  Wed Dec 12 08:24:00 2001  10.73.7.242               A  [4]
private.enterprises.digital-link.102.1.1.18.0 (Integer): 0
1008163442 7  Wed Dec 12 08:24:02 2001 10.73.7.242               A dl3800 6
40 4 args:  [1] private.enterprises.digital-link.102.1.3.1.10.0 (Integer):
2
1008163442 7  Wed Dec 12 08:24:02 2001  10.73.7.242               A  [2]
private.enterprises.digital-link.102.1.3.1.2.0 (Integer): 4
1008163442 7  Wed Dec 12 08:24:02 2001  10.73.7.242               A  [3]
private.enterprises.digital-link.102.1.3.1.11.0 (Integer): 40
1008163442 7  Wed Dec 12 08:24:02 2001  10.73.7.242               A  [4]
private.enterprises.digital-link.102.1.1.18.0 (Integer): 0
1008163442 3  Wed Dec 12 08:24:02 2001 10.73.7.242               ? Agent
Interface Up (linkUp Trap) enterprise:dl3800 (1.3.6.1.4.1.300.102) args(1):
1008163442 3  Wed Dec 12 08:24:02 2001  10.73.7.242               ?  [1]
mgmt.mib-2.transmission.ds1.6.1.1.0 (Integer): 2
1008163443 7  Wed Dec 12 08:24:03 2001 10.73.7.242               A dl3800 6
108 4 args:  [1] private.enterprises.digital-link.102.1.3.1.10.0 (Integer):
2
1008163443 7  Wed Dec 12 08:24:03 2001  10.73.7.242               A  [2]
private.enterprises.digital-link.102.1.3.1.2.0 (Integer): 4
1008163443 7  Wed Dec 12 08:24:03 2001  10.73.7.242               A  [3]
private.enterprises.digital-link.102.1.3.1.11.0 (Integer): 108
1008163443 7  Wed Dec 12 08:24:03 2001  10.73.7.242               A  [4]
private.enterprises.digital-link.102.1.1.18.0 (Integer): 0
1008163443 7  Wed Dec 12 08:24:03 2001 10.73.7.242               A dl3800 6
49 4 args:  [1] private.enterprises.digital-link.102.1.3.1.10.0 (Integer):
2
1008163443 7  Wed Dec 12 08:24:03 2001  10.73.7.242               A  [2]
private.enterprises.digital-link.102.1.3.1.2.0 (Integer): 1
1008163443 7  Wed Dec 12 08:24:03 2001  10.73.7.242               A  [3]
private.enterprises.digital-link.102.1.3.1.11.0 (Integer): 49
1008163443 7  Wed Dec 12 08:24:03 2001  10.73.7.242               A  [4]
private.enterprises.digital-link.102.1.1.18.0 (Integer): 0



***********************************************************************
This e-mail and any attachments may contain information which is
confidential, privileged, proprietary or otherwise protected by law.
The information is solely intended for the named addressee (or a person
responsible for delivering it to the addressee).  If you are not the
intended recipient of this message, you are not authorized to read,
print, retain, copy or disseminate this message or any part of it.
If you have received this e-mail in error, please notify the sender
immediately by return e-mail and delete it from your computer.
***********************************************************************

_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l





_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l


<Prev in Thread] Current Thread [Next in Thread>