2009/8/31 Hiroshi Tsuji <[email protected]>:
> I looked at the source code and apparently the program stops at line #722 in
> snmptrapd_log.c for about 5 seconds
> "tstr = transport->f_fmtaddr(transport,
>     pdu->transport_data,pdu->transport_data_length)"

That will probably end up calling "gethostbyaddr()"  or similar,  to
try and convert the numeric address into a more meaningful name.

What happens if you run "nslookup" or "dig" or similar on this address.
How long does it take to come back with an answer?


> Am I missing something in configuration files or is it a bug
> which needs to be fixed.

It sounds more like a problem with the DNS records for the host
in question.   If this DNS lookup is failing, but takes a while to do
so, then you may indeed see a short delay at this point.

The only way to avoid this would be to suppress the name lookup
(as you are doing with the '-n' flag).


Dave

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to