Hello Friends
I have written code using net-snmp 5.4 API for subagent which will send trap
to destination using agentx support in net-snmp.
However if i configures some unresolved/unreachable host, the snmp subagent
hangs in 'send' system call.
I am using TCP commn protocol between subagent and snmpd.
On investigation, i found that tcp buffers are full. I don't know why this
is happening.
Here is the output of netstat cmd
Proto Recv-Q Send-Q Local Address Foreign Address
State PID/Program name
==========================================================================
tcp 0 0 127.0.0.1:705 0.0.0.0:*
LISTEN 5687/snmpd
tcp 73120 65536 127.0.0.1:47506 127.0.0.1:705
ESTABLISHED 5655/subagent
tcp 74904 65536 127.0.0.1:705 127.0.0.1:47506
ESTABLISHED 5687/snmpd
Regards
Bhushan. E . Sonawane
-------------------------------------------------------------------------
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-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders