Re: Regarding snmp agent, subagent using AgentX

2012-12-30 Thread Dave Shield
On 30 December 2012 14:16, SureshCilutions S wrote: > I have compiled the sub agent using AgentX > Run the agent[snmpd] exe and subagent[exampled] exe separately, both are > running fine. Request the GET operation for the OID > ".1.3.6.1.4.1.8072.2.4.1.1.2.0" and received the response as "2"

Regarding snmp agent, subagent using AgentX

2012-12-30 Thread SureshCilutions S
Hi, I have compiled the sub agent using AgentX [example-demon.c, nstAgentSubagentObject.c] in Windows mode. [Got the source code from http://net-snmp.sourceforge.net/wiki/index.php/TUT:Writing_a_Subagent#Instrumenting_your_own_code_with_agentx_subagent_support]. Enabled the "master agentx" line