Thanks for the information .... I will play around with these options.
What are default number of retries performed by snmpget if the -r option is not
used?
What is the default timeout period by snmpget is the -t option is not used?
--- On Thu, 11/20/08, Magnus Fromreide <[EMAIL PROTECTED]> wrote:
From: Magnus Fromreide <[EMAIL PROTECTED]>
Subject: Re: Can master agent resend request to subagent multiple times?
To: [EMAIL PROTECTED]
Cc: "net-snmp Coders" <[email protected]>
Date: Thursday, November 20, 2008, 2:49 PM
On Thu, 2008-11-20 at 12:10 -0800, Need Help wrote:
>
> I am using NetSNMP 5.4.1 and I am using a subagent to process my MIB
> requests.
>
> Once a request comes in via the master agent, then the subagent is
> informed which then calls the appropriate data function to obtain the
> required data. Thsi data function is only called by the subagent one
> time to obtain the data, however, I am noticing this data function is
> called 3 times for some reason. I am also experiencing some timeouts
> occurring when performing a snmpget request.
>
> Does the master agent have some type of retry mechanism which would
> result in the subagent being called multiple times although one SNMP
> request was issued?
No, there is no retry functionality in the master agent.
On the other hand there is a retry functionality in snmpget, so if
snmpget get no answer before a timeout it will retry a couple of times.
Check the -r and -t option to snmpget and toy about with those in
combination with the -d option so that you can see the packages that are
sent and received.
/MF
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders