> /* we're an agentx subagent? */
> if (agentx_subagent) {
>    /* make us a agentx client. */
>    netsnmp_ds_set_boolean(NETSNMP_DS_APPLICATION_ID, 
> NETSNMP_DS_AGENT_ROLE, 1); }

netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID,
NETSNMP_DS_AGENT_X_SOCKET, "localhost:705");


You have to tell the subagent to go to the configured agentx port, 705
in general. This "localhost:705" must be also told the master agent at
startup, that is you have to add : -x localhost:705 in your snmpd
commandline .This parameter also works when installing the master agent
as a service.

The commandline switch is explained in README.agentx, perhaps adding a
few lines for the win32 case would help since the agentx stuff uses unix
domain sockets when not told otherwise.

Regards,
Bernhard


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to