Re: Subagent example code timeout on Win32

Bart Van Assche <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Mon, Jul 19, 2010 at 5:16 PM, Van Dyke, Evan (ES)
<[email protected]>wrote:

>  My apologies if this has been discussed before, but I couldn’t find it in
> a quick search of the archives.
>
> I am trying to build the sub-agent example on the NetSNMP Wiki on a Win32
> system.  I am currently using the NetSNMP v5.5 binary distribution for
> Win32.
>
>
>
> After some judicious searching and debugging, I was able to determine that
> I had to add a line to the example-daemon.c file to specify where the
> subagent should contact the master agent:
>
>       netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID,
> NETSNMP_DS_AGENT_X_SOCKET, "tcp:localhost:705");
>
>
>
> After which I started getting timeouts, instead of no OID, when attempting
> to pull down the example variable:
>
> C:\My_Data\Visual Studio 2008\Projects\AuxP_App\SNMPTest>snmpget -v 2c -c
> public
>
>  localhost NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0
>
> Timeout: No Response from localhost.
> [ ... ]
>

Hello Marc,

Can you please try this again with either the latest source code of the 5.5
branch or the trunk (5.6-pre2) ? AgentX should work with both source trees
without having to modify them.

Bart.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.