RE: agentx timeouts ignored by snmpd?
"Andreas Mueller" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 06/11/2007, Andreas Mueller <[email protected]> wrote: > I set the timeout in the open and register PDU to 15 seconds (to have > some time for debugging), but it seems that the snmpd ignores these > settings. It seems to repeat the request in 1 second interval 5 times > and then closes the session to my agentx subagent. Dave wrote: > How are you setting these timeout values? I have my own implementation of an AgentX subagent. I test it against some SNMPD implementations (one of them is NET-SNMP). > There's an snmpd.conf directive "agentxTimeout" which might be helpful to you. OK, that might be helpful for debugging. But what should I do when I cannot guarantee a response time of 1 second and want to tell the master agent that it should use a greater timeout (the AgentX code runs in a separate thread and must synchronize (mutex) against other threads that may hold the mutex for a view seconds (e.g. when synchronizing data to disk))? The RFC mentions the timeout in the open and register PDU that should overwrite the default timeout. Andreas ------------------------------------------------------------------------- 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