This is a discussion on snmptrapd does timeout on select() in Net-snmp 5.3.0.1 within the SNMP Coders forums, part of the Networking and Network Related category; Hello, snmptrapd is no longer timing out on a regular interval in 5.3.0.1 (as compared to 5....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello,
snmptrapd is no longer timing out on a regular interval in 5.3.0.1 (as compared to 5.2.1). In reviewing the code, I see that the code used to do some initialization for AGENTX that setup an alarm. The alarm prevented snmp_select_info from setting block to 1. Setting block to 1 causes snmptrapdmain to set the timeout to 0. Since there is no timeout, I am not able to get the trapdaemon to respond to signals in a timely fashion on WIN32, running the daemon as a service. What do you recommend to alleviate this problem? I was wondering if there was some kind of dummy alarm that could be registered so as to prevent the blocking or should we create some kind of #define to prevent blocking? Robert Wilcox ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642 _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |