Dear net-snmp development team,
 
    Many thanks for yours hard work, recently spot a bug and resolved, included 
for your next built:
 
    File: apps/snmptrapd.c
    Line: 514
    Function : parse_config_doNotLogTraps(const char *token, char *cptr)
 
    It should be
 
        if (netsnmp_ds_parse_boolean(cptr) == 1)
            SyslogTrap++;
 
 
    rather than
 
        if (atoi(cptr) > 0)
            SyslogTrap++;
 
 
    s.t. it matches the manpage of "doNotLogTraps yes" and really do not do any 
trap logging.
 
 
    Moreover, I spot out that if the syslog_handler() is being called, the 
processing rate of snmptrapd will be extremely slow on HP DLXXX servers (tested 
DL140G3, DL320G2, DL380G5) with Linux FC5, FC6, FC7, CentOS 5, RHEL4, and 
FreeBSD 6.2.
 
    Will try to figure out why, and hopefully email yours again with the fix 
soon.
 
Best Regards,
 
Ken Cheung.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to