On 17/08/07, jeddy <[EMAIL PROTECTED]> wrote:
> 1. May I know the default timeout and retry count value of snmpget?
$ man snmpcmd
:
-r retries
Specifies the number of retries to be used in the requests.
The default is 5.
-t timeout
Specifies the timeout in seconds between retries.
The default is 1.
> 2. Does snmptrap also supports Retry and timeout?
Yes - see above.
> 3. Does Net-SNMP really do not check valid parameter values?
> Ex: community name.
The community string is validated by the agent.
If it receives a request with an unknown community string, then
it discards the request. It does *not* return an error response.
As far as the snmpget command is concerned, this looks like
a simple timeout, so it retries the request a few times, and then
gives up. Which is what you are seeing.
Crazy, I know - but that's what the SNMP specs require.
Dave
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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