I have tried doing that... This is the output I got after agentx/master initialization was done
Sending 46 bytes to 192.168.254.1 agentx/master: close 0x014200, -15 62 6C 69 63 A2 1F 02 0,.....public. agentx/master: transport disconnect on session 0x014400B .x.......0.0.. agentx/master: close 0x014400, -11 01 01 00 80 00 .....c........ agentx/master: transport disconnect on session 0x014200 agentx/master: close 0x014200, -1ct on session 0x014400 agentx/master: close 0x014400, -1 is it that by default the sub-agent will be listening on agentxsocket udp:localhost:705 ??? Sri. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Monday, December 18, 2006 3:10 PM To: Srivastava, Namburi (IE10) Cc: David Arthur; net-snmp-users@lists.sourceforge.net Subject: Re: sending traps from embedded AgentX subagent On 18/12/06, Srivastava, Namburi (IE10) <[EMAIL PROTECTED]> wrote: > How do I find to which socket does the sub-agent is trying to connect??? The easiest way is probably to turn on packet dumps in the subagent. Then you can check the header line of the dump ("Sending N bytes to {somewhere}") Try adding netsnmp_ds_set_boolean(NETSNMP_DS_LIBRARY_ID, NETSNMP_DS_LIB_DUMP_PACKET, 1); to the subagent code. 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 Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users