This is a discussion on Re: snmptrap performance within the SNMP Users forums, part of the Networking and Network Related category; On 18/01/07, Alfred <rinoa012000@yahoo.com> wrote: > I noticed the delay (around 3 secs) in ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On 18/01/07, Alfred <rinoa012000@yahoo.com> wrote:
> I noticed the delay (around 3 secs) in the embedded device when > I send traps (using snmptrap). Is this normal? Some delay is normal, as Wes and Thomas have indicated. But 3s feels a bit excessive, IMO. > Are there any methods on how to improve the > performance? (i.e. change configure options) If the trap command can work with numeric OIDs, then you could try turning off the loading of MIB files. Something like: MIBS="" snmptrap ..... or snmptrap -m "" ..... should do the trick. See if that helps. Another possibility might be to suppress the reading of config files. Unfortunately there doesn't seem to be a command-line option to do this for snmptrap (or the other client-side commands). But adding the statement: netsnmp_ds_set_boolean(NETSNMP_DS_LIBRARY_ID, NETSNMP_DS_LIB_DONT_READ_CONFIGS, 1); to the code (somewhere before the 'snmp_open()' call would do this. I've no feel for whether this would make a noticeable difference, but it's worth a try. Dave ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?p...rge&CID=DEVDEV _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users |
![]() |
| Thread Tools | |
| Display Modes | |
|
|