Thanks Wes... Your direction helped. 
I found giving 1200 also having same issue. It was *not* a timing issue.
I am getting " snmp_build: unknown failuresend response: Error building
ASN.1 representation (build objid: bad first subidentifier)" error in my
snmpd dump, when the getbulk is failing. I have to look into this in
detail, but if any inputs on this error will be very helpful. My current
feeling is I am not dealing properly with the OBJECT IDENTIFIER item in
my getbulk.


Thanks 
-Ragesh 

-----Original Message-----
From: Wes Hardaker [mailto:[email protected]] 
Sent: Tuesday, February 24, 2009 10:34 PM
To: Ragesh V
Cc: [email protected]
Subject: Re: SNMP Agent response time

>>>>> On Tue, 24 Feb 2009 14:53:34 +0530, "Ragesh V" <[email protected]>
said:

RV> Same command works sometimes but fails some times. I have given -t
RV> 60 in the getbulk but still 2 out of 10(Not exactly) getbulk
RV> requests are getting timed out.

Two problems may be happening:

1) "-t 60" isn't enough.  If the agent can't respond that fast looking
   up the information then you won't get the response.

2) The second attempt by your getbulk app will try again and the agent
   may still be processing the original one so the second one will take
   longer to respond since it won't be processed till the first one
   finishes.

Why don't you run your request with -t 1200 and time it?

(some objects take a long time to process, others are quick...
different parts of the mib tree will have different speeds)
-- 
Wes Hardaker
Sparta, Inc.

------------------------------------------------------------------------
------
Open Source Business Conference (OSBC), March 24-25, 2009, San
Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the
Enterprise
-Strategies to boost innovation and cut costs with open source
participation
-Receive a $600 discount off the registration fee with the source code:
SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


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.

-----------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to