On 18/01/07, Alfred <[EMAIL PROTECTED]> 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?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to