2009/7/8 XIANG Lei <lei.xi...@alcatel-sbell.com.cn>: >> How did you configure AgentX?
> my configuration: > 1. for snmpd > AgentXSocket unix:/var/snmpdagentx > master agentx And does the master agent create this socket when you run it? Because if it doesn't, then there's no point in trying to start the subagent! > 2. for subagent > I configure it in the code: > 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, > "unix:/var/snmpdagentx"); That's not really very meaningful - given you haven't said anything about the context of where these lines come. For example, if you've put these lines _after_ the point where the subagent tries to connect to the master agent, then it wouldn't do much good! Now that may not be the problem - but I've no idea, because you haven't supplied enough information to be meaningful. Dave ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users