On 22 March 2011 10:06, sujata patra <[email protected]> wrote:
> In addition for agentx server socket we can give the sock address using > agentxsocket in xxx.conf file > > Is there any directive for the client socket ? If no then I have to set it > programatically in the client side. > netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID, > NETSNMP_DS_AGENT_X_SOCKET,"tcp:1005"); That's exactly what the "agentxsocket" directive will do. This token invokes the agentx_parse_agentx_socket() routine, which sets the NETSNMP_DS_AGENT_X_SOCKET string. That doesn't need to be done before reading the MIB files either. The normal config handling is still done before opening or connecting to the AgentX socket. Dave ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
