Re: snmptrap performance

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 ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-20-2007
Dave Shield
 
Posts: n/a
Default Re: snmptrap performance

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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:05 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0