nv-l

Re: [NV-L] Netview truncating trap variables at 249 chars

2006-07-27 11:47:19
Subject: Re: [NV-L] Netview truncating trap variables at 249 chars
From: James Shanks <jshanks AT us.ibm DOT com>
To: Tivoli NetView Discussions <nv-l AT lists.ca.ibm DOT com>
Date: Thu, 27 Jul 2006 10:58:12 -0400
Well, you can turn on the "hex dump all packets option" for trapd, so that
he runs with the -x option, and then toggle the trace on and off from the
command line with "trapd -T".  The trapd.trace will show the full packet as
received and you should be able to tell from that whether it is all being
received.

But not knowing anything else about this trap, there are buffer limitations
in what gets displayed and in order to prevent a core, if the full
formatted trap would exceed the buffer then it would be truncated.  So if
the trace shows the full packet is arriving, then tray formatting just that
variable and see if what you get is any better.

And open a problem to support if you need help with this.  All we can do
here is make suggestions.

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


                                                                           
             sean.lawrence@can                                             
             tire.com                                                      
             Sent by:                                                   To 
             nv-l-bounces@list         Tivoli NetView Discussions          
             s.ca.ibm.com              <nv-l AT lists.ca.ibm DOT com>           
  
                                                                        cc 
                                                                           
             07/27/2006 09:25                                      Subject 
             AM                        Re: [NV-L] Netview truncating trap  
                                       variables at 249 chars              
                                                                           
             Please respond to                                             
              Tivoli NetView                                               
                Discussions                                                
             <nv-l AT lists.ca DOT ib                                           
  
                  m.com>                                                   
                                                                           
                                                                           




This is in Netview AIX. The trap is truncated in the event display and the
trapd.log. It is being assumed that Ciscoworks is sending the full value.
Ciscoworks is directly mailing the network admin and the full string is
there.

Sean Lawrence
Systems Automation
Ext 5728




James Shanks <jshanks AT us.ibm DOT com>
Sent by: nv-l-bounces AT lists.ca.ibm DOT com
07/27/2006 08:50 AM
Please respond to Tivoli NetView Discussions


        To:     Tivoli NetView Discussions <nv-l AT lists.ca.ibm DOT com>
        cc:
        Subject:        Re: [NV-L] Netview truncating trap variables at 249
chars


Depends on where this occurs.   NetView for UNIX or Windows?

Truncating it where?  In the Event display?  In trapd.log?  In TEC?

249 is an odd number.  The maximum length of  a varbind that trapd will
support in this version is 512 characters, and I have tested this many
times.  But it makes a difference where and how the results are displayed.

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



             sean.lawrence@can
             tire.com
             Sent by:                                                   To

             nv-l-bounces@list         Tivoli NetView Discussions
             s.ca.ibm.com              <nv-l AT lists.ca.ibm DOT com>
                                                                        cc


             07/27/2006 08:05                                      Subject

             AM                        [NV-L] Netview truncating trap
                                       variables at 249 chars

             Please respond to
              Tivoli NetView
                Discussions
             <nv-l AT lists.ca DOT ib
                  m.com>






I am implementing the CISCO-EPM-NOTIFICATION-MIB and field
cenAlarmDescription (1.3.6.1.4.1.9.9.311.1.1.2.1.16249) contains for than
249 characters. Netview is truncating this field. Is there a setting I can
change to prevent this?

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


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



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


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