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");
>

Do you have the following two lines in snmpd.conf ?

master agentx
agentxsocket tcp:localhost:705

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.