RE: sending traps from embedded AgentX subagent
"Srivastava, Namburi (IE10)" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <7BADC3AE4B177E4EB91BFF3E227E6BDC54D6DF@IE10EV801.global.ds.honeywell.com> |
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; [email protected] 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 [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users