nv-l
[Top] [All Lists]

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

To: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Subject: Re: [NV-L] Netview truncating trap variables at 249 chars
From: James Shanks <jshanks@us.ibm.com>
Date: Thu, 27 Jul 2006 10:58:12 -0400
Delivery-date: Thu, 27 Jul 2006 16:47:19 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <OF6C18F14C.7FC8F576-ON852571B8.00488D8E-852571B8.0049C1E6@cantire.com>
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
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@lists.ca.ibm.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@lists.ca.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@us.ibm.com>
Sent by: nv-l-bounces@lists.ca.ibm.com
07/27/2006 08:50 AM
Please respond to Tivoli NetView Discussions


        To:     Tivoli NetView Discussions <nv-l@lists.ca.ibm.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@lists.ca.ibm.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@lists.ca.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@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)



_______________________________________________
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)

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

Archive operated by Skills 1st Ltd

See also: The NetView Web