Re: where to set retries/timeout time, problem in set request

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 16/01/2008, Awadhesh Kumar <[email protected]> wrote:

> It is showing that two SET request has been sent to sub-agent(Might be I am
> wrong).  Seems that client is sending the request two times

That makes sense.
If the client sends the request twice, then the master agent will send
the sub-request twice (once for each incoming request).

>                                              but if I give
> command  "snmpset -r 0 ...." then it gives timeout error.

Try increasing the timeout as well.

>                                                                              And replacing the
> 0 with 1 it is sending the request to master agent two time

as you've told it to....

> and getting the response.

So the initial response *almost* gets back in time.
Increasing the timeout value should be sufficient.


>        Is there any way to avoid the multiple request sent by client to
> master agent in net-snmp

Increase the client timeout.


>      because my client would be some third party client
> like "emanate" snmp client

You'll need to check the documentation for that client to see
how to set the retry/timeout values.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.