Re: Help in Net-SNMP Timeout value

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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
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.