Re: Slow scalar handler and multiple requests

2012-11-05 Thread Giuseppe Modugno
Il 05/11/2012 16:13, Giuseppe Modugno ha scritto: I have written a scalar handler that takes up to 500ms to return. It works for single GET requests. It is the same function for several OIDs. If I send multiple GET requests (one request with 2 OIDs), it sometimes doesn't work. To understand what

Increase the maxMsgSize for SNMP message

2012-11-05 Thread Zheng, Wenjie (Barclay)
Dear All, Do you know what's the max_msg_size in net-snmp? >From the code: net-snmp/library/snmp_api.h:340:#defineSNMP_MAX_MSG_SIZE .SNMP_MAX_MSG_SIZE=1497. But from my test, I found it can be larger in SNMP response message, by increase the max-repetition, the SNMP message got increase

Slow scalar handler and multiple requests

2012-11-05 Thread Giuseppe Modugno
I have written a scalar handler that takes up to 500ms to return. It works for single GET requests. It is the same function for several OIDs. If I send multiple GET requests (one request with 2 OIDs), it sometimes doesn't work. To understand what could be the problem, I want to know if the hand

Re: snmpd code introduction using an example

2012-11-05 Thread diffuser78
I found this wiki and read through it and the surrounding wikis. I am wondering if there exists some info that walks you through the code at a higher level, i.e. take a snmp get request and follows end to end the workflow and thru each handler function that is invoked on the path ? I am trying to

snmpd

2012-11-05 Thread [email protected]
I installed snmpd 5.4.2.1-5 on openwrt,but how can I config the snmp v3 and trap. Can you provide a simple configuration file(/etc/config/snmpd.conf). --- Confidentiality Notice: The information contain