On 2 March 2011 17:38, Reto Jaeger <[email protected]> wrote: > > What sort of registration call(s) are you using? > > netsnmp_register_scalar(...)
In which case, the routine handle_callState() should only be called once for each request. If you're seeing it invoked twice, then my suspicion is that the agent is receiving two requests - perhaps because the processing takes a "long" time, and the first request times out before the result is received. To check this, try running the snmpget command with the '-d' flag, to dump the raw packets in and out. If you see two outgoing requests and then the two incoming responses, then that would indicate this sort of timeout problem. Dave ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
