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

Re: Regarding snmp agent, subagent using AgentX

2012-12-30 Thread Dave Shield
On 30 December 2012 14:16, SureshCilutions S sureshsciluti...@gmail.com 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

netsnmp register char instance

2012-12-30 Thread SureshCilutions S
Hi, Is there any function for register string/char variable similar to netsnmp_register_long_instance? How to set/get the char/string variable in subAgent MIB? Thanks, Suresh -- Master Visual Studio, SharePoint, SQL,