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,
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"
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